/* Hide spin-buttons for input type=number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

/*!
 * Start Bootstrap - Agency v1.1.1 (http://startbootstrap.com/template-overviews/agency)

 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */
body {
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif
}

.text-muted {
    color: #a1a5a6
}

.text-primary {
    color: #d3ae67
}

p {
    font-size: 14px;
    line-height: 1.75
}

p.large {
    font-size: 16px
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: none
}

a {
    color: #003f63
}

a:hover,
a:focus,
a:active,
a.active {
    color: #d26d2d
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 20px;
    color: #353d40;
}

.img-centered {
    margin: 0 auto
}

.bg-light-gray {
    background-color: #d9d9d9
}

.bg-darkest-gray {
    background-color: #353d40
}

.btn-primary {
    color: white;
    background-color: #d3ae67;
    border-color: #d3ae67;
    border-radius: 30px;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 300
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    color: white;
    background-color: #d3ae67;
    border-color: #d3ae67
}

.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-image: none
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    background-color: #d3ae67;
    border-color: #d3ae67
}

.btn-primary .badge {
    color: #d3ae67;
    background-color: white
}

.btn-xl {
    color: white;
    background-color: #d3ae67;
    border-color: #d3ae67;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    border-radius: 50px;
    font-size: 16px;
    padding: 15px 30px
}

.btn-xl:hover,
.btn-xl:focus,
.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    color: white;
    background-color: #d3ae67;
    border-color: #d3ae67;
}

.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    background-image: none
}

.btn-xl.disabled,
.btn-xl[disabled],
fieldset[disabled] .btn-xl,
.btn-xl.disabled:hover,
.btn-xl[disabled]:hover,
fieldset[disabled] .btn-xl:hover,
.btn-xl.disabled:focus,
.btn-xl[disabled]:focus,
fieldset[disabled] .btn-xl:focus,
.btn-xl.disabled:active,
.btn-xl[disabled]:active,
fieldset[disabled] .btn-xl:active,
.btn-xl.disabled.active,
.btn-xl[disabled].active,
fieldset[disabled] .btn-xl.active {
    background-color: #d3ae67;
    border-color: #d3ae67
}

.btn-xl .badge {
    color: #d3ae67;
    background-color: white
}

.navbar-custom {
    background-color: #222;
    border-color: transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar-custom .navbar-brand {
    color: #d3ae67;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus,
.navbar-custom .navbar-brand:active,
.navbar-custom .navbar-brand.active {
    color: #d3ae67
}

.navbar-custom .navbar-collapse {
    border-color: rgba(255, 255, 255, 0.02)
}

.navbar-custom .navbar-toggle {
    background-color: #d3ae67;
    border-color: #d3ae67;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    color: white;
    font-size: 12px
}

.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
    background-color: #d3ae67;
}

.navbar-custom .nav li a {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: white;
    font-size: 16px;
    transition: color 0.3s ease;
}

.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus {
    color: #d3ae67;
    outline: none
}

.navbar-custom .navbar-nav>.active>a {
    border-radius: 0;
    color: white;
    background-color: #d3ae67
}

.navbar-custom .navbar-nav>.active>a:hover,
.navbar-custom .navbar-nav>.active>a:focus {
    color: white;
    background-color: #d3ae67
}

@media (min-width: 768px) {
    .navbar-custom {
        background-color: rgba(70, 70, 70, 0.95);
        padding: 15px 0;
        border: none;
    }

    .navbar-custom .navbar-brand {
        font-size: 2em;
    }

    .navbar-custom .navbar-nav>.active>a {
        border-radius: 3px
    }

    /* Scrolled State */
    .navbar-custom.navbar-scrolled {
        background-color: rgba(34, 34, 34, 0.95);
        padding: 10px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .navbar-custom.navbar-scrolled .navbar-brand {
        font-size: 1.5em;
    }
}

header {
    background-image: url('../img/lines.png'), url('../img/w_bg.png');
    background-repeat: no-repeat, no-repeat;
    background-attachment: scroll, scroll;
    background-position: left 50px, right 5% bottom 10px;
    background-size: 30% auto, auto 70%;
    text-align: left;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    background-color: #d9d9d9;
    transition: background-position 0.5s ease;
}

header.header-scrolled {
    background-position: -9999px 0, right 5% bottom 10px;
}

@media (min-width: 768px) {
    header {
        background-size: 30% auto, auto 80%;
        background-position: left 80px, right 5% bottom 10px;
    }
}

header .intro-text {
    padding-top: 100px;
    padding-bottom: 50px
}

header .intro-text .intro-lead-in {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 22px;
    margin-bottom: 25px;
    width: 60%;
    margin-left: 0;
}

header .intro-text .intro-heading {
    font-family: 'Roboto', sans-serif;
    ;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 50px;
    line-height: 50px;
    margin-bottom: 25px
}

@media (min-width: 768px) {
    header .intro-text {
        padding-top: 300px;
        padding-bottom: 200px
    }

    header .intro-text .intro-lead-in {
        font-family: 'Roboto', sans-serif;
        font-size: 40px;
        line-height: 40px;
        margin-bottom: 25px;
        max-width: 50%;
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }

    header .intro-text .intro-heading {
        font-family: 'Roboto', sans-serif;
        text-transform: uppercase;
        font-weight: 400;
        font-size: 64px;
        line-height: 75px;
        margin-bottom: 50px
    }
}

section {
    padding: 100px 0
}

section h2.section-heading {
    font-size: 40px;
    margin-top: 0;
    margin-bottom: 15px;
}

section h3.section-subheading {
    font-size: 17px;
    font-family: 'Roboto', sans-serif;
    text-transform: none;
    font-weight: 300;
    color: #6f7c82;
    line-height: 1.5;
    margin-bottom: 75px
}

@media (min-width: 768px) {
    section {
        padding: 150px 0
    }
}

.service-heading {
    margin: 15px 0;
    text-transform: none
}

#portfolio .portfolio-item {
    margin: 0 0 15px;
    right: 0
}

#portfolio .portfolio-item .portfolio-link {
    display: block;
    position: relative;
    max-width: 400px;
    margin: 0 auto
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
    background: rgba(254, 209, 54, 0.9);
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all ease 0.5s;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
    opacity: 1
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
    position: absolute;
    width: 100%;
    height: 20px;
    font-size: 20px;
    text-align: center;
    top: 50%;
    margin-top: -12px;
    color: white
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
    margin-top: -12px
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
    margin: 0
}

#portfolio .portfolio-item .portfolio-caption {
    max-width: 400px;
    margin: 0 auto;
    background-color: white;
    text-align: center;
    padding: 25px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
}

#portfolio .portfolio-item .portfolio-caption h4 {
    text-transform: none;
    margin: 0
}

#portfolio .portfolio-item .portfolio-caption p {
    font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: italic;
    font-size: 16px;
    margin: 0
}

#portfolio * {
    z-index: 2
}

@media (min-width: 767px) {
    #portfolio .portfolio-item {
        margin: 0 0 30px
    }
}

.timeline {
    list-style: none;
    padding: 0;
    position: relative
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: "";
    width: 2px;
    background-color: #f1f1f1;
    left: 40px;
    margin-left: -1.5px
}

.timeline>li {
    margin-bottom: 50px;
    position: relative;
    min-height: 50px
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table
}

.timeline>li:after {
    clear: both
}

.timeline>li .timeline-panel {
    width: 100%;
    float: right;
    padding: 0 20px 0 100px;
    position: relative;
    text-align: left
}

.timeline>li .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto
}

.timeline>li .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto
}

.timeline>li .timeline-image {
    left: 0;
    margin-left: 0;
    width: 80px;
    height: 80px;
    position: absolute;
    z-index: 100;
    background-color: #d3ae67;
    color: white;
    border-radius: 100%;
    border: 7px solid #f1f1f1;
    text-align: center
}

.timeline>li .timeline-image h4 {
    font-size: 10px;
    margin-top: 12px;
    line-height: 14px
}

.timeline>li.timeline-inverted>.timeline-panel {
    float: right;
    text-align: left;
    padding: 0 20px 0 100px
}

.timeline>li.timeline-inverted>.timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto
}

.timeline>li:last-child {
    margin-bottom: 0
}

.timeline .timeline-heading h4 {
    margin-top: 0;
    color: inherit
}

.timeline .timeline-heading h4.subheading {
    text-transform: none
}

.timeline .timeline-body>p,
.timeline .timeline-body>ul {
    margin-bottom: 0
}

@media (min-width: 768px) {
    .timeline:before {
        left: 50%
    }

    .timeline>li {
        margin-bottom: 100px;
        min-height: 100px
    }

    .timeline>li .timeline-panel {
        width: 41%;
        float: left;
        padding: 0 20px 20px 30px;
        text-align: right
    }

    .timeline>li .timeline-image {
        width: 100px;
        height: 100px;
        left: 50%;
        margin-left: -50px
    }

    .timeline>li .timeline-image h4 {
        font-size: 13px;
        margin-top: 16px;
        line-height: 18px
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        float: right;
        text-align: left;
        padding: 0 30px 20px 20px
    }
}

@media (min-width: 992px) {
    .timeline>li {
        min-height: 150px
    }

    .timeline>li .timeline-panel {
        padding: 0 20px 20px
    }

    .timeline>li .timeline-image {
        width: 150px;
        height: 150px;
        margin-left: -75px
    }

    .timeline>li .timeline-image h4 {
        font-size: 18px;
        margin-top: 30px;
        line-height: 26px
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        padding: 0 20px 20px
    }
}

@media (min-width: 1200px) {
    .timeline>li {
        min-height: 170px
    }

    .timeline>li .timeline-panel {
        padding: 0 20px 20px 100px
    }

    .timeline>li .timeline-image {
        width: 170px;
        height: 170px;
        margin-left: -85px
    }

    .timeline>li .timeline-image h4 {
        margin-top: 40px
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        padding: 0 100px 20px 20px
    }
}

.team-member {
    text-align: center;
    margin-bottom: 50px
}

.team-member img {
    margin: 0 auto;
    border: 7px solid white
}

.team-member h4 {
    margin-top: 25px;
    margin-bottom: 0;
    text-transform: none
}

.team-member p {
    margin-top: 0
}

aside.clients img {
    margin: 50px auto
}

section#contact .section-heading {
    color: #353d40
}

section#contact .form-group {
    margin-bottom: 25px
}

section#contact .form-group input,
section#contact .form-group textarea {
    padding: 20px
}

section#contact .form-group input.form-control {
    height: auto
}

section#contact .form-group textarea.form-control {
    height: 236px
}

section#contact .form-control:focus {
    border-color: #d3ae67;
    box-shadow: none
}

section#contact::-webkit-input-placeholder {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: #eeeeee
}

section#contact:-moz-placeholder {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: #eeeeee
}

section#contact::-moz-placeholder {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: #eeeeee
}

section#contact:-ms-input-placeholder {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: #eeeeee
}

section#contact .text-danger {
    color: #e74c3c
}

footer {
    padding: 25px 0;
    text-align: center
}

footer span.copyright {
    line-height: 40px;
    font-family: 'Roboto', sans-serif;
    color: #8c8f94;
    text-transform: uppercase;
    text-transform: none
}

footer ul.quicklinks {
    margin-bottom: 0;
    line-height: 40px;
    font-family: 'Roboto', sans-serif;
    ;
    text-transform: uppercase;
    text-transform: none
}

ul.social-buttons {
    margin-bottom: 0
}

ul.social-buttons li a {
    display: block;
    background-color: #353d40;
    height: 40px;
    width: 40px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 40px;
    color: white;
    outline: none;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s
}

ul.social-buttons li a:hover,
ul.social-buttons li a:focus,
ul.social-buttons li a:active {
    background-color: #d3ae67
}

.btn:focus,
.btn:active,
.btn.active,
.btn:active:focus {
    outline: none
}

footer ul {
    list-style-type: none;
}

.portfolio-modal .modal-dialog {
    margin: 0;
    height: 100%;
    width: auto
}

.portfolio-modal .modal-content {
    border-radius: 0;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    min-height: 100%;
    padding: 100px 0;
    text-align: center
}

.portfolio-modal .modal-content h2 {
    margin-bottom: 15px;
    font-size: 3em
}

.portfolio-modal .modal-content p {
    margin-bottom: 30px
}

.portfolio-modal .modal-content p.item-intro {
    margin: 20px 0 30px;
    font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: italic;
    font-size: 16px
}

.portfolio-modal .modal-content ul.list-inline {
    margin-bottom: 30px;
    margin-top: 0
}

.portfolio-modal .close-modal {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: transparent;
    top: 15px;
    right: 15px;
    cursor: pointer
}

.portfolio-modal .close-modal:hover {
    opacity: 1
}

.portfolio-modal .close-modal:hover .lr,
.portfolio-modal .close-modal:hover .rl {
    background-color: #d3ae67;
}

.portfolio-modal .close-modal .lr {
    height: 50px;
    width: 3px;
    margin-left: 23px;
    background-color: #353d40;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    z-index: 1051
}

.portfolio-modal .close-modal .lr .rl {
    height: 50px;
    width: 3px;
    background-color: #353d40;
    transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    z-index: 1052
}

.portfolio-modal .modal-backdrop {
    opacity: 0;
    display: none
}

::-moz-selection {
    text-shadow: none;
    background: #d3ae67
}

::selection {
    text-shadow: none;
    background: #d3ae67
}

img::selection {
    background: transparent
}

img::-moz-selection {
    background: transparent
}

body {
    webkit-tap-highlight-color: #d3ae67
}

.p-about {
    font-size: 18px !important;
    font-weight: 300;
    color: #000;
}

.span-about {
    font-size: 16px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.6);
}

.footer-text {
    font-size: 15px;
    font-weight: 400;
    color: #414446;
}

.top-margin-md {
    margin-top: 40px !important;
}

.top-margin-lg {
    margin-top: 60px !important;
}

.before-header {
    font-size: 24px;
    font-weight: 200;
}

.bottom-margin-sm {
    margin-bottom: 20px !important
}

/* Estilos para o carrossel e miniaturas */
.carousel-inner .item img {
    width: 100%;
    height: auto;
}

.thumbnails-row {
    text-align: center;
}

.thumbnails-row .thumbnail {
    display: inline-block;
    margin-bottom: 0;
    padding: 3px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.thumbnails-row .thumbnail.active,
.thumbnails-row .thumbnail:hover {
    border-color: #337ab7;
}

.thumbnails-row .thumbnail img {
    border-radius: 2px;
}

/* Remove o sublinhado dos links das miniaturas */
.thumbnails-row .thumbnail {
    text-decoration: none;
}

/* Ajusta o tamanho das miniaturas em telas menores */
@media (max-width: 768px) {
    .thumbnails-row .thumbnail img {
        height: 60px;
    }
}

.list-unstyled-modal {
    list-style: none;
    text-align: left;
}

/* Custom Project Carousel Styles */
.project-carousel-custom {
    max-width: 500px;
    margin: 0 auto 30px;
    /* Centered with bottom margin */
}

.project-carousel-custom .carousel-inner {
    overflow: hidden;
}

.project-carousel-custom .item {
    height: 400px;
}

.project-carousel-custom .item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.thumbnails-row-custom {
    max-width: 500px;
    margin: 15px auto 0;
}

/* Flexbox helpers for equal height modal columns */
.row-flex-equal {
    display: flex;
    flex-wrap: wrap;
}

.col-flex-split {
    display: flex;
    flex-direction: column;
}

/* ================================
   IC Cards (Portfolio Grid)
   ================================ */
.ic-card {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    outline: none;
}

.ic-card:hover,
.ic-card:focus {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.ic-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
}

.ic-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.ic-card:hover .ic-card-img {
    transform: scale(1.06);
}

.ic-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(211, 174, 103, 0.88);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 8px;
}

.ic-card:hover .ic-card-overlay {
    opacity: 1;
}

.ic-card-overlay-icon {
    font-size: 30px;
    color: white;
}

.ic-card-overlay-text {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: white;
}

.ic-card-body {
    padding: 20px 20px 22px;
    text-align: center;
    background: #fff;
}

.ic-card-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #353d40 !important;
    margin: 0 0 14px !important;
    text-transform: none !important;
    line-height: 1.3 !important;
}

.ic-btn-buy {
    display: inline-block;
    font-size: 13px !important;
    padding: 9px 22px !important;
    background-color: #27ae60 !important;
    border-color: #27ae60 !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
    text-decoration: none !important;
}

.ic-btn-buy:hover {
    background-color: #219a52 !important;
    border-color: #219a52 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(39, 174, 96, 0.35) !important;
}

/* ================================
   IC Modal (Product Detail)
   ================================ */
.ic-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 15, 15, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ic-modal-backdrop.ic-modal-open {
    opacity: 1;
}

.ic-modal-backdrop.ic-modal-closing {
    opacity: 0;
}

.ic-modal-backdrop.ic-modal-open .ic-modal-panel {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.ic-modal-backdrop.ic-modal-closing .ic-modal-panel {
    transform: scale(0.95) translateY(16px);
    opacity: 0;
}

.ic-modal-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 1020px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transform: scale(0.95) translateY(16px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.3s ease;
}

.ic-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(53, 61, 64, 0.12);
    color: #353d40;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.ic-modal-close:hover {
    background: #353d40;
    color: white;
    transform: rotate(90deg);
}

.ic-modal-body {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* Gallery side */
.ic-modal-gallery {
    width: 50%;
    flex-shrink: 0;
    background: #111;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ic-gallery-main {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
}

.ic-gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    animation: ic-img-fade 0.22s ease;
}

@keyframes ic-img-fade {
    from {
        opacity: 0.4;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ic-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: white;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
}

.ic-gallery-nav:hover {
    background: rgba(211, 174, 103, 0.85);
}

.ic-gallery-prev {
    left: 10px;
}

.ic-gallery-next {
    right: 10px;
}

.ic-gallery-thumbs {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
    background: #0d0d0d;
    overflow-x: auto;
    flex-shrink: 0;
}

.ic-gallery-thumb {
    flex-shrink: 0;
    width: 62px;
    height: 46px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: none;
    cursor: pointer;
    opacity: 0.55;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.ic-gallery-thumb.active,
.ic-gallery-thumb:hover {
    border-color: #d3ae67;
    opacity: 1;
}

.ic-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info side */
.ic-modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.ic-modal-info-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 34px 30px 16px;
}

.ic-modal-tag {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    color: #d3ae67 !important;
    margin: 0 0 6px !important;
}

.ic-modal-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.2 !important;
    margin: 0 0 14px !important;
    text-transform: none !important;
}

.ic-modal-intro {
    font-size: 14px !important;
    color: #666 !important;
    font-style: italic;
    margin-bottom: 18px !important;
    line-height: 1.65 !important;
    border-left: 3px solid #d3ae67;
    padding-left: 12px;
}

.ic-modal-section {
    margin-bottom: 18px;
    border-top: 1px solid #ebebeb;
    padding-top: 14px;
}

.ic-modal-section-title {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #999 !important;
    margin: 0 0 10px !important;
}

.ic-modal-text {
    font-size: 14px !important;
    color: #444 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

.ic-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ic-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 7px 0;
    border-bottom: 1px solid #f4f4f4;
    font-size: 13px;
    gap: 10px;
}

.ic-spec-item:last-child {
    border-bottom: none;
}

.ic-spec-label {
    font-weight: 600;
    color: #353d40;
    flex-shrink: 0;
}

.ic-spec-value {
    color: #555;
    text-align: right;
}

.ic-box-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ic-box-list li {
    font-size: 13px;
    color: #444;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.ic-box-list li .fa-check-circle {
    color: #27ae60;
    font-size: 14px;
    flex-shrink: 0;
}

/* CTA sticky footer */
.ic-modal-cta {
    padding: 14px 28px;
    border-top: 1px solid #ebebeb;
    background: #fff;
    flex-shrink: 0;
}

.ic-btn-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #d3ae67 0%, #c49a45 100%);
    color: white !important;
    border: none;
    border-radius: 10px;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 13px 20px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(211, 174, 103, 0.4);
}

.ic-btn-cta:hover {
    background: linear-gradient(135deg, #c49a45 0%, #a87e30 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(211, 174, 103, 0.55);
    text-decoration: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .ic-modal-body {
        flex-direction: column;
    }

    .ic-modal-gallery {
        width: 100%;
        height: 240px;
        flex-shrink: 0;
    }

    .ic-modal-info-scroll {
        padding: 18px 18px 12px;
    }

    .ic-modal-cta {
        padding: 12px 18px;
    }

    .ic-modal-panel {
        max-height: 95vh;
        border-radius: 12px;
    }

    .ic-modal-title {
        font-size: 20px !important;
    }

    .ic-modal-backdrop {
        padding: 10px;
    }
}