:root {
    --bg-color: #F8F4F0;
    --primary-color: #1A5964;
    --accent-color: #F89B28;
    --text-color: #55757A;
    --font-main: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-script: 'Dancing Script', cursive;
    --header-height: 96px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--primary-color);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    padding-top: var(--header-height);
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: visible;
    position: relative;
}

.wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Fixed Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background: rgba(248, 244, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(174, 196, 199, 0.32);
    box-shadow: 0 4px 20px rgba(26, 89, 100, 0.04);
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
    background: rgba(248, 244, 240, 0.98);
    border-bottom-color: rgba(174, 196, 199, 0.55);
    box-shadow: 0 4px 24px rgba(26, 89, 100, 0.08);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
    z-index: 1001;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 66px;
    display: block;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav {
    margin-left: 40px;
    margin-right: auto;
}

.nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 15px;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--accent-color);
}

.header-icons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.header-icons .icon {
    color: var(--accent-color);
    font-size: 20px;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s, color 0.2s;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.header-icons .icon:hover {
    transform: scale(1.1);
}

.header-icons .icon:focus,
.header-icons .icon:focus-visible,
.header-icons .icon:active,
button#headerSearchToggleBtn:focus,
button#headerSearchToggleBtn:focus-visible,
button#headerSearchToggleBtn:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.cart-icon .badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--primary-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

@media screen and (min-width: 992px) {
    .mobile-only-link,
    .mobile-nav-footer {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0 100px 0;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-title {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: 500;
    max-width: 400px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 45px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #13444D;
}

.btn-primary i {
    margin-left: 8px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid #AEC4C7;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background-color: rgba(26, 89, 100, 0.05);
}

.hero-location {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.hero-location i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 16px;
}

.hero-location a {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 700;
    transition: opacity 0.3s;
    margin-left: 4px;
}

.hero-location a:hover {
    opacity: 0.8;
}

.hero-image {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 100%;
    max-width: 750px;
    height: auto;
    object-fit: contain;
}

/* Find Your Phone Section */
.find-phone {
    text-align: center;
    padding: 60px 0 40px;
}

.find-phone h2, .personalize h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 35px;
}

.phone-options {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.phone-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 200px;
    padding: 15px 20px;
    background-color: transparent;
    border: 1px solid #AEC4C7;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
}

.phone-btn i {
    color: #AEC4C7;
    font-size: 14px;
}

.phone-btn.active {
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.phone-btn.active i {
    color: var(--primary-color);
}

.phone-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Personalize Section */
.personalize {
    text-align: center;
    padding: 40px 0 80px;
}

.steps-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.step-number {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 25px;
}

.step-icon {
    height: 55px;
    margin-bottom: 25px;
    object-fit: contain;
}

.step-title {
    color: var(--primary-color);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-text {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
}

/* Swiper Sections Common */
.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-color);
    margin-top: -20px;
    margin-bottom: 25px;
}

/* Designs Section */
.designs-section {
    padding: 60px 0;
    background-color: white;
}

.design-card {
    background: transparent;
}

.design-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.design-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.design-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-customise {
    padding: 8px 18px;
    border: 1px solid #AEC4C7;
    border-radius: 4px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-customise:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Collections Section */
.collections-section {
    padding: 60px 0 100px;
}

.collections-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.view-all-link {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 25px;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.filter-buttons {
    display: flex;
    gap: 12px;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #AEC4C7;
    border-radius: 4px;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-dropdown select {
    padding: 10px 20px;
    border: 1px solid #AEC4C7;
    border-radius: 4px;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 14px;
    outline: none;
    background: transparent;
    cursor: pointer;
    appearance: none;
    padding-right: 40px;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2355757A%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px auto;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.product-image-wrap {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 380px;
}

.product-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fav-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--accent-color);
    font-size: 20px;
    cursor: pointer;
}

.product-title {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.btn-select-model {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid #AEC4C7;
    border-radius: 4px;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-select-model:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.collections-navigation,
.swiper-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    position: relative;
    z-index: 10;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #8BA7AD;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #5B7B82;
    font-size: 13px;
    background-color: transparent;
    transition: all 0.2s ease;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Closer Look Section */
.closer-look-section {
    padding: 60px 0;
}

.closer-look-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.closer-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 220px;
    background-color: #EFEFEF;
}

.closer-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.closer-label {
    position: absolute;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

.closer-label.top-left {
    top: 20px;
    left: 20px;
}

.closer-label.bottom-right {
    bottom: 20px;
    right: 20px;
}

/* Inspiration Section */
.inspiration-section {
    padding: 50px 0 60px;
}

.inspiration-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.inspiration-header .section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.view-all-link.insta-link {
    color: #D9822B;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s;
}

.view-all-link.insta-link:hover {
    color: var(--primary-color);
}

.inspiration-swiper {
    position: relative;
    width: 100%;
}

.insp-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    background-color: #EFEFEF;
    position: relative;
}

.insp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-sizing: border-box;
}

/* Active Card Blue Outline Highlight matching reference image */
/* .inspiration-swiper .swiper-slide-active .insp-card img {
    outline: 3px solid #0099FF;
    outline-offset: -3px;
}

/* Bottom Right Circular Navigation Controls Below Cards */
.insp-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.swiper-button-prev-insp,
.swiper-button-next-insp {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #8BA7AD;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #5B7B82;
    font-size: 12px;
    background-color: transparent;
    transition: all 0.2s ease;
}

.swiper-button-prev-insp:hover,
.swiper-button-next-insp:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    background-color: white;
    padding: 80px 0 100px;
    width: 100%;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.faq-list {
    margin-top: 40px;
    border-top: 1px solid #AEC4C7;
}

.faq-item {
    border-bottom: 1px solid #AEC4C7;
}

.faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    background: transparent;
    border: none;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content p {
    padding-bottom: 25px;
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.5;
}

.faq-item.active .faq-content {
    max-height: 150px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Location CTA Section */
.location-cta-section {
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.location-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.location-cta-image {
    width: 350px;
}

.location-cta-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.location-cta-text {
    background-color: white;
    border: 1px solid #AEC4C7;
    border-radius: 8px;
    padding: 50px 40px;
    max-width: 480px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.location-cta-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.location-cta-text p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Newsletter Section */
.newsletter-section {
    padding: 40px 0 80px;
    display: flex;
    justify-content: center;
}

.newsletter-box {
    background-color: transparent;
    border: 1px solid #AEC4C7;
    border-radius: 8px;
    padding: 30px 40px;
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.newsletter-box h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.newsletter-form {
    display: flex;
    align-items: center;
    border: 1px solid #AEC4C7;
    border-radius: 4px;
    overflow: hidden;
    background: white;
}

.newsletter-form input {
    border: none;
    padding: 12px 20px;
    font-family: var(--font-main);
    font-size: 14px;
    outline: none;
    width: 250px;
    color: var(--text-color);
}

.newsletter-form button {
    border: none;
    border-radius: 0;
    padding: 12px 24px;
    margin: 3px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

/* Footer Section */
.footer {
    background-color: var(--primary-color);
    padding: 60px 0 20px;
    color: white;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 25px;
    /* Optional: invert logo colors if needed, but the original image shows it fine */
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--primary-color);
    background-color: white;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--accent-color);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-col.map-col {
    min-width: 270px;
    max-width: 320px;
}

.location-single-map-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.brisbane-locations-map {
    width: 100%;
    height: 165px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    background: #E5E3DF;
    position: relative;
    z-index: 1;
}

/* Custom Google Map Pin */
.custom-google-pin {
    background: transparent !important;
    border: none !important;
}

.pin-marker-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.4));
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.pin-marker-wrap:hover {
    transform: scale(1.2) translateY(-3px);
}

.pin-label {
    position: absolute;
    top: -20px;
    background: rgba(26, 89, 100, 0.92);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    pointer-events: none;
}

/* Map Location Chips */
.map-location-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.map-chip {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #E2ECEE;
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-main);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.map-chip i {
    font-size: 10px;
    color: #EA4335;
}

.map-chip:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.4);
}

.map-chip.active {
    background: #FFFFFF;
    color: var(--primary-color);
    border-color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.map-chip.active i {
    color: #EA4335;
}

/* Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
    background: #FFFFFF !important;
    border-radius: 10px !important;
    padding: 2px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
}

.leaflet-popup-content {
    margin: 10px 12px !important;
    line-height: 1.3 !important;
}

.leaflet-popup-tip {
    background: #FFFFFF !important;
}

.map-popup-card {
    font-family: var(--font-main);
}

.map-popup-card h5 {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 3px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.map-popup-card h5 i {
    color: #EA4335;
    font-size: 11px;
}

.map-popup-card p {
    font-size: 11px;
    color: var(--text-color);
    margin: 0 0 7px 0;
    line-height: 1.3;
}

.map-popup-card a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s;
}

.map-popup-card a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.map-col iframe {
    border-radius: 8px;
    width: 220px;
    max-width: 100%;
    display: block;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #AEC4C7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #AEC4C7;
    font-size: 12px;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (TABLET & MOBILE VIEWS)
   ========================================================================== */

/* Tablet & Smaller Screens (max-width: 991px) */
@media screen and (max-width: 991px) {
    :root {
        --header-height: 80px;
    }

    .wrapper {
        padding: 0 24px;
    }

    /* Header & Mobile Navigation */
    .header {
        position: relative;
        padding: 14px 0;
        z-index: 1001;
    }

    .logo img {
        height: 52px;
    }

    .mobile-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        border: 1.5px solid #AEC4C7;
        font-size: 18px;
        color: var(--primary-color);
        background-color: white;
        transition: all 0.25s ease;
        position: relative;
        z-index: 100000;
    }

    .mobile-toggle-btn:hover {
        border-color: var(--primary-color);
        background-color: #F0F6F7;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 10px 0 0 0;
        background: #ffffff !important;
        background-color: #ffffff !important;
        border-radius: 14px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1), padding 0.35s ease, opacity 0.25s ease, border-color 0.35s ease;
        z-index: 99999;
        border: 1px solid #DDE8EA;
        opacity: 0;
        pointer-events: none;
    }

    .nav.active {
        max-height: 520px;
        padding: 16px 20px 20px;
        border-color: #DDE8EA;
        background: #ffffff !important;
        background-color: #ffffff !important;
        opacity: 1;
        pointer-events: auto;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .nav ul li {
        border-bottom: 1px solid #EEF3F4;
    }

    .nav ul li:last-child {
        border-bottom: none;
    }

    .nav ul li a {
        display: flex;
        align-items: center;
        padding: 13px 8px;
        font-size: 15px;
        font-weight: 600;
        color: var(--primary-color);
        text-decoration: none;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .nav ul li a:hover,
    .nav ul li a:active {
        color: var(--accent-color);
        padding-left: 12px;
    }

    .mobile-only-link {
        display: block !important;
    }

    .mobile-only-link a i {
        margin-right: 10px;
        color: var(--accent-color);
        font-size: 16px;
        width: 20px;
        text-align: center;
    }

    .nav .mobile-nav-footer {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid #EEF3F4;
        width: 100%;
        box-sizing: border-box;
    }

    .nav .mobile-nav-action {
        flex: 1;
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px !important;
        background-color: #F8F4F0;
        border: 1px solid #DDE8EA;
        border-radius: 8px;
        text-decoration: none;
        color: var(--primary-color) !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        transition: all 0.25s ease;
        box-sizing: border-box;
    }

    .nav .mobile-nav-action:hover,
    .nav .mobile-nav-action:active {
        background-color: var(--primary-color);
        color: #ffffff !important;
        border-color: var(--primary-color);
    }

    .nav .mobile-nav-action:hover i,
    .nav .mobile-nav-action:active i {
        color: #ffffff !important;
    }

    .nav .mobile-nav-action i {
        color: var(--accent-color);
        font-size: 17px;
        transition: color 0.25s ease;
    }

    .nav .mobile-nav-action .icon-wrap {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav .mobile-nav-action .badge {
        position: absolute;
        top: -7px;
        right: -10px;
        background-color: var(--primary-color);
        color: white;
        font-size: 10px;
        font-weight: 700;
        width: 17px;
        height: 17px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid white;
        transition: background-color 0.25s ease;
    }

    .nav .mobile-nav-action:hover .badge,
    .nav .mobile-nav-action:active .badge {
        background-color: var(--accent-color);
    }

    .header-icons {
        gap: 16px;
    }

    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 0 50px 0;
        gap: 25px;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 38px;
        line-height: 1.15;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        font-size: 15px;
        max-width: 520px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 25px;
    }

    .hero-location {
        justify-content: center;
    }

    .hero-image {
        justify-content: center;
        width: 100%;
    }

    .hero-image img {
        max-width: 440px;
        width: 100%;
    }

    /* Find Phone Section */
    .find-phone {
        padding: 40px 0 30px;
    }

    .phone-options {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .phone-btn {
        width: 180px;
    }

    /* Personalize Section */
    .personalize {
        padding: 30px 0 60px;
    }

    .steps-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .step-card {
        width: calc(50% - 15px);
        min-width: 240px;
    }

    /* Closer Look Grid */
    .closer-look-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Location CTA */
    .location-cta-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .location-cta-image {
        width: 100%;
        max-width: 280px;
    }

    .location-cta-text {
        max-width: 100%;
        padding: 35px 25px;
    }

    /* Newsletter Box */
    .newsletter-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 25px;
    }

    /* Footer Grid */
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        row-gap: 35px;
    }

    .footer-col.logo-col {
        grid-column: span 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col.map-col {
        grid-column: span 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col.map-col iframe {
        width: 100%;
        max-width: 320px;
    }
}

/* Mobile Screens (max-width: 768px) */
@media screen and (max-width: 768px) {
    :root {
        --header-height: 68px;
    }

    .wrapper {
        padding: 0 16px;
    }

    /* Header */
    .header {
        padding: 11px 0;
    }

    .logo img {
        height: 44px;
    }

    .header-icons {
        gap: 16px;
    }

    /* Hide duplicate Wishlist and Cart from top header on mobile since they are in the bottom bar */
    .header-icons .header-wishlist,
    .header-icons .header-cart {
        display: none !important;
    }

    .header-icons .icon {
        font-size: 19px;
    }

    .mobile-toggle-btn {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    /* Hero Section */
    .hero {
        padding: 20px 0 35px 0;
        gap: 20px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 10px;
        margin-bottom: 20px;
    }

    .btn {
        width: 100%;
        padding: 13px 20px;
        font-size: 14px;
    }

    .hero-location {
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
        flex-wrap: wrap;
        gap: 4px;
    }

    .hero-image img {
        max-width: 280px;
    }

    /* Find Phone Section */
    .find-phone {
        padding: 30px 0 20px;
    }

    .find-phone h2,
    .personalize h2,
    .section-title {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .phone-options {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        gap: 10px;
    }

    .phone-btn {
        width: 100%;
        padding: 14px 18px;
        font-size: 14px;
        border-radius: 10px;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    }

    /* Personalize Section */
    .personalize {
        padding: 20px 0 45px;
    }

    .steps-grid {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        gap: 14px;
    }

    .step-card {
        width: 100%;
        padding: 24px 20px;
        border-radius: 14px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    }

    .step-number {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .step-icon {
        height: 44px;
        margin-bottom: 12px;
    }

    .step-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .step-text {
        font-size: 13.5px;
    }

    /* Designs Section */
    .designs-section {
        padding: 35px 0;
    }

    .design-img {
        height: 240px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .design-info h3 {
        font-size: 15px;
    }

    .btn-customise {
        font-size: 12px;
        padding: 6px 14px;
    }

    /* Collections Section */
    .collections-section {
        padding: 35px 0;
    }

    .collections-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 18px;
    }

    .collections-header .section-title {
        font-size: 24px;
        margin-bottom: 4px;
    }

    .collections-header .section-subtitle {
        font-size: 13.5px;
        margin-top: 0;
        margin-bottom: 8px;
    }

    .collections-header .view-all-link {
        font-size: 13.5px;
        font-weight: 600;
    }

    .filter-bar {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        margin-bottom: 20px;
    }

    .filter-buttons {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 8px;
        padding-bottom: 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .filter-buttons::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 20px;
        flex-shrink: 0;
    }

    .filter-dropdown {
        width: 100%;
    }

    .filter-dropdown select {
        width: 100%;
        padding: 11px 14px;
        font-size: 14px;
        border-radius: 8px;
        background-color: white;
        border: 1px solid #AEC4C7;
    }

    .product-card .product-image-wrap {
        height: 220px;
        border-radius: 12px;
    }

    .product-title {
        font-size: 15px;
        margin: 10px 0 8px;
    }

    .btn-select-model {
        padding: 10px;
        font-size: 13px;
        border-radius: 6px;
    }

    .collections-navigation,
    .insp-navigation {
        justify-content: flex-end;
        margin-top: 14px;
    }

    /* Closer Look Section */
    .closer-look-section {
        padding: 35px 0;
    }

    .closer-look-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .closer-card {
        height: 180px;
        border-radius: 12px;
    }

    .closer-label {
        font-size: 14px;
    }

    /* Inspiration Section */
    .inspiration-section {
        padding: 35px 0 45px;
    }

    .inspiration-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 16px;
    }

    .inspiration-header .section-title {
        font-size: 24px;
        margin-bottom: 0;
    }

    .view-all-link.insta-link {
        font-size: 13.5px;
    }

    .insp-card {
        aspect-ratio: 1 / 1;
        border-radius: 14px;
    }

    /* FAQ Section */
    .faq-section {
        padding: 40px 0 50px;
    }

    .faq-container {
        padding: 0 16px;
    }

    .faq-list {
        margin-top: 20px;
    }

    .faq-btn {
        font-size: 14.5px;
        padding: 18px 0;
        line-height: 1.4;
    }

    .faq-content p {
        font-size: 13.5px;
        line-height: 1.6;
        padding-bottom: 16px;
    }

    /* Location CTA */
    .location-cta-section {
        padding: 30px 0;
    }

    .location-cta-content {
        flex-direction: column;
        gap: 18px;
        width: 100%;
    }

    .location-cta-image {
        width: 100%;
        max-width: 200px;
    }

    .location-cta-text {
        width: 100%;
        padding: 24px 18px;
        border-radius: 12px;
        text-align: center;
    }

    .location-cta-text h2 {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .location-cta-text p {
        font-size: 13.5px;
        margin-bottom: 18px;
    }

    .location-cta-text .btn {
        width: 100%;
        justify-content: center;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 20px 0 45px;
    }

    .newsletter-box {
        padding: 24px 18px;
        border-radius: 12px;
        text-align: center;
        width: 100%;
    }

    .newsletter-box h2 {
        font-size: 19px;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .newsletter-form {
        flex-direction: column;
        border: none;
        background: transparent;
        gap: 10px;
        width: 100%;
    }

    .newsletter-form input {
        width: 100%;
        border: 1px solid #AEC4C7;
        border-radius: 8px;
        padding: 12px 14px;
        font-size: 14px;
        text-align: center;
    }

    .newsletter-form button {
        width: 100%;
        border-radius: 8px;
        padding: 12px;
        font-size: 14px;
        margin: 0;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 26px;
        margin-bottom: 30px;
    }

    .footer-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        height: 52px;
        margin-bottom: 16px;
    }

    .map-col iframe {
        width: 100%;
        max-width: 280px;
        height: 130px;
        margin: 0 auto;
    }

    .footer-col h4 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .footer-col ul li {
        margin-bottom: 8px;
    }

    .footer-col ul li a {
        font-size: 13.5px;
        display: inline-block;
        padding: 3px 0;
    }

    .footer-bottom {
        padding-top: 16px;
    }

    .footer-bottom p {
        font-size: 11.5px;
    }
}

/* ==========================================================================
   CREATIVE PREMIUM ANIMATIONS & MIRROR-LIKE SCROLL REVEAL
   ========================================================================== */

/* GPU Hardware Acceleration for Smooth 60fps Scroll Reveal */
[data-aos] {
    will-change: transform, opacity;
    transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Smooth Floating Animation for Hero Banner */
@keyframes heroBannerFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0.5deg);
    }
}

.hero-image img {
    animation: heroBannerFloat 5.5s ease-in-out infinite;
    will-change: transform;
}

/* Step Cards Hover Elevation & Icon Pop */
.step-card {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(26, 89, 100, 0.1);
}

.step-card .step-icon {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.step-card:hover .step-icon {
    transform: scale(1.12) translateY(-2px);
}

/* Phone Option Buttons Hover Effect */
.phone-btn {
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.phone-btn i {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.phone-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(26, 89, 100, 0.08);
}

.phone-btn:hover i {
    transform: translateX(4px);
    color: var(--primary-color);
}

/* Product Card Smooth Hover & Image Zoom */
.product-card {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-image-wrap img {
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.05);
}

/* Closer Look Image Zoom */
.closer-card {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.closer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.closer-card img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Inspiration Card Hover Zoom */
.insp-card {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.insp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.insp-card img {
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.insp-card:hover img {
    transform: scale(1.05);
}

/* Heart Wishlist Micro-Pulse */
.fav-icon {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}

.fav-icon:hover {
    transform: scale(1.25);
    color: #E74C3C;
}

/* Primary Button Shimmer Sweep Effect on Hover */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: skewX(-20deg);
    transition: left 0.65s ease;
}

.btn-primary:hover::after {
    left: 150%;
}

/* Location Machine Visual Smooth Lift */
.location-cta-image img {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.location-cta-image:hover img {
    transform: scale(1.03) translateY(-4px);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ==========================================================================
   CUSTOMIZE PAGE / PHONE CASE STUDIO STYLES
   ========================================================================== */

.customize-page-body {
    background-color: var(--bg-color);
}

.active-nav-item a.active-link {
    color: var(--accent-color);
    position: relative;
}

.active-nav-item a.active-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Subnav / Breadcrumb Bar */
.customizer-subnav {
    background-color: #FFFFFF;
    border-bottom: 1px solid rgba(174, 196, 199, 0.35);
    padding: 14px 0;
    margin-bottom: 30px;
}

.subnav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-color);
}

.breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .sep {
    font-size: 10px;
    color: #AEC4C7;
}

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 600;
}

.studio-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(26, 89, 100, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #00E676;
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* ==========================================================================
   CASE RUSH STUDIO: CUSTOMIZER SECTION (LUXURY & ELEGANT)
   ========================================================================== */

/* Customizer Section Layout */
.customizer-section {
    padding: 10px 0 100px;
}

.customizer-layout {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 24px;
    align-items: start;
}

/* ----------------------------------------------------
   LEFT COLUMN: Studio Pedestal Phone Preview
   ---------------------------------------------------- */
.preview-column {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    z-index: 20;
}

.studio-pedestal {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 24px 20px 22px;
    box-shadow: 0 16px 45px rgba(26, 89, 100, 0.05);
    border: 1px solid rgba(26, 89, 100, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Case Finish Switch (Glossy / Matte / Clear) */
.finish-switch-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
    justify-content: center;
}

.finish-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-color);
}

.finish-switch {
    display: inline-flex;
    background: #EEF4F5;
    padding: 3px;
    border-radius: 20px;
    gap: 2px;
}

.finish-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 16px;
    border: none;
    background: transparent;
    font-family: var(--font-main);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.finish-btn.active {
    background: #FFFFFF;
    color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(26, 89, 100, 0.12);
    font-weight: 700;
}

.finish-btn:hover:not(.active) {
    color: var(--primary-color);
}

/* Phone Mockup Shell with Standardized 10:21 Mobile Cases */
.phone-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 4px 0;
}

.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 640 / 1313;
    max-height: 700px;
    margin: 0 auto;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup.photo-updated {
    animation: phonePulse 0.45s ease;
}

@keyframes phonePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.025); }
    100% { transform: scale(1); }
}

.phone-case-base-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 46px;
    background: #FFFFFF;
}

.phone-mockup.model-square-corners .phone-case-base-container {
    border-radius: 18px;
}

/* Printable Case Surface Canvas - Behind the frame */
.case-canvas-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Behind frame */
    background: #FAFCFC;
    transition: box-shadow 0.25s ease;
}

/* Specific lower corner radius for square models */
.phone-mockup.model-square-corners .case-canvas-area,
.phone-mockup.model-S26Ultra .case-canvas-area {
    border-radius: 18px;
}

/* Live Uploaded / Sample Photo - Completely covers canvas under frame */
#casePhoto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    transform-origin: center center;
    will-change: transform;
    transition: transform 0.2s ease;
}

/* Foreground Phone Case Frame - Sits on top of the photo */
.phone-base-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill; /* Exact 1:1 frame overlay */
    object-position: center;
    display: block;
    user-select: none;
    pointer-events: none; /* Clicks pass through to case-canvas-area */
    z-index: 10; /* In front of photo */
    filter: drop-shadow(0 20px 38px rgba(26, 89, 100, 0.18)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
    transition: opacity 0.25s ease;
}

/* 3D Sheen Overlays on top of the frame */
.case-finish-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
    border-radius: inherit;
    transition: background 0.3s ease;
}

/* Hover hint on case */
.phone-case-base-container:hover .case-crop-hint {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.case-crop-hint {
    position: absolute;
    bottom: 24px;
    background: rgba(26, 89, 100, 0.92);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.25s ease;
    z-index: 20;
}

.finish-glossy {
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.18) 24%,
        rgba(255, 255, 255, 0) 46%,
        rgba(255, 255, 255, 0.06) 78%,
        rgba(255, 255, 255, 0.22) 100%
    );
}

.finish-matte {
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.06) 100%);
    backdrop-filter: blur(0.3px);
}

.finish-clear {
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.18);
}

/* Preview Model Pill */
.preview-model-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F1F6F7;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 18px;
    border: 1px solid rgba(26, 89, 100, 0.12);
}

.preview-model-pill i {
    color: var(--accent-color);
}

.case-material-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-color);
}

/* Interactive Photo Adjust Toolbar */
.adjust-toolbar {
    width: 100%;
    background: #FAFDFD;
    border: 1px solid rgba(26, 89, 100, 0.14);
    border-radius: 14px;
    padding: 14px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toolbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
}

.zoom-value-tag {
    background: var(--primary-color);
    color: white;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
}

.zoom-slider-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zoom-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #AEC4C7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s;
}

.zoom-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.custom-range-slider {
    flex: 1;
    accent-color: var(--primary-color);
    height: 5px;
    cursor: pointer;
}

.adjust-actions-row {
    display: flex;
    gap: 6px;
    justify-content: space-between;
}

.action-pill-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 8px;
    background: #FFFFFF;
    border: 1px solid #AEC4C7;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.action-pill-btn:hover {
    border-color: var(--primary-color);
    background: #EDF5F6;
}

.btn-danger-pill:hover {
    border-color: #EF4444;
    background: #FEE2E2;
    color: #DC2626;
}

.drag-hint-text {
    font-size: 10.5px;
    color: var(--text-color);
    text-align: center;
    margin-top: 4px;
    white-space: nowrap;
}

/* ----------------------------------------------------
   RIGHT COLUMN: Luxury Elegant Customizer Panel
   ---------------------------------------------------- */
.controls-column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.studio-panel-wrapper {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 38px 44px;
    border: 1px solid rgba(26, 89, 100, 0.1);
    box-shadow: 0 16px 45px rgba(26, 89, 100, 0.04);
    width: 100%;
}

/* Studio Header */
.studio-header {
    margin-bottom: 24px;
}

.studio-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -0.4px;
}

.studio-subtitle {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

/* Reference-Style 3-Step Process Bar */
.studio-steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0 20px;
    border-bottom: 1px solid rgba(26, 89, 100, 0.12);
    margin-bottom: 26px;
}

.studio-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.step-num {
    font-size: 30px;
    font-weight: 800;
    color: #BACCD0;
    line-height: 1;
    letter-spacing: -0.5px;
    transition: color 0.3s;
}

.studio-step.active .step-num {
    color: var(--accent-color);
}

.step-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.step-text span {
    font-size: 12px;
    color: var(--text-color);
    line-height: 1.3;
}

.studio-step-divider {
    width: 1px;
    height: 36px;
    background: rgba(26, 89, 100, 0.12);
    align-self: center;
}

/* Form Body */
.studio-form-body {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group-block {
    margin-bottom: 20px;
}

.form-block-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-block-label i {
    color: var(--accent-color);
}

/* Sleek Model Selector */
.model-select-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 14px;
}

.studio-select {
    width: 100%;
    padding: 14px 22px;
    border: 1.5px solid rgba(26, 89, 100, 0.22);
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    background: #FAFDFD;
    appearance: none;
    outline: none;
    cursor: pointer;
    transition: all 0.25s;
}

.studio-select:hover,
.studio-select:focus {
    border-color: var(--primary-color);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(26, 89, 100, 0.08);
}

.studio-select-chevron {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    pointer-events: none;
    font-size: 14px;
}

/* Compact Case Protection Type Row */
.case-types-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.case-type-card {
    background: #FAFDFD;
    border: 1.5px solid rgba(26, 89, 100, 0.14);
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.case-type-card:hover:not(.active) {
    border-color: var(--accent-color);
    background: #FFFFFF;
}

.case-type-card.active {
    background: rgba(26, 89, 100, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(26, 89, 100, 0.06);
}

.type-badge-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #BACCD0;
    flex-shrink: 0;
    transition: all 0.2s;
}

.case-type-card.active .type-badge-dot {
    border-color: var(--primary-color);
    background: var(--primary-color);
    box-shadow: inset 0 0 0 2.5px #FFFFFF;
}

.type-info {
    display: flex;
    flex-direction: column;
}

.type-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

.type-meta {
    font-size: 11px;
    color: var(--text-color);
    margin-top: 1px;
}

/* Specs Callout (Directly From Reference) */
.specs-callout {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-color);
    margin-bottom: 18px;
}

.specs-callout i {
    color: var(--primary-color);
    font-size: 14px;
}

.specs-callout strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Studio Dropzone (From Reference & Elevated) */
.studio-dropzone {
    width: 100%;
    border: 2px dashed rgba(26, 89, 100, 0.35);
    border-radius: 18px;
    background: rgba(26, 89, 100, 0.02);
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.studio-dropzone:hover,
.studio-dropzone.drag-active {
    border-color: var(--accent-color);
    background: rgba(248, 155, 40, 0.04);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(248, 155, 40, 0.08);
}

.studio-dropzone.shake-notice {
    animation: shakeBox 0.5s ease;
    border-color: #EF4444;
    background: rgba(239, 68, 68, 0.05);
}

@keyframes shakeBox {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.dropzone-upload-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-color);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
    box-shadow: 0 6px 16px rgba(26, 89, 100, 0.2);
    transition: transform 0.25s, background 0.25s;
}

.studio-dropzone:hover .dropzone-upload-icon {
    background: var(--accent-color);
    transform: scale(1.06);
}

.dropzone-title {
    font-size: 15px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 500;
}

.dropzone-title strong {
    font-weight: 700;
}

.studio-upload-btn {
    border-radius: 30px !important;
    padding: 11px 28px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(26, 89, 100, 0.2);
    transition: all 0.25s ease;
}

.studio-upload-btn:hover {
    background: #13444D !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26, 89, 100, 0.28);
}

.dropzone-formats {
    font-size: 11.5px;
    color: #7B9B9F;
    margin-top: 10px;
    display: block;
}

/* Sample Photos Row */
.sample-photos-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.samples-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.samples-label i {
    color: var(--accent-color);
}

.sample-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.demo-thumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px 4px 4px;
    background: #FFFFFF;
    border: 1.5px solid rgba(26, 89, 100, 0.14);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.demo-thumb img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.demo-thumb:hover,
.demo-thumb.active {
    border-color: var(--accent-color);
    background: rgba(248, 155, 40, 0.08);
    transform: translateY(-1px);
}

/* Studio Checkout Bar */
.studio-checkout-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    background: #FAFDFD;
    border-radius: 16px;
    border: 1.5px solid rgba(26, 89, 100, 0.12);
    margin-bottom: 22px;
    width: 100%;
}

.checkout-price-block {
    display: flex;
    flex-direction: column;
}

.price-figure {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -0.5px;
}

.price-perk {
    font-size: 12px;
    color: #059669;
    font-weight: 600;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkout-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Stepper Pill */
.stepper-pill {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid rgba(26, 89, 100, 0.2);
    border-radius: 30px;
    background: #FFFFFF;
    padding: 3px 6px;
}

.stepper-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: background 0.2s;
}

.stepper-btn:hover {
    background: #EEF4F5;
}

.stepper-pill input {
    width: 34px;
    border: none;
    text-align: center;
    font-family: var(--font-main);
    font-size: 14.5px;
    font-weight: 800;
    color: var(--primary-color);
    outline: none;
    background: transparent;
    padding: 0;
    margin: 0;
    line-height: 1;
    -moz-appearance: textfield;
}

.stepper-pill input::-webkit-outer-spin-button,
.stepper-pill input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart Primary Button */
.studio-cart-btn {
    border-radius: 30px !important;
    padding: 13px 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(26, 89, 100, 0.22);
    white-space: nowrap;
}

.studio-cart-btn:hover {
    background: #13444D !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(26, 89, 100, 0.28);
}

.studio-cart-btn.btn-success {
    background: #059669 !important;
}

/* Trust Strip */
.studio-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
    padding: 4px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-item i {
    color: var(--primary-color);
    font-size: 13px;
}

.trust-separator {
    color: #BACCD0;
}

/* Toast Notification */
.cart-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary-color);
    color: white;
    padding: 14px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.cart-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast-icon.success {
    color: #10B981;
    font-size: 18px;
}

.toast-icon.error {
    color: #EF4444;
    font-size: 18px;
}

/* Mobile Sticky Checkout Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    padding: 12px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    border-top: 1px solid #E5ECEE;
}

.mobile-sticky-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-sticky-price {
    display: flex;
    flex-direction: column;
}

.mobile-price-label {
    font-size: 11px;
    color: var(--text-color);
}

.mobile-price-val {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
}

.mobile-sticky-btn {
    border-radius: 30px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
}

/* Cart badge bump animation */
.badge-bump {
    animation: bump 0.4s ease;
}

@keyframes bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR CUSTOMIZE SECTION
   ========================================================================== */

@media screen and (max-width: 1024px) {
    .customizer-layout {
        grid-template-columns: 380px 1fr;
        gap: 20px;
    }
    
    .phone-mockup {
        width: 280px;
        aspect-ratio: 10 / 21;
        height: auto;
    }

    .studio-panel-wrapper {
        padding: 26px 20px;
    }

    .studio-title {
        font-size: 26px;
    }
}

@media screen and (max-width: 860px) {
    .customizer-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .preview-column {
        position: static;
        max-width: 440px;
        margin: 0 auto;
        width: 100%;
    }

    .phone-mockup {
        width: 280px;
        aspect-ratio: 10 / 21;
        height: auto;
    }

    .studio-title {
        font-size: 26px;
        text-align: center;
    }

    .studio-subtitle {
        text-align: center;
    }

    .studio-steps-row {
        gap: 8px;
    }

    .step-text span {
        display: none;
    }

    .case-types-row {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 600px) {
    .phone-mockup {
        width: 200px;
        aspect-ratio: 10 / 21;
        height: auto;
    }

    .studio-panel-wrapper {
        padding: 22px 16px;
    }

    .studio-checkout-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        text-align: center;
    }

    .checkout-price-block {
        align-items: center;
    }

    .checkout-actions {
        flex-direction: column;
        width: 100%;
    }

    .stepper-pill {
        margin: 0 auto;
    }

    .studio-cart-btn {
        width: 100%;
        justify-content: center;
    }

    .studio-trust-strip {
        flex-direction: column;
        gap: 8px;
    }

    .trust-separator {
        display: none;
    }

    .mobile-sticky-bar {
        display: block;
    }

    .customizer-section {
        padding-bottom: 120px;
    }
    
    .scroll-to-top {
        bottom: 80px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--brand-amber);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(248, 155, 40, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #e58b1f; /* slightly darker amber */
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(248, 155, 40, 0.5);
}

/* Crop & Adjust Pill Button in Toolbar */
.btn-highlight-pill {
    background: linear-gradient(135deg, var(--primary-color) 0%, #20717F 100%) !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 10px rgba(26, 89, 100, 0.25);
}

.btn-highlight-pill:hover {
    background: linear-gradient(135deg, #13464F 0%, #1A5964 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(26, 89, 100, 0.35);
}

/* ==========================================================================
   IMAGE ADJUSTMENT & CROPPING MODAL (STUDIO GRADE)
   ========================================================================== */
.crop-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(12, 34, 38, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 10000;
    animation: modalOverlayFade 0.25s ease-out;
}

@keyframes modalOverlayFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.crop-modal-container {
    background: #FFFFFF;
    border-radius: 24px;
    width: 100%;
    max-width: 920px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 10px 25px rgba(26, 89, 100, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
    animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
    from { opacity: 0; transform: scale(0.95) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Modal Header */
.crop-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 26px;
    background: #FAFCFC;
    border-bottom: 1px solid #E5ECEE;
}

.modal-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.modal-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(26, 89, 100, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.crop-modal-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 2px 0;
    font-family: var(--font-main);
}

.crop-modal-subtitle {
    font-size: 12.5px;
    color: var(--text-color);
    margin: 0;
}

.crop-modal-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #FFCDD2;
    background: #FEE8E8;
    color: #C62828;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.crop-modal-close-btn:hover {
    background: #D32F2F;
    color: #FFFFFF;
    border-color: #D32F2F;
    transform: rotate(90deg);
}

/* Modal Body */
.crop-modal-body {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 24px;
    padding: 24px 26px;
    overflow-y: auto;
    flex: 1;
}

/* Left: Cropper Viewport */
.crop-canvas-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.crop-viewport {
    position: relative;
    width: 100%;
    height: 420px;
    background: #0E161C;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    touch-action: none;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}

#cropTargetImage {
    position: absolute;
    max-width: none;
    max-height: none;
    pointer-events: none;
    transform-origin: center center;
    will-change: transform;
    user-select: none;
}

/* Dark Vignette Masks outside the crop box */
.crop-mask-top,
.crop-mask-bottom,
.crop-mask-left,
.crop-mask-right {
    position: absolute;
    background: rgba(7, 14, 18, 0.68);
    pointer-events: none;
    z-index: 10;
}

/* The Active Crop Box */
.crop-box {
    position: absolute;
    border: 2px solid #F89B28;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 25px rgba(248, 155, 40, 0.35);
    z-index: 20;
    cursor: move;
    touch-action: none;
    background: transparent;
}

/* Rule of Thirds Grid */
.crop-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.crop-grid-h1, .crop-grid-h2 {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    border-bottom: 1px dashed rgba(248, 155, 40, 0.6);
}
.crop-grid-h1 { top: 33.33%; }
.crop-grid-h2 { top: 66.66%; }

.crop-grid-v1, .crop-grid-v2 {
    position: absolute;
    top: 0;
    height: 100%;
    width: 1px;
    background: rgba(255, 255, 255, 0.35);
    border-right: 1px dashed rgba(248, 155, 40, 0.6);
}
.crop-grid-v1 { left: 33.33%; }
.crop-grid-v2 { left: 66.66%; }

/* 8 Resize Handles */
.crop-handle {
    position: absolute;
    z-index: 30;
    touch-action: none;
}

/* Corner Handles */
.handle-tl, .handle-tr, .handle-br, .handle-bl {
    width: 14px;
    height: 14px;
    background: #F89B28;
    border: 2px solid #FFFFFF;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.handle-tl { top: -7px; left: -7px; cursor: nwse-resize; }
.handle-tr { top: -7px; right: -7px; cursor: nesw-resize; }
.handle-br { bottom: -7px; right: -7px; cursor: nwse-resize; }
.handle-bl { bottom: -7px; left: -7px; cursor: nesw-resize; }

/* Edge Handles */
.handle-t, .handle-b {
    width: 32px;
    height: 8px;
    left: 50%;
    margin-left: -16px;
    background: #F89B28;
    border: 1.5px solid #FFFFFF;
    border-radius: 4px;
    cursor: ns-resize;
}
.handle-t { top: -5px; }
.handle-b { bottom: -5px; }

.handle-l, .handle-r {
    width: 8px;
    height: 32px;
    top: 50%;
    margin-top: -16px;
    background: #F89B28;
    border: 1.5px solid #FFFFFF;
    border-radius: 4px;
    cursor: ew-resize;
}
.handle-l { left: -5px; }
.handle-r { right: -5px; }

.crop-viewport-hint {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: #6B7C80;
    padding: 0 4px;
}

.crop-viewport-hint span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Right: Control Panel */
.crop-controls-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #F8FBFB;
    border: 1px solid #E3EBEB;
    border-radius: 16px;
    padding: 18px 16px;
}

.crop-control-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.control-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.control-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.crop-zoom-val {
    font-size: 12px;
    font-weight: 700;
    background: var(--primary-color);
    padding: 3px 10px;
    border-radius: 12px;
    color: #FFFFFF;
}

/* Aspect Ratio Buttons */
.aspect-ratio-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.aspect-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    background: #EAF3F5;
    border: 1.5px solid #BDD9DE;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
    box-shadow: 0 1px 3px rgba(26, 89, 100, 0.08);
}

.aspect-btn i {
    color: var(--accent-color);
    font-size: 13px;
    transition: color 0.2s ease;
}

.aspect-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #D8EBEE;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(26, 89, 100, 0.15);
}

.aspect-btn.active {
    background: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(26, 89, 100, 0.32);
}

.aspect-btn.active i {
    color: #FFB84D;
}

/* Zoom Slider & Buttons */
.crop-zoom-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #EEF5F6;
    border: 1.5px solid #BED8DC;
    padding: 7px 12px;
    border-radius: 12px;
}

.crop-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1.5px solid var(--primary-color);
    background: var(--primary-color);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(26, 89, 100, 0.2);
}

.crop-icon-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #FFFFFF;
    transform: scale(1.08);
    box-shadow: 0 3px 8px rgba(248, 155, 40, 0.35);
}

.crop-icon-btn:active {
    transform: scale(0.95);
}

.crop-slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #DCE7E9;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.crop-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand-amber);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid #FFFFFF;
    cursor: pointer;
}

/* Rotate & Orient Tools */
.crop-tools-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.crop-tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 4px;
    background: #EAF3F5;
    border: 1.5px solid #BDD9DE;
    border-radius: 10px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
    box-shadow: 0 1px 3px rgba(26, 89, 100, 0.08);
}

.crop-tool-btn i {
    font-size: 15px;
    color: var(--accent-color);
    transition: all 0.2s ease;
}

.crop-tool-btn:hover {
    border-color: var(--primary-color);
    color: #FFFFFF;
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 89, 100, 0.25);
}

.crop-tool-btn:hover i {
    color: #FFB84D;
}

.crop-tool-btn:active {
    transform: translateY(0);
}

/* Modal Footer */
.crop-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 26px;
    background: #FAFCFC;
    border-top: 1px solid #E5ECEE;
}

.crop-btn-cancel {
    padding: 11px 22px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    border: 1.5px solid #BDD9DE;
    background: #EAF3F5;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.crop-btn-cancel:hover {
    background: #FEE8E8;
    color: #C62828;
    border-color: #F8B4B4;
    transform: translateY(-1px);
}

.crop-btn-apply {
    padding: 11px 26px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    background: linear-gradient(135deg, #F89B28 0%, #D97706 100%);
    color: #FFFFFF;
    border: 1.5px solid #C46803;
    box-shadow: 0 4px 14px rgba(248, 155, 40, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.crop-btn-apply:hover {
    background: linear-gradient(135deg, #E88812 0%, #B85F04 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(248, 155, 40, 0.5);
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
    .crop-modal-overlay {
        padding: 12px;
    }
    
    .crop-modal-container {
        max-height: 94vh;
    }

    .crop-modal-header {
        padding: 14px 18px;
    }

    .crop-modal-body {
        grid-template-columns: 1fr;
        padding: 14px 18px;
        gap: 16px;
    }

    .crop-viewport {
        height: 280px;
    }

    .crop-modal-footer {
        padding: 12px 18px;
    }
}

/* ==========================================================================
   FIND A MACHINE PAGE STYLES
   ========================================================================== */
.find-machine-page {
    background-color: var(--bg-color);
}

.find-machine-hero {
    padding: 5px 0 25px;
    text-align: center;
}

.location-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(248, 155, 40, 0.12);
    border: 1px solid rgba(248, 155, 40, 0.3);
    color: #C46803;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.location-badge-pill i {
    color: #EA4335;
}

.page-main-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-main-subtitle {
    font-size: 16px;
    color: var(--text-color);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Split Layout: Map Left & Info Right */
.locations-explorer-section {
    padding: 20px 0 70px;
}

.locations-split-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: start;
}

/* Left: Map Card */
.locations-map-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(174, 196, 199, 0.4);
    box-shadow: 0 12px 35px rgba(26, 89, 100, 0.08);
    overflow: hidden;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.map-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    background: #FFFFFF;
    border-bottom: 1px solid #EAF0F2;
}

.map-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

.pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2E7D32;
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(46, 125, 50, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
    }
}

.map-quick-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.kiosk-filter-btn {
    background: #F0F6F7;
    border: 1px solid #CDE0E3;
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

.kiosk-filter-btn:hover {
    background: #E0EEF0;
    border-color: var(--primary-color);
}

.kiosk-filter-btn.active {
    background: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(26, 89, 100, 0.25);
}

.find-machine-map,
.find-machine-map-container {
    width: 100%;
    height: 540px;
    background: #E5E3DF;
    position: relative;
    overflow: hidden;
}

.kiosk-map-popup .leaflet-popup-content-wrapper {
    border-radius: 14px !important;
    padding: 4px !important;
    box-shadow: 0 10px 30px rgba(26, 89, 100, 0.2) !important;
}

.kiosk-map-popup .leaflet-popup-content {
    margin: 12px 14px !important;
}

.kiosk-map-popup .map-popup-card h5 {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.kiosk-map-popup .map-popup-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: #FFFFFF !important;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.kiosk-map-popup .map-popup-card a:hover {
    background: var(--accent-color);
    color: #FFFFFF !important;
}

.map-card-footer {
    padding: 12px 20px;
    background: #FAFDFD;
    border-top: 1px solid #EAF0F2;
    font-size: 12px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 7px;
}

.map-card-footer i {
    color: var(--accent-color);
}

/* Right: Location Cards Stack */
.locations-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-item-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1.5px solid rgba(174, 196, 199, 0.45);
    padding: 22px;
    box-shadow: 0 6px 22px rgba(26, 89, 100, 0.05);
    transition: all 0.25s ease;
    position: relative;
}

.location-item-card:hover,
.location-item-card.active-card {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(26, 89, 100, 0.12);
    transform: translateY(-2px);
}

.location-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #EEF4F5;
}

.location-name-wrap h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-name-wrap h3 i {
    color: #EA4335;
    font-size: 16px;
}

.location-area-tag {
    font-size: 12px;
    font-weight: 600;
    color: #7A9B9F;
}

.kiosk-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.kiosk-badge i {
    font-size: 8px;
}

/* Info Details Row */
.location-details-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.info-item-block {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #F0F6F7;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

.info-text h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #7E9C9F;
    margin-bottom: 2px;
    font-weight: 700;
}

.info-text p {
    font-size: 13.5px;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.info-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.info-text a:hover {
    color: var(--accent-color);
}

/* Card Actions */
.location-card-actions {
    display: flex;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #EEF4F5;
}

.btn-directions {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-color);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(26, 89, 100, 0.18);
}

.btn-directions:hover {
    background: var(--accent-color);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(248, 155, 40, 0.35);
}

.btn-view-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #F0F6F7;
    color: var(--primary-color);
    border: 1px solid #BDD9DE;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
}

.btn-view-map:hover {
    background: #E2EFF1;
    border-color: var(--primary-color);
}

/* Machine Features Highlight Banner */
.machine-features-strip {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid rgba(174, 196, 199, 0.4);
    padding: 28px 32px;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: center;
    box-shadow: 0 8px 25px rgba(26, 89, 100, 0.05);
}

.features-strip-img img {
    width: 100%;
    max-width: 260px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.features-strip-content h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.features-strip-content p {
    font-size: 14.5px;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.5;
}

.features-bullet-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-bullet {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-bullet i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(248, 155, 40, 0.15);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-bullet span {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive Styles for Find Machine Page */
@media (max-width: 991px) {
    .locations-split-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .locations-map-card {
        position: static;
    }

    .find-machine-map {
        height: 400px;
    }

    .machine-features-strip {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px 20px;
    }

    .features-bullet-row {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .page-main-title {
        font-size: 28px;
    }

    .map-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .find-machine-map {
        height: 320px;
    }

    .location-item-card {
        padding: 16px;
    }

    .location-card-actions {
        flex-direction: column;
    }
}

/* ==========================================================================
   SHOP PAGE LUXURY STYLING & RESPONSIVE FILTER SYSTEM
   ========================================================================== */

/* Header Search Overlay */
.header-search-overlay {
    position: fixed;
    top: 23px;
    right: 170px; /* Shifted left to avoid overlapping wishlist and cart icons */
    width: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    z-index: 1200; /* Higher than site-header z-index 1100 */
    padding: 0;
}

.header-search-overlay.active {
    display: block !important;
    animation: slideLeftSearch 0.32s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideLeftSearch {
    from { 
        opacity: 0; 
        transform: translateX(35px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

.header-search-bar {
    display: flex;
    align-items: center;
    width: 320px;
    background: #FFFFFF;
    border: 1.5px solid rgba(174, 196, 199, 0.7);
    border-radius: 50px;
    padding: 7px 16px;
    box-shadow: 0 10px 30px rgba(26, 89, 100, 0.16);
    transition: all 0.25s ease;
}

.header-search-bar:focus-within {
    border-color: var(--primary-color);
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(26, 89, 100, 0.22), 0 0 0 3px rgba(26, 89, 100, 0.12);
}

.header-search-bar .search-icon {
    color: var(--primary-color);
    font-size: 15px;
    margin-right: 10px;
}

.header-search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    outline: none;
    padding: 6px 0;
}

.header-search-bar .search-close-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: var(--text-color);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.header-search-bar .search-close-btn:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .header-search-overlay {
        top: 12px;
        left: 12px;
        right: 12px;
        width: auto;
    }
    .header-search-bar {
        width: 100%;
        padding: 6px 14px;
    }
}

/* Header Wishlist & Badges */
.wishlist-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--accent-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Heart Pulse Micro Animation */
.heart-pulse {
    animation: heartBeat 0.4s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* Shop Hero Banner */
.shop-hero-banner {
    background: linear-gradient(135deg, #F8F4F0 0%, #EBF4F5 100%);
    border-bottom: 1px solid rgba(174, 196, 199, 0.4);
    padding: 30px 0 40px;
}

.shop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 24px;
}

.shop-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.shop-breadcrumb a:hover {
    color: var(--accent-color);
}

.shop-breadcrumb .sep {
    font-size: 11px;
    opacity: 0.6;
}

.shop-breadcrumb .current {
    color: var(--accent-color);
}

.shop-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.shop-banner-text {
    max-width: 680px;
}

.shop-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(248, 155, 40, 0.15);
    color: #D97706;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.shop-main-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.15;
    margin-bottom: 12px;
}

.shop-main-subtitle {
    font-size: 15.5px;
    color: var(--text-color);
    line-height: 1.55;
    margin: 0;
}

.shop-banner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.banner-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid rgba(174, 196, 199, 0.5);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(26, 89, 100, 0.04);
}

.banner-pill i {
    color: var(--accent-color);
    font-size: 14px;
}

/* Shop Layout Container */
.shop-main-section {
    padding: 40px 0 80px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 36px;
    align-items: start;
}

/* ==========================================================================
   LEFT SIDEBAR FILTERS
   ========================================================================== */
.shop-sidebar {
    background: transparent;
}

.sidebar-sticky-inner {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid rgba(174, 196, 199, 0.45);
    padding: 24px 22px;
    box-shadow: 0 6px 20px rgba(26, 89, 100, 0.03);
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(174, 196, 199, 0.3);
    margin-bottom: 20px;
}

.sidebar-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title-group i {
    color: var(--accent-color);
    font-size: 16px;
}

.sidebar-title-group h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.active-filter-count {
    background: var(--primary-color);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-clear-filters {
    background: transparent;
    border: none;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    color: #D97706;
    cursor: pointer;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.btn-clear-filters:hover {
    opacity: 0.8;
}

/* Filter Search Box */
.filter-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #F8F4F0;
    border: 1.5px solid rgba(174, 196, 199, 0.5);
    border-radius: 8px;
    padding: 4px 12px;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 18px;
}

.filter-search-box:focus-within {
    border-color: var(--primary-color);
    background: #FFFFFF;
}

.filter-search-box i {
    color: var(--text-color);
    font-size: 13px;
    margin-right: 8px;
}

.filter-search-box input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--font-main);
    font-size: 13.5px;
    color: var(--primary-color);
    outline: none;
    padding: 6px 0;
}

/* Filter Accordion Group */
.filter-group {
    border-bottom: 1px solid rgba(174, 196, 199, 0.25);
    padding: 14px 0;
}

.filter-group:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-group-header {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    padding: 4px 0;
    text-align: left;
}

.filter-group-header span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group-header span i {
    font-size: 13px;
    color: var(--accent-color);
}

.accordion-icon {
    font-size: 12px;
    color: var(--text-color);
    transition: transform 0.25s ease;
}

.filter-accordion.active .accordion-icon {
    transform: rotate(180deg);
}

.filter-group-body {
    display: none;
    padding-top: 12px;
}

.filter-accordion.active .filter-group-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Custom Checkbox Items */
.filter-checkbox-item {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
    font-size: 13.5px;
    color: var(--text-color);
    transition: color 0.2s;
}

.filter-checkbox-item:hover {
    color: var(--primary-color);
}

.filter-checkbox-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    position: relative;
    height: 18px;
    width: 18px;
    background-color: #F8F4F0;
    border: 1.5px solid #AEC4C7;
    border-radius: 4px;
    margin-right: 10px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.filter-checkbox-item:hover .checkbox-custom {
    border-color: var(--primary-color);
}

.filter-checkbox-item input:checked ~ .checkbox-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-custom:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox-item input:checked ~ .checkbox-custom:after {
    display: block;
}

.filter-checkbox-item input:checked ~ .filter-label {
    font-weight: 700;
    color: var(--primary-color);
}

.filter-label {
    flex: 1;
}

.filter-count {
    font-size: 12px;
    color: #8BA7AD;
    background: #F0F6F7;
    padding: 2px 7px;
    border-radius: 12px;
    font-weight: 600;
}

/* Price Range Slider */
.price-slider-wrap {
    padding: 6px 0;
}

.price-range-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.current-price-val {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 14px;
    background: #F0F6F7;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(174, 196, 199, 0.4);
}

.price-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 4px;
    background: #DCE8EA;
    outline: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s;
}

.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--accent-color);
}

/* Sidebar Customise Promo Card */
.sidebar-promo-card {
    margin-top: 24px;
    background: linear-gradient(145deg, #1A5964 0%, #10383F 100%);
    border-radius: 14px;
    padding: 20px 18px;
    color: white;
    text-align: center;
    box-shadow: 0 8px 24px rgba(26, 89, 100, 0.15);
}

.sidebar-promo-card .promo-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(248, 155, 40, 0.2);
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
}

.sidebar-promo-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.sidebar-promo-card p {
    font-size: 12.5px;
    color: #D1E5E8;
    line-height: 1.45;
    margin-bottom: 16px;
}

.btn-promo-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--accent-color);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 9px 16px;
    border-radius: 6px;
    width: 100%;
    transition: all 0.25s ease;
}

.btn-promo-action:hover {
    background: #E58614;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 155, 40, 0.3);
}

/* ==========================================================================
   RIGHT CONTENT: TOOLBAR & PRODUCT GRID
   ========================================================================== */
.shop-toolbar {
    background: #FFFFFF;
    border: 1px solid rgba(174, 196, 199, 0.45);
    border-radius: 14px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(26, 89, 100, 0.02);
}

.toolbar-left,
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.mobile-filter-trigger-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: #F8F4F0;
    border: 1.5px solid #AEC4C7;
    border-radius: 8px;
    padding: 8px 16px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-filter-trigger-btn:hover {
    border-color: var(--primary-color);
    background: #EBF4F5;
}

.mobile-filter-badge {
    background: var(--accent-color);
    color: white;
    font-size: 11px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-count-display {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.product-count-display strong {
    color: var(--primary-color);
    font-weight: 800;
}

/* Sort Select Box */
.sort-select-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
}

.select-box-wrap {
    position: relative;
}

.sort-select {
    padding: 8px 32px 8px 14px;
    background: #F8F4F0;
    border: 1.5px solid rgba(174, 196, 199, 0.6);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary-color);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.2s ease;
}

.sort-select:focus {
    border-color: var(--primary-color);
    background: #FFFFFF;
}

.select-chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--text-color);
    pointer-events: none;
}

/* Grid View Switcher */
.grid-view-toggle {
    display: flex;
    gap: 6px;
    border-left: 1px solid rgba(174, 196, 199, 0.4);
    padding-left: 14px;
}

.view-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: transparent;
    border: 1.5px solid transparent;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn:hover {
    color: var(--primary-color);
    background: #F8F4F0;
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Active Tags Strip */
.active-tags-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    padding: 12px 18px;
    background: #F0F6F7;
    border-radius: 12px;
    border: 1px dashed rgba(174, 196, 199, 0.6);
}

.active-tags-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

.active-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid rgba(174, 196, 199, 0.6);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.remove-tag-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.remove-tag-btn:hover {
    color: #EF4444;
}

.clear-all-tags-btn {
    background: transparent;
    border: none;
    font-family: var(--font-main);
    font-size: 12.5px;
    font-weight: 700;
    color: #D97706;
    text-decoration: underline;
    cursor: pointer;
    margin-left: auto;
}

/* ==========================================================================
   PRODUCT GRID & CARDS
   ========================================================================== */
.shop-products-grid {
    display: grid;
    gap: 24px;
}

.shop-products-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.shop-products-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.shop-product-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid rgba(174, 196, 199, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(26, 89, 100, 0.03);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.shop-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(26, 89, 100, 0.1);
    border-color: rgba(26, 89, 100, 0.4);
}

/* Media Viewport */
.card-image-wrap {
    position: relative;
    background: #F8F4F0;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.badge-bestseller {
    background: var(--primary-color);
    color: #FFFFFF;
}

.badge-new {
    background: var(--accent-color);
    color: #FFFFFF;
}

.badge-magsafe {
    background: #0284C7;
    color: #FFFFFF;
}

.badge-sale {
    background: #EF4444;
    color: #FFFFFF;
}

/* Wishlist Heart Button */
.btn-wishlist-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid rgba(174, 196, 199, 0.5);
    color: var(--text-color);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.btn-wishlist-toggle:hover {
    color: #EF4444;
    transform: scale(1.1);
}

.btn-wishlist-toggle.active {
    color: #EF4444;
    background: #FFF1F2;
    border-color: #FECDD3;
}

/* Phone & Artwork Showcase */
.product-preview-layers {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-design-artwork {
    width: 100%;
    height: 100%;
    max-height: 270px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.shop-product-card:hover .case-design-artwork {
    transform: scale(1.04);
}

/* Hover Action Bar */
.card-hover-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 14px;
    background: linear-gradient(to top, rgba(26, 89, 100, 0.85) 0%, rgba(26, 89, 100, 0) 100%);
    display: flex;
    gap: 8px;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 6;
}

.shop-product-card:hover .card-hover-actions {
    transform: translateY(0);
    opacity: 1;
}

.btn-card-action {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-quick-view {
    background: #FFFFFF;
    color: var(--primary-color);
}

.btn-quick-view:hover {
    background: #EBF4F5;
}

.btn-customise-direct {
    background: var(--accent-color);
    color: #FFFFFF;
}

.btn-customise-direct:hover {
    background: #E58614;
}

/* Card Body Details */
.card-info-wrap {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-brand-compatibility {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.brand-pills-list {
    display: flex;
    gap: 5px;
}

.brand-micro-pill {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-color);
    background: #F0F6F7;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
}

.compatibility-text {
    font-size: 11px;
    font-weight: 600;
    color: #8BA7AD;
}

.card-product-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.card-product-title a:hover {
    color: var(--accent-color);
}

/* Rating Strip */
.card-rating-strip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-color);
    margin-bottom: 16px;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #F59E0B;
    font-weight: 700;
}

.review-count {
    color: #8BA7AD;
    font-size: 12px;
}

.dot-sep {
    color: #CBD5E1;
}

.finish-tag-text {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary-color);
    background: #E8F2F3;
    padding: 2px 7px;
    border-radius: 4px;
}

/* Card Footer & Price */
.card-footer-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(174, 196, 199, 0.25);
}

.card-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-current {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary-color);
}

.price-original {
    font-size: 13px;
    color: #94A3B8;
    text-decoration: line-through;
    font-weight: 500;
}

.btn-quick-add-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px solid #AEC4C7;
    border-radius: 6px;
    padding: 7px 14px;
    font-family: var(--font-main);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-quick-add-cart:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #FFFFFF;
}

.btn-quick-add-cart.btn-added {
    background: #10B981;
    border-color: #10B981;
    color: #FFFFFF;
}

/* Empty State */
.shop-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px dashed rgba(174, 196, 199, 0.6);
}

.empty-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #F0F6F7;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

.shop-empty-state h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.shop-empty-state p {
    font-size: 14.5px;
    color: var(--text-color);
    max-width: 440px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.btn-reset-empty {
    padding: 12px 24px;
}

/* Pagination / Load More */
.shop-pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 48px;
    gap: 14px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    border: 1.5px solid #AEC4C7;
    border-radius: 50px;
    padding: 12px 32px;
    font-family: var(--font-main);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26, 89, 100, 0.04);
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 89, 100, 0.12);
}

.pagination-info {
    font-size: 13px;
    color: #8BA7AD;
    font-weight: 500;
}

/* ==========================================================================
   MOBILE FILTER DRAWER (OFF-CANVAS)
   ========================================================================== */
.mobile-filter-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 56, 63, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1200;
    display: flex;
    animation: fadeInOverlay 0.3s ease;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-filter-drawer {
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    box-shadow: 6px 0 30px rgba(0,0,0,0.15);
    animation: slideInDrawer 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes slideInDrawer {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(174, 196, 199, 0.4);
}

.drawer-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-title i {
    color: var(--accent-color);
    font-size: 18px;
}

.drawer-title h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.drawer-close-btn {
    background: #F0F6F7;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.drawer-close-btn:hover {
    background: #E2EFF1;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.drawer-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid rgba(174, 196, 199, 0.4);
    background: #FFFFFF;
}

.btn-drawer-reset {
    flex: 1;
    background: #F0F6F7;
    border: 1px solid #AEC4C7;
    border-radius: 6px;
    padding: 12px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: background 0.2s;
}

.btn-drawer-apply {
    flex: 2;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    padding: 12px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s;
}

/* ==========================================================================
   QUICK VIEW MODAL
   ========================================================================== */
.quick-view-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 56, 63, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInOverlay 0.25s ease;
}

.quick-view-container {
    background: #FFFFFF;
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: scaleInModal 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes scaleInModal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.quick-view-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F0F6F7;
    border: none;
    color: var(--primary-color);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
}

.quick-view-close:hover {
    background: #E2EFF1;
    transform: rotate(90deg);
}

.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 30px;
    padding: 36px 32px;
}

.quick-view-media {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #F8F4F0;
    border-radius: 16px;
    padding: 24px;
}

.quick-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.quick-media-frame {
    width: 100%;
    max-width: 300px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-preview-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.quick-media-perks {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
}

.quick-media-perks i {
    color: var(--accent-color);
}

.quick-brand-tag {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #D97706;
    margin-bottom: 6px;
}

.quick-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.25;
    margin-bottom: 10px;
}

.quick-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13.5px;
    margin-bottom: 16px;
}

.quick-rating-row .stars {
    color: #F59E0B;
}

.quick-rating-row .reviews-link {
    color: var(--text-color);
    text-decoration: underline;
}

.stock-badge.in-stock {
    color: #10B981;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.quick-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.quick-current-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
}

.quick-old-price {
    font-size: 16px;
    color: #94A3B8;
    text-decoration: line-through;
}

.quick-description {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.55;
    margin-bottom: 20px;
}

.quick-option-group {
    margin-bottom: 18px;
}

.quick-option-label {
    display: block;
    font-size: 13.5px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.quick-finish-chips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.quick-finish-chip {
    background: #F8F4F0;
    border: 1.5px solid rgba(174, 196, 199, 0.6);
    border-radius: 8px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.2s ease;
}

.quick-finish-chip span {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
}

.quick-finish-chip small {
    font-size: 10.5px;
    color: var(--text-color);
    margin-top: 2px;
}

.quick-finish-chip:hover {
    border-color: var(--primary-color);
}

.quick-finish-chip.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.quick-finish-chip.active span,
.quick-finish-chip.active small {
    color: #FFFFFF;
}

.quick-actions-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.quick-add-btn {
    flex: 1.5;
    padding: 14px;
    font-size: 14.5px;
}

.quick-custom-btn {
    flex: 1;
    padding: 14px;
    font-size: 14.5px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES FOR SHOP
   ========================================================================== */
@media (max-width: 1200px) {
    .shop-products-grid.cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .shop-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        display: none; /* Replaced by mobile filter drawer on tablet & mobile */
    }

    .mobile-filter-trigger-btn {
        display: inline-flex;
    }

    .shop-products-grid.cols-3,
    .shop-products-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-view-grid {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .quick-media-frame {
        height: 280px;
    }
}

@media (max-width: 640px) {
    .shop-hero-banner {
        padding: 20px 0 28px;
    }

    .shop-main-title {
        font-size: 28px;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .toolbar-left,
    .toolbar-right {
        justify-content: space-between;
        width: 100%;
    }

    .grid-view-toggle {
        display: none;
    }

    .shop-products-grid.cols-3,
    .shop-products-grid.cols-4 {
        grid-template-columns: 1fr;
    }

    .card-image-wrap {
        height: 280px;
    }

    .quick-finish-chips {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-actions-row {
        flex-direction: column;
    }
}

/* ==========================================================================
   CART PAGE STYLES
   ========================================================================== */
.cart-main-section {
    padding: 60px 0 100px;
    background-color: var(--bg-color);
}

.cart-header-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(26, 89, 100, 0.1);
    padding-bottom: 15px;
}

.cart-header-title h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.continue-shopping {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.continue-shopping:hover {
    color: var(--accent-color);
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.cart-items-container {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(26, 89, 100, 0.05);
    border: 1px solid rgba(26, 89, 100, 0.08);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 120px 100px 40px;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(26, 89, 100, 0.08);
}

.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-item:first-child {
    padding-top: 0;
}

.cart-item-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    background: #F8F9FA;
    border: 1px solid rgba(0,0,0,0.05);
}

.cart-item-details h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.cart-item-spec {
    font-size: 13px;
    color: var(--text-color);
    margin: 0 0 4px 0;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    border: 1px solid rgba(26, 89, 100, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 34px;
    height: 36px;
    background: #F8F9FA;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--primary-color);
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #E9ECEF;
}

.qty-input {
    width: 40px;
    height: 36px;
    border: none;
    text-align: center;
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--primary-color);
    border-left: 1px solid rgba(26, 89, 100, 0.15);
    border-right: 1px solid rgba(26, 89, 100, 0.15);
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #BACCD0;
    cursor: pointer;
    font-size: 18px;
    transition: color 0.2s;
    display: flex;
    justify-content: flex-end;
}

.cart-item-remove:hover {
    color: #E74C3C;
}

.cart-summary {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(26, 89, 100, 0.05);
    border: 1px solid rgba(26, 89, 100, 0.08);
}

.cart-summary h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(26, 89, 100, 0.08);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-color);
}

.free-shipping {
    color: var(--accent-color);
    font-weight: 700;
}

.summary-divider {
    border: none;
    border-top: 1px dashed rgba(26, 89, 100, 0.15);
    margin: 20px 0;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-bottom: 20px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 24px;
    color: #AEC4C7;
    margin-bottom: 15px;
}

.secure-checkout-text {
    text-align: center;
    font-size: 12px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.secure-checkout-text i {
    color: #27AE60;
}

/* ==========================================================================
   WISHLIST PAGE STYLES
   ========================================================================== */
.wishlist-main-section {
    padding: 60px 0 100px;
    background-color: var(--bg-color);
}

.wishlist-header-title {
    margin-bottom: 40px;
    text-align: center;
}

.wishlist-header-title h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.wishlist-header-title p {
    font-size: 16px;
    color: var(--text-color);
}

@media screen and (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto;
        gap: 12px;
        position: relative;
    }
    
    .cart-item-image {
        grid-row: 1 / span 2;
    }
    
    .cart-item-details {
        grid-column: 2;
    }
    
    .cart-item-price {
        grid-column: 2;
        text-align: left;
    }
    
    .cart-item-qty {
        grid-column: 1 / span 2;
        justify-self: start;
        margin-top: 10px;
    }
    
    .cart-item-remove {
        position: absolute;
        top: 20px;
        right: 0;
    }
}

/* ==========================================================================
   Section Title Scroll-Triggered Typing Animation
   ========================================================================== */
.typing-active-container {
    position: relative;
    visibility: visible;
}

.type-word {
    display: inline-block;
    white-space: nowrap;
    vertical-align: baseline;
}

.type-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.12s cubic-bezier(0.2, 0.8, 0.4, 1), transform 0.12s cubic-bezier(0.2, 0.8, 0.4, 1);
    will-change: opacity, transform;
    vertical-align: baseline;
}

.type-char.is-typed {
    opacity: 1;
    transform: translateY(0);
}

.type-cursor {
    display: inline-block;
    width: 0;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    position: relative;
    pointer-events: none;
}

.type-cursor::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 2px;
    width: 2.5px;
    height: 82%;
    background-color: currentColor;
    border-radius: 1px;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.type-cursor.active::after {
    opacity: 0.9;
    animation: typingCaretBlink 0.65s infinite ease-in-out;
}

.type-cursor.fade-out::after {
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes typingCaretBlink {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .type-char {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .type-cursor {
        display: none !important;
    }
}

