/* WordPress markup adaptations; original storefront.css remains unchanged. */
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{clip:auto;width:auto;height:auto;position:fixed;top:10px;left:10px;z-index:100;background:var(--card);padding:12px}
.menu-list{list-style:none;margin:0;padding:0;display:flex;gap:30px;align-items:center}
.menu-list .current-menu-item>a,.menu-list .current-menu-ancestor>a{color:var(--teal)}
.menu-list li{position:relative}.menu-list .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:180px;padding:12px;list-style:none;background:var(--card);border:1px solid var(--border);border-radius:12px;z-index:30}
.menu-list li:hover>.sub-menu,.menu-list li:focus-within>.sub-menu{display:grid;gap:10px}
.custom-logo-link img{width:150px;height:55px;object-fit:contain}
.mobile-disclosure{display:none}.ticket-caption{color:#2dd4bf}.hero h1{max-width:530px}
.home-steps>summary{display:none}
.header-contact{border-bottom:1px solid var(--border);background:var(--card)}
.social-contact{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 16px}
.contact-phone{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--muted);font-size:12px;font-weight:600}
.contact-phone svg{width:17px;height:17px;color:var(--teal)}
.contact-phone:hover{color:var(--teal)}
.social-links{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.social-link{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;color:var(--muted)}
.social-link:hover,.social-link:focus-visible{background:var(--soft);color:var(--teal)}
.social-link svg{width:20px;height:20px}
.bundle-intro{margin-bottom:35px}.bundle-intro p{margin-top:12px}
.search-wrap{display:flex;gap:10px}.search-wrap input{min-width:0}.search-submit{flex-shrink:0}
.entry-content{overflow-wrap:anywhere}.entry-content>*+*{margin-top:20px}.entry-content a:not(.btn):not(.button){color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.entry-content h2,.entry-content h3{margin-top:30px}.content-prose p{white-space:normal}.entry-content ul,.entry-content ol{padding-left:24px;color:var(--muted)}
.entry-content img{height:auto}.entry-content figure{margin-left:0;margin-right:0}.entry-content blockquote{margin:24px 0;padding:16px 24px;border-left:3px solid var(--teal);background:var(--soft)}
.entry-content table{width:100%;border-collapse:collapse}.entry-content th,.entry-content td{padding:12px;border:1px solid var(--border)}
.entry-content pre{overflow-x:auto;padding:20px;background:var(--card);border:1px solid var(--border);border-radius:12px}
.entry-content .alignwide{max-width:1184px}.post-card{display:flex;flex-direction:column;gap:18px}.post-card h2{font-size:23px}.post-card img,.post-cover{border-radius:16px;height:auto}.post-card .eyebrow{margin:0}.post-card .text-link{margin-top:auto}
.navigation.pagination,.post-navigation{margin-top:30px}.nav-links{display:flex;gap:16px;flex-wrap:wrap}.page-numbers{padding:8px 14px;border:1px solid var(--border);border-radius:8px}.page-numbers.current{color:var(--teal)}
.comment-list{padding-left:20px}.comment-body{padding:20px 0;border-bottom:1px solid var(--border)}.comment-form label{display:block}.comment-form input:not([type=checkbox]),.comment-form textarea{max-width:100%;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--input);color:var(--text)}
/* Initial Woo form integration; detailed commerce parity is a later checkpoint. */
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woo-content input[type=text],.woo-content input[type=email],.woo-content input[type=password],.woo-content input[type=tel]{min-height:46px;border:1px solid var(--border);border-radius:10px;background:var(--input);color:var(--text);padding:10px 14px;max-width:100%}
.woocommerce div.product .product_title{font-size:clamp(28px,4vw,44px)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--teal)}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{padding:13px 20px;border-radius:12px;background:var(--teal);color:#061b18;border:1px solid transparent;line-height:1.4}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--teal);color:#061b18}.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled]{opacity:.5;color:#061b18}
:root[data-theme=light] .woocommerce .button{color:white}.woocommerce-info,.woocommerce-message,.woocommerce-error{background:var(--card);color:var(--text);border-top-color:var(--teal)}
.woocommerce table.shop_table{border-color:var(--border);background:var(--card)}.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:var(--border)}
.woocommerce #payment,.woocommerce-checkout #payment,.woocommerce #payment div.payment_box{background:var(--card);color:var(--text)}.woocommerce-checkout #payment ul.payment_methods{border-color:var(--border)}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;display:grid;gap:10px}.woocommerce-MyAccount-navigation a{display:block;padding:12px;border:1px solid var(--border);border-radius:10px}.woocommerce-MyAccount-navigation .is-active a{background:var(--soft);color:var(--teal)}
body.admin-bar .header{top:32px}.woocommerce .quantity .qty{padding:8px;background:var(--input);border:1px solid var(--border);border-radius:8px;color:var(--text)}
@media(max-width:1020px){.menu-list{gap:18px}}
@media(max-width:782px){body.admin-bar .header{top:46px}}
@media(max-width:780px){.custom-logo-link img{width:130px;height:45px}}
@media(max-width:600px){body.admin-bar .header{top:0}.search-wrap{flex-wrap:wrap}.search-wrap input{flex:1;min-width:170px}.search-submit{min-height:50px}}
@media(max-width:480px){.custom-logo-link img{width:108px}.hero h1{max-width:350px}}

/* Mobile navigation stays a native disclosure, including without JavaScript. */
@media (max-width: 780px) {
    .header-inner { gap: 10px; }
    .header-actions { gap: 6px; }
    .header-actions .sign-in { display: none; }
    .header-actions .icon-btn { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 10px; }
    .mobile-disclosure { display: block; }
    .mobile-menu-label { display: none; }
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        min-height: 38px;
        padding: 0;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: var(--card);
        color: var(--text);
        font-size: 13px;
        font-weight: 700;
        list-style: none;
        cursor: pointer;
    }
    .mobile-menu-toggle::-webkit-details-marker { display: none; }
    .mobile-menu-toggle::marker { content: ''; }
    .mobile-menu-toggle svg { width: 22px; height: 22px; }
    .mobile-menu-close-icon { display: none; }
    .mobile-disclosure[open] .mobile-menu-open-icon { display: none; }
    .mobile-disclosure[open] .mobile-menu-close-icon { display: flex; }
    .mobile-disclosure[open] .mobile-menu-toggle { background: var(--soft); border-color: var(--teal); color: var(--teal); }
    .mobile-menu-panel {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100dvh - 130px);
        overflow-y: auto;
        padding: 16px max(16px, calc((100vw - 1184px) / 2));
        background: var(--card);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .mobile-menu { display: grid; gap: 4px; }
    .mobile-menu a, .mobile-menu-account {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 16px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
    }
    .mobile-menu a:hover, .mobile-menu a:focus-visible { background: var(--soft); color: var(--teal); }
    .mobile-menu .sub-menu {
        position: static;
        display: grid;
        gap: 4px;
        min-width: 0;
        margin-left: 16px;
        padding: 0 0 0 12px;
        border: 0;
        border-left: 1px solid var(--border);
        border-radius: 0;
        background: transparent;
    }
    .mobile-menu-account { margin-top: 12px; background: var(--soft); color: var(--teal); }

    /* Put plans first; decorative artwork and repeated supporting copy stay on desktop. */
    .home .hero { padding: 28px 0 20px; }
    .home .hero-layout { gap: 0; }
    .home .hero .ticket-stage, .home .hero .trust-line { display: none; }
    .home .hero h1 { margin-top: 14px; font-size: clamp(30px, 7.8vw, 38px); }
    .home .hero p { margin-top: 14px; font-size: 13px; line-height: 1.7; }
    .home .hero-buttons { margin-top: 18px; }
    .home .hero-buttons .btn { min-height: 44px; font-size: 12px; }
    .home .search-wrap { margin: 4px 0 14px; }
    .home .filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 8px; }
    .home .filter { flex-shrink: 0; min-height: 40px; padding: 10px 14px; }
    .home .section { padding: 20px 0 24px; }
    .home .section-heading { gap: 12px; margin-bottom: 18px; align-items: center; }
    .home .section-heading h2 { font-size: 23px; }
    .home .section-heading p { display: none; }
    .home .section-heading .text-link { font-size: 12px; }
    .home .grid { gap: 12px; }
    .home-steps { margin: 8px 0 24px; }
    .home-steps>summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 48px;
        padding: 14px 18px;
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 16px;
        font-weight: 700;
        list-style: none;
        cursor: pointer;
    }
    .home-steps>summary::-webkit-details-marker { display: none; }
    .home-steps>summary svg { color: var(--teal); transform: rotate(90deg); }
    .home-steps[open]>summary { border-bottom: 0; border-radius: 16px 16px 0 0; }
    .home-steps[open]>summary svg { transform: rotate(-90deg); }
    .home-steps .step-strip { margin: 0; padding: 18px; gap: 16px; border-top: 0; border-radius: 0 0 16px 16px; }
    .home .footer { margin-top: 32px; }
}

@media (max-width: 480px) {
    .home .product-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 18px; border-radius: 18px; }
    .home .product-card-top { grid-column: 1; grid-row: 1; }
    .home .product-card-top .chip, .home .product-copy .category { display: none; }
    .home .product-card .tool-icon { width: 44px; height: 44px; border-radius: 12px; }
    .home .product-card .tool-icon img { width: 32px; height: 32px; }
    .home .product-copy { grid-column: 2; grid-row: 1; margin: 0; text-align: left; }
    .home .product-copy h3 { font-size: 16px; }
    .home .product-copy p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 6px; min-height: 0; font-size: 12px; line-height: 1.6; }
    .home .product-card .stock-status { grid-column: 1/-1; justify-self: start; margin: 0; }
    .home .product-card .card-price { grid-column: 1/-1; padding: 12px 0 0; }
    .home .product-card>.btn { grid-column: 1/-1; min-height: 44px; }
}

.store-currency-switcher {
    display: flex;
    align-items: center;
}
.store-currency-switcher form {
    margin: 0;
    display: flex;
    align-items: center;
}
.store-currency-switcher select {
    min-height: 38px;
    height: 38px;
    max-width: 78px;
    padding: 6px 20px 6px 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
}
:root[data-theme=light] .store-currency-switcher select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23007b70' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.store-currency-switcher select:hover,
.store-currency-switcher select:focus-visible {
    border-color: var(--teal);
    background-color: var(--soft);
}
@media (max-width: 780px) {
    .store-currency-switcher select {
        min-height: 38px;
        height: 38px;
        max-width: 74px;
        font-size: 11px;
    }
}

.cart-count {
    position: absolute;
    right: -2px;
    top: -3px;
    background: var(--teal);
    color: #061b18;
    font-size: 10px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
:root[data-theme=light] .cart-count {
    background: var(--teal);
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 123, 112, 0.35);
}

/* ==========================================================================
   Blog Section, View Transitions & Performance Enhancements
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
    @view-transition {
        navigation: auto;
    }

    .header {
        view-transition-name: site-header;
    }

    .footer {
        view-transition-name: site-footer;
    }

    main#main {
        view-transition-name: site-main;
    }

    ::view-transition-old(site-main) {
        animation: 130ms cubic-bezier(0.4, 0, 1, 1) both fade-out;
    }

    ::view-transition-new(site-main) {
        animation: 190ms cubic-bezier(0, 0, 0.2, 1) both fade-in;
    }
}

@keyframes fade-out {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-3px); }
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: start;
}
.blog-category-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

/* Blog Card */
.blog-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    border-radius: 20px;
}
.blog-card:hover {
    border-color: #2dd4bf60;
    transform: translateY(-3px);
}
.blog-card-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--input);
}
.blog-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-card:hover .blog-card-thumb {
    transform: scale(1.03);
}
.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
    gap: 12px;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--muted);
}
.blog-card-time {
    display: inline-flex;
    align-items: center;
}
.blog-card-date {
    margin-left: auto;
}
.blog-card-title {
    font-size: 19px;
    line-height: 1.35;
    font-weight: 750;
    margin: 0;
}
.blog-card-title a {
    color: var(--text);
    transition: color 0.15s;
}
.blog-card-title a:hover {
    color: var(--teal);
}
.blog-card-excerpt {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.blog-card-link {
    margin-top: auto;
    padding-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
}
.blog-pagination {
    margin-top: 36px;
}

/* Blog Sidebar */
.blog-sidebar {
    display: grid;
    gap: 22px;
    position: sticky;
    top: 96px;
}
.sidebar-widget {
    padding: 24px;
}
.sidebar-widget-header {
    margin-bottom: 18px;
}
.sidebar-widget-title {
    font-size: 17px;
    margin-top: 4px;
}

/* Widget 1: Most Viewed Posts */
.popular-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}
.popular-post-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.popular-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--input);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--teal);
    flex-shrink: 0;
}
.popular-post-info {
    flex: 1;
    min-width: 0;
}
.popular-post-title {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
}
.popular-post-title a:hover {
    color: var(--teal);
}
.popular-post-meta {
    font-size: 11px;
    margin-top: 5px;
    display: flex;
    gap: 6px;
    align-items: center;
}

/* Widget 2: Trending Plans */
.trending-products-list {
    display: grid;
    gap: 16px;
}
.trending-product-item {
    padding: 14px;
    background: var(--input);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: grid;
    gap: 12px;
    transition: border-color 0.15s;
}
.trending-product-item:hover {
    border-color: #2dd4bf60;
}
.trending-product-top {
    display: flex;
    gap: 12px;
    align-items: center;
}
.tool-icon-sm {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 12px;
}
.tool-icon-sm img {
    width: 28px;
    height: 28px;
}
.chip-xs {
    font-size: 9px;
    padding: 2px 7px;
}
.trending-product-details {
    flex: 1;
    min-width: 0;
}
.trending-product-title {
    font-size: 13px;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.trending-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 10px;
    gap: 10px;
}
.trending-product-price strong {
    font-size: 14px;
    color: var(--text);
}
.trending-product-price del {
    color: var(--muted);
    font-size: 11px;
    margin-right: 4px;
}
.trending-product-price ins {
    text-decoration: none;
}

/* Widget 3: Categories */
.product-cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--input);
    border: 1px solid var(--border);
    border-radius: 99px;
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    transition: all 0.15s;
}
.product-cat-chip:hover {
    color: var(--teal);
    border-color: var(--teal);
    background: var(--soft);
}
.product-cat-count {
    opacity: 0.7;
    font-size: 10px;
}
.sidebar-catalog-link {
    margin-top: 16px;
    font-size: 11px;
}

/* Single Article Details */
.single-article-layout {
    margin-top: 10px;
}
.single-article-header {
    margin-bottom: 24px;
}
.blog-article-chip {
    margin-bottom: 14px;
}
.single-article-title {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
}
.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.article-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.article-author-avatar img {
    border-radius: 50%;
    width: 36px;
    height: 36px;
}
.article-author-name {
    font-size: 13px;
    color: var(--text);
}
.single-featured-media {
    margin: 24px 0 32px;
}
.single-featured-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--border);
}
.article-body {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text);
}
.article-body p {
    color: var(--muted);
}
.article-body h2 {
    font-size: 24px;
    margin-top: 38px;
    margin-bottom: 14px;
    color: var(--text);
}
.article-body h3 {
    font-size: 19px;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--text);
}

/* In-Post Product Callout Banner */
.blog-product-callout {
    margin: 36px 0;
    padding: 24px;
    border: 1px solid var(--teal);
    background: linear-gradient(135deg, color-mix(in srgb, var(--card) 90%, var(--teal) 10%), var(--card));
    border-radius: 20px;
    display: grid;
    gap: 16px;
}
.blog-product-callout-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}
.blog-product-tag {
    margin: 0;
}
.blog-product-callout-main {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.blog-product-callout-content {
    flex: 1;
    min-width: 0;
}
.blog-product-callout-title {
    font-size: 18px;
    margin-bottom: 6px;
}
.blog-product-callout-title a:hover {
    color: var(--teal);
}
.blog-product-callout-desc p {
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}
.blog-product-callout-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    gap: 16px;
    flex-wrap: wrap;
}
.blog-product-callout-price strong {
    display: block;
    font-size: 20px;
    color: var(--teal);
    margin-top: 2px;
}
.single-article-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.article-tags {
    margin-bottom: 24px;
}
.article-tags a {
    display: inline-block;
    padding: 4px 10px;
    margin: 2px;
    background: var(--input);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 11px;
    color: var(--muted);
}
.article-tags a:hover {
    color: var(--teal);
    border-color: var(--teal);
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        position: static;
        margin-top: 20px;
    }
}
@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-card-body {
        padding: 18px;
    }
    .blog-card-title {
        font-size: 17px;
    }
}

/* ==========================================================================
   Footer Layout & Refinements
   ========================================================================== */
.footer {
    margin-top: 65px;
    border-top: 1px solid var(--border);
    padding: 56px 0 28px;
    background: color-mix(in srgb, var(--bg) 92%, #000);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) minmax(380px, 2fr);
    gap: clamp(32px, 5.5vw, 76px);
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    max-width: 380px;
}

.footer-brand .brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-brand .brand img {
    width: 145px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

.footer-copy {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}

.social-contact--footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    width: 100%;
}

.social-contact--footer .contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    min-height: 38px;
    border-radius: 99px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.social-contact--footer .contact-phone svg {
    width: 15px;
    height: 15px;
    color: var(--teal);
    flex-shrink: 0;
}

.social-contact--footer .contact-phone:hover,
.social-contact--footer .contact-phone:focus-visible {
    background: var(--soft);
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 212, 191, 0.15);
}

.social-contact--footer .social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-contact--footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--muted);
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.social-contact--footer .social-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.social-contact--footer .social-link:hover,
.social-contact--footer .social-link:focus-visible {
    background: var(--soft);
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 212, 191, 0.15);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3.5vw, 44px);
    align-items: start;
}

.footer-col,
.footer-links > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.footer-heading,
.footer-links strong {
    display: block;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.footer-links nav {
    display: block;
    width: 100%;
}

.footer-links .menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.footer-links .menu-list li {
    margin: 0;
    padding: 0;
    list-style: none;
    position: static;
}

.footer-links .menu-list a {
    display: inline-block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-links .menu-list a:hover,
.footer-links .menu-list a:focus-visible {
    color: var(--teal);
    transform: translateX(3px);
}

.footer-links .menu-list .current-menu-item > a,
.footer-links .menu-list .current-menu-ancestor > a {
    color: var(--teal);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 880px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-brand {
        max-width: 100%;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border);
    }
    .footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 680px) {
    .footer {
        padding: 38px 0 24px;
        margin-top: 44px;
    }
    .footer-top {
        gap: 28px;
    }
    .footer-brand {
        padding-bottom: 22px;
        gap: 12px;
    }
    .footer-brand .brand img {
        width: 130px;
        height: auto;
    }
    .footer-copy {
        font-size: 13px;
        line-height: 1.55;
    }
    .social-contact--footer {
        gap: 8px;
        margin-top: 2px;
    }
    .social-contact--footer .contact-phone {
        min-height: 38px;
        padding: 7px 14px;
        font-size: 12px;
    }
    .social-contact--footer .social-link {
        width: 38px;
        height: 38px;
    }
    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 20px;
        align-items: start;
    }
    .footer-col-explore {
        grid-column: 1;
        grid-row: 1 / span 2;
    }
    .footer-col-account {
        grid-column: 2;
        grid-row: 1;
    }
    .footer-col-information {
        grid-column: 2;
        grid-row: 2;
    }
    .footer-heading {
        font-size: 11px;
        letter-spacing: 0.08em;
        margin: 0 0 12px 0;
    }
    .footer-links .menu-list {
        gap: 10px;
    }
    .footer-links .menu-list a {
        font-size: 13px;
        min-height: 28px;
        display: inline-flex;
        align-items: center;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-top: 26px;
        padding-top: 18px;
        font-size: 11px;
        line-height: 1.6;
    }
}

/* ==========================================================================
   SPA Micro-Interactions, Progress Bar & Modern Cart Dock
   ========================================================================== */

/* Top Navigation Progress Bar */
.nav-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2.5px;
    z-index: 99999;
    pointer-events: none;
    transform-origin: 0 50%;
    transform: scaleX(0);
    opacity: 0;
    background: linear-gradient(90deg, var(--teal), var(--purple), var(--teal));
    background-size: 200% 100%;
    box-shadow: 0 0 10px var(--teal);
    transition: transform 0.25s cubic-bezier(0.1, 0.7, 0.1, 1), opacity 0.2s ease;
}
.nav-progress-bar.is-loading {
    opacity: 1;
    transform: scaleX(0.72);
    animation: progress-shimmer 1.8s infinite linear;
}
.nav-progress-bar.is-finishing {
    opacity: 1;
    transform: scaleX(1);
    transition: transform 0.1s ease, opacity 0.2s ease 0.1s;
}
@keyframes progress-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* AJAX Add to Cart Button States */
.single_add_to_cart_button {
    position: relative;
    transition: transform 0.15s ease, background-color 0.2s ease, opacity 0.2s ease !important;
}
.single_add_to_cart_button.is-loading {
    pointer-events: none;
    opacity: 0.85;
}
.single_add_to_cart_button.is-added {
    background: var(--teal) !important;
    color: #061b18 !important;
}
:root[data-theme="light"] .single_add_to_cart_button.is-added {
    color: #ffffff !important;
}
.spinner-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: -1px;
    margin-right: 6px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Floating Cart Notification Dock */
.aiplans-cart-dock {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    max-width: 420px;
    width: calc(100vw - 32px);
    pointer-events: none;
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1), transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}
.aiplans-cart-dock.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
}
.cart-dock-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
    background: var(--card);
    border: 1px solid var(--teal);
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(45, 212, 191, 0.15);
    backdrop-filter: blur(14px);
}
:root[data-theme="light"] .cart-dock-card {
    box-shadow: 0 16px 40px rgba(21, 34, 52, 0.12), 0 0 0 1px rgba(0, 123, 112, 0.12);
}
.cart-dock-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cart-dock-badge {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--soft);
    color: var(--teal);
    border: 1px solid rgba(45, 212, 191, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    flex-shrink: 0;
}
.cart-dock-text {
    flex: 1;
    min-width: 0;
}
.cart-dock-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.cart-dock-item {
    display: block;
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}
.cart-dock-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 4px;
}
.cart-dock-actions .btn {
    flex: 1;
    min-height: 36px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 10px;
}
.cart-dock-close {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
}
.cart-dock-close:hover {
    color: var(--text);
    border-color: var(--text);
}
@media (max-width: 600px) {
    .aiplans-cart-dock {
        right: 16px;
        left: 16px;
        bottom: 16px;
        width: auto;
    }
}
