/*
Theme Name: Classic Man's 1.0.2
Theme URI: https://classicmans.com
Author: Sabit
Description: Custom ecommerce theme for Classic Man's
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: classic-mans
Tags: ecommerce, custom-menu, custom-logo, custom-header
*/

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #1a1f36;
    --navy-light: #252b47;
    --gold: #b8960c;
    --gold-light: #d4a917;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --mid-gray: #e0e0e0;
    --dark-gray: #555555;
    --text-dark: #1a1a1a;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Raleway', 'Segoe UI', sans-serif;
    --font-nav: 'Raleway', 'Segoe UI', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--dark-gray);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   HEADER — ROW 1: ANNOUNCEMENT BAR
=========================== */
#announcement-bar {
    background-color: var(--navy);
    color: var(--white);
    text-align: left;
    padding: 9px 20px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ===========================
   HEADER — ROW 2: TOP UTILITY BAR
=========================== */
#top-utility-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--mid-gray);
    padding: 7px 0;
}

#top-utility-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-tagline {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--dark-gray);
    letter-spacing: 0.04em;
    font-style: italic;
}

.top-utility-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-utility-links a {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--dark-gray);
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.top-utility-links a:hover {
    color: var(--navy);
}

.top-utility-links .separator {
    color: var(--mid-gray);
    font-size: 0.75rem;
}

/* ===========================
   HEADER — ROW 3: MAIN HEADER
=========================== */
#main-header {
    background-color: var(--white);
    padding: 14px 0;
    border-bottom: 1px solid var(--mid-gray);
}

#main-header .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0 20px;
}

.header-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

/* Logo */
.site-logo-wrap {
    flex-shrink: 0;
}

.site-logo-wrap a {
    display: flex;
    align-items: center;
}

.site-logo-wrap img {
    height: 60px;
    width: auto;
}

.site-title-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1;
}

.site-title-text span {
    color: var(--navy);
    opacity: 0.55;
}

/* Search */
.header-search {
    max-width: 480px;
    width: 100%;
    position: relative;
}

.header-search form {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--mid-gray);
    border-radius: 4px;
    overflow: hidden;
    background: var(--light-gray);
}

.header-search .search-category {
    padding: 0 14px;
    height: 42px;
    border: none;
    border-right: 1.5px solid var(--mid-gray);
    background: var(--light-gray);
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--dark-gray);
    cursor: pointer;
    min-width: 130px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}

.header-search input[type="search"] {
    flex: 1;
    height: 42px;
    border: none;
    background: transparent;
    padding: 0 14px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-dark);
    outline: none;
}

.header-search input[type="search"]::placeholder {
    color: #aaa;
}

.header-search button[type="submit"] {
    height: 42px;
    width: 44px;
    border: none;
    background: var(--navy);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.header-search button[type="submit"]:hover {
    background: var(--navy-light);
}

.header-search button[type="submit"] svg {
    width: 18px;
    height: 18px;
}

/* Phone */
.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-phone .phone-icon {
    display: flex;
    align-items: center;
    color: var(--navy);
}

.header-phone .phone-icon svg {
    width: 20px;
    height: 20px;
}

.header-phone .phone-text {
    display: flex;
    flex-direction: column;
}

.header-phone .phone-label {
    font-size: 0.7rem;
    color: var(--dark-gray);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.header-phone .phone-number {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.header-icon-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    color: var(--navy);
    transition: color 0.2s;
}

.header-icon-btn:hover {
    opacity: 0.6;
    color: inherit;
}

.header-icon-btn svg {
    width: 24px;
    height: 24px;
}

.header-icon-btn .icon-count {
    position: absolute;
    top: -6px;
    right: -8px;
    width: 18px;
    height: 18px;
    background: var(--navy);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ===========================
   HEADER — ROW 4: NAVIGATION MENU
=========================== */
#primary-nav {
    background-color: var(--white);
    border-bottom: 1px solid var(--mid-gray);
    position: relative;
}

#primary-nav .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* WordPress nav menu */
#primary-nav .nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#primary-nav .nav-menu > li {
    position: static;
}

#primary-nav .nav-menu > li > a {
    display: block;
    padding: 14px 18px;
    font-family: var(--font-nav);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    transition: color 0.2s, background 0.2s;
}

#primary-nav .nav-menu > li > a:hover {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

#primary-nav .nav-menu > li.current-menu-item > a,
#primary-nav .nav-menu > li.current-menu-ancestor > a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

/* Chevron arrow — animates on open */
#primary-nav .nav-menu > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 7px;
    vertical-align: middle;
    transition: transform 0.25s ease;
}

#primary-nav .nav-menu > li.mega-is-open > a::after {
    transform: rotate(-135deg) translateY(2px);
}

/* ===========================
   MEGA MENU
=========================== */
.mega-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-top: 2px solid var(--navy);
    box-shadow:
        0 4px 6px rgba(26,31,54,0.04),
        0 16px 40px rgba(26,31,54,0.13),
        0 32px 64px rgba(26,31,54,0.07);
}

#primary-nav .nav-menu > li.mega-is-open > .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0s;
    pointer-events: auto;
}

.mega-menu-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 320px;
}

/* Image column */
.mega-menu-image {
    background-size: cover;
    background-position: center;
    background-color: var(--navy);
    position: relative;
    overflow: hidden;
    margin-left: -20px;
}

.mega-menu-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26,31,54,0.9) 0%,
        rgba(26,31,54,0.45) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 24px;
    gap: 5px;
}

.mega-img-label {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.mega-img-sub {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.62);
}

.mega-img-cta {
    display: inline-block;
    margin-top: 14px;
    padding: 9px 22px;
    background: var(--white);
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    width: fit-content;
    border: 2px solid var(--white);
    transition: background 0.22s, color 0.22s;
    text-decoration: none;
}

.mega-img-cta:hover {
    background: transparent;
    color: var(--white);
}

/* Links column */
.mega-menu-content {
    padding: 36px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mega-menu-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-list > li {
    border-bottom: 1px solid #f0f1f6;
}

.mega-menu-list > li > a {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 13px 6px;
    font-family: var(--font-nav);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark-gray);
    background: transparent;
    position: relative;
    transition: color 0.18s ease, padding-left 0.18s ease;
    text-decoration: none;
}

.mega-menu-list > li > a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--navy);
    margin-right: 0;
    flex-shrink: 0;
    transition: width 0.2s ease, margin-right 0.2s ease;
}

.mega-menu-list > li > a:hover {
    color: var(--navy);
    padding-left: 4px;
}

.mega-menu-list > li > a:hover::before {
    width: 16px;
    margin-right: 8px;
}

/* Nested sub-list inside mega menu (depth 2) */
.mega-sub-list {
    list-style: none;
    padding: 0 0 0 16px;
    margin: 0;
}

.mega-sub-list li a {
    display: block;
    padding: 6px 0;
    font-size: 0.7rem;
    color: rgba(26,31,54,0.55);
    transition: color 0.15s;
    text-decoration: none;
}

/* No menu fallback */
.no-menu-notice {
    padding: 14px 18px;
    font-size: 0.8rem;
    color: var(--dark-gray);
    font-style: italic;
}

/* ===========================
   LAYOUT CONTAINER
=========================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   MAIN CONTENT AREA
=========================== */
#main-content {
    min-height: 60vh;
    padding: 40px 0;
}

.front-page #main-content {
    padding-top: 0;
}

/* ===========================
   HERO SECTION — SLIDER
=========================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--navy);
}

/* Background slides */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        100deg,
        rgba(26,31,54,0.82) 0%,
        rgba(26,31,54,0.5) 55%,
        rgba(26,31,54,0.1) 100%
    );
}

/* Content panels — all stacked, one visible at a time */
.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-content.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: opacity 0.65s ease 0.45s, transform 0.65s ease 0.45s;
}

.hero-content-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.18;
    max-width: 580px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    max-width: 400px;
    line-height: 1.75;
    margin-top: 4px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 34px;
    background: var(--white);
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 2px solid var(--white);
    transition: background 0.25s, color 0.25s;
    text-decoration: none;
}

.hero-cta:hover {
    background: transparent;
    color: var(--white);
}

/* Slider controls */
.hero-controls {
    position: absolute;
    bottom: 36px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, width 0.3s ease;
}

.hero-dot.is-active {
    background: var(--white);
    width: 28px;
}

.hero-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.22s, border-color 0.22s;
    padding: 0;
    flex-shrink: 0;
}

.hero-arrow:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.5);
}

.hero-arrow svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 450px;
    }
    .hero-content-inner {
        padding: 70px 20px;
    }
    .hero-controls {
        bottom: 24px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 360px;
    }
    .hero-content-inner {
        padding: 50px 16px;
    }
    .hero-arrow {
        width: 34px;
        height: 34px;
    }
}

/* ===========================
   FOOTER
=========================== */
#site-footer {
    background: #10142a;
    color: rgba(255,255,255,0.6);
    font-family: var(--font-body);
    font-size: 0.88rem;
}

.footer-main {
    padding: 68px 0 52px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px 32px;
    align-items: start;
}

/* Brand column */
.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    display: inline-block;
    margin-bottom: 14px;
    line-height: 1;
    text-decoration: none;
}

.footer-logo-text span {
    opacity: 0.45;
}

.footer-brand-desc {
    font-size: 0.83rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.48);
    margin-bottom: 24px;
    max-width: 252px;
}

.footer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.55);
    transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.22s;
    text-decoration: none;
}

.footer-social-link:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

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

/* Footer column titles */
.footer-col-title {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 22px;
    padding-bottom: 12px;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 22px;
    height: 1.5px;
    background: rgba(255,255,255,0.25);
}

/* Footer link columns */
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col ul li a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 0;
    transition: color 0.2s, gap 0.2s, padding-left 0.2s;
    text-decoration: none;
}

.footer-col ul li a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: rgba(255,255,255,0.5);
    flex-shrink: 0;
    transition: width 0.2s ease, margin-right 0.2s ease;
    margin-right: 0;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 2px;
}

.footer-col ul li a:hover::before {
    width: 12px;
    margin-right: 6px;
}

/* Contact column */
.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.footer-contact-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(255,255,255,0.3);
}

.footer-contact-item a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-item a:hover {
    color: var(--white);
}

/* Bottom bar */
.footer-bottom {
    padding: 18px 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-copyright {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.3);
}

.footer-copyright a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-copyright a:hover {
    color: rgba(255,255,255,0.75);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.73rem;
    color: rgba(255,255,255,0.28);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: rgba(255,255,255,0.65);
}

/* ===========================
   WOOCOMMERCE BASE RESETS
=========================== */
.woocommerce-notices-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   MOBILE — HAMBURGER
=========================== */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--navy);
    margin-left: auto;
}

.hamburger-btn svg {
    width: 26px;
    height: 26px;
}

/* ===========================
   FEATURED PRODUCTS
=========================== */
.featured-products {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    border: none;
}

.section-title::before,
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--navy);
    opacity: 0.35;
}

.featured-products h2 {
    border: none;
    text-decoration: none;
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--mid-gray);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 4px 20px rgba(26, 31, 54, 0.10);
}

.product-card-image-link {
    display: block;
    overflow: hidden;
}

.product-card-image {
    position: relative;
    aspect-ratio: 5 / 6;
    overflow: hidden;
    background: var(--mid-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-card-no-image {
    color: var(--dark-gray);
    font-size: 0.8rem;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
}

.badge-sale {
    background: var(--navy);
    color: var(--white);
}

.product-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    margin: 0 0 5px;
    line-height: 1.3;
}

.product-card-title a {
    color: var(--navy);
    text-decoration: none;
}

.product-card-title a:hover {
    opacity: 0.7;
}

.product-card-price {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.product-card-price .woocommerce-Price-amount {
    color: var(--navy);
    font-weight: 600;
}

.product-card-price del {
    opacity: 0.5;
    margin-right: 6px;
}

.product-card-actions {
    margin-top: auto;
}

.product-card-actions .button,
.product-card-actions a.button {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 9px 14px;
    text-decoration: none;
    border: 2px solid var(--navy);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-sizing: border-box;
}

.product-card-actions .button:hover,
.product-card-actions a.button:hover {
    background: transparent;
    color: var(--navy);
}

/* Wishlist heart button */
.product-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    color: var(--navy);
    flex-shrink: 0;
}

.product-wishlist-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--navy);
    fill: none;
    transition: fill 0.2s, stroke 0.2s;
}

.product-wishlist-btn:hover,
.product-wishlist-btn.is-wished {
    background: var(--navy);
    transform: scale(1.08);
}

.product-wishlist-btn:hover svg,
.product-wishlist-btn.is-wished svg {
    stroke: var(--white);
    fill: var(--white);
}

.featured-products-footer {
    text-align: center;
    margin-top: 48px;
}

.btn-view-all {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: 14px 40px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-view-all:hover {
    background: var(--navy);
    color: var(--white);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1100px) {
    .header-phone {
        display: none;
    }
}

@media (max-width: 1100px) {
    .featured-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-products {
        padding: 56px 0;
    }

    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .site-title-text {
        font-size: 1.5rem;
    }

    #main-header .container {
        grid-template-columns: auto auto;
    }

    .header-middle {
        display: none;
    }

    .hamburger-btn {
        display: flex;
        align-items: center;
    }

    #primary-nav .container {
        justify-content: flex-start;
    }

    #primary-nav .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }

    #primary-nav .nav-menu.is-open {
        display: flex;
    }

    #primary-nav .nav-menu > li {
        width: 100%;
    }

    #primary-nav .nav-menu > li > a {
        padding: 12px 20px;
        border-bottom: 1px solid var(--mid-gray);
    }

    /* Mega menu mobile: stacked, no image */
    .mega-menu {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        transition: none;
        box-shadow: none;
        border-top: none;
        display: none;
    }

    #primary-nav .nav-menu > li.mega-is-open > .mega-menu {
        display: block;
    }

    .mega-menu-inner {
        display: block;
        padding: 0;
    }

    .mega-menu-image {
        display: none;
    }

    .mega-menu-content {
        padding: 0;
        background: var(--light-gray);
    }

    .mega-menu-list {
        display: block;
    }

    .mega-menu-list > li > a {
        padding: 11px 36px;
        font-size: 0.76rem;
        border-bottom: 1px solid var(--mid-gray);
        color: var(--navy);
    }

    .mega-menu-list > li > a::before {
        display: none;
    }

    #primary-nav .nav-menu > li.menu-item-has-children > a::after {
        float: right;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .featured-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-card-body {
        padding: 12px 14px 16px;
    }

    #announcement-bar {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }

    .top-tagline {
        display: none;
    }

    .header-icons {
        gap: 14px;
    }
}

/* ===========================
   FOOTER RESPONSIVE
=========================== */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        row-gap: 40px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-contact address {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px 40px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 52px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand-desc {
        max-width: 100%;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-contact address {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px 32px;
    }

    .footer-bottom .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-social-link {
        width: 34px;
        height: 34px;
    }

    .footer-contact address {
        flex-direction: column;
    }

    /* Mega menu */
    .mega-menu-list > li > a {
        padding-left: 28px;
    }
}

/* ===========================
   SHOP PAGE (archive-product)
=========================== */
.shop-header {
    padding: 36px 0 28px;
    border-bottom: 1px solid var(--mid-gray);
    margin-bottom: 36px;
}

.shop-header .woocommerce-breadcrumb {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--dark-gray);
    margin: 0 0 10px;
    letter-spacing: 0.04em;
}

.shop-header .woocommerce-breadcrumb a {
    color: var(--navy);
    text-decoration: none;
}

.shop-header .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

.shop-header-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--navy);
    margin: 0;
}

/* Mobile filter toggle — hidden on desktop */
.shop-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--white);
    border: 2px solid var(--navy);
    padding: 10px 20px;
    cursor: pointer;
    margin-bottom: 20px;
    width: 100%;
    justify-content: center;
}

/* Shop 2-column layout */
.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 80px;
}

/* Sidebar */
.shop-sidebar .widget {
    margin-bottom: 32px;
}

.shop-sidebar .widget-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--navy);
}

.shop-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar ul li {
    font-family: var(--font-body);
    font-size: 0.84rem;
    border-bottom: 1px solid var(--mid-gray);
}

.shop-sidebar ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.shop-sidebar ul li a:hover,
.shop-sidebar ul li.current-cat > a {
    color: var(--navy);
    font-weight: 600;
}

.shop-sidebar .count {
    font-size: 0.74rem;
    opacity: 0.5;
    background: var(--mid-gray);
    padding: 1px 6px;
    border-radius: 10px;
}

/* Price filter */
.shop-sidebar .price_slider_wrapper {
    margin-top: 8px;
}

.shop-sidebar .ui-slider {
    background: var(--mid-gray);
    border: none;
    height: 4px;
    border-radius: 2px;
    margin: 16px 8px;
}

.shop-sidebar .ui-slider-range {
    background: var(--navy);
}

.shop-sidebar .ui-slider-handle {
    background: var(--navy);
    border: none;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    top: -5px;
    cursor: grab;
    outline: none;
}

.shop-sidebar .price_slider_amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.shop-sidebar .price_slider_amount button {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.shop-sidebar .price_slider_amount button:hover {
    opacity: 0.8;
}

.shop-sidebar .price_slider_amount .price_label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--dark-gray);
}

/* Toolbar */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mid-gray);
}

.woocommerce-result-count {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--dark-gray);
    margin: 0;
}

.woocommerce-ordering select {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--navy);
    border: 1px solid var(--mid-gray);
    padding: 8px 12px;
    background: var(--white);
    cursor: pointer;
    outline: none;
}

/* Shop product grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* "New" badge */
.badge-new {
    background: #2d6a4f;
    color: var(--white);
}

/* Category label inside card */
.product-card-cat {
    display: block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dark-gray);
    margin-bottom: 4px;
}

.product-card-cat a {
    color: inherit;
    text-decoration: none;
}

/* Star rating in cards */
.product-card-rating {
    margin-bottom: 6px;
}

.star-rating {
    display: inline-block;
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 12px;
    width: 5.3em;
    font-family: star;
}

.star-rating::before {
    content: '\2605\2605\2605\2605\2605';
    color: var(--mid-gray);
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    letter-spacing: 3px;
}

.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.star-rating span::before {
    content: '\2605\2605\2605\2605\2605';
    top: 0;
    position: absolute;
    left: 0;
    color: #f5a623;
    letter-spacing: 3px;
}

/* Pagination */
.shop-pagination {
    margin-top: 48px;
}

.woocommerce-pagination ul {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    border: 1px solid var(--mid-gray);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li span.current {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* No products found */
.shop-no-products {
    padding: 60px 0;
    text-align: center;
    font-family: var(--font-body);
    color: var(--dark-gray);
}

/* ===========================
   SINGLE PRODUCT PAGE
=========================== */
.single-product-page {
    padding: 32px 0 0;
}

.single-product-page .woocommerce-breadcrumb {
    font-family: var(--font-body);
    font-size: 0.76rem;
    color: var(--dark-gray);
    margin-bottom: 28px;
    letter-spacing: 0.05em;
}

.single-product-page .woocommerce-breadcrumb a {
    color: var(--navy);
    text-decoration: none;
}

.single-product-page .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

/* 2-column layout */
.single-product-layout {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 64px;
}

/* --- Gallery --- */
.single-product-gallery .woocommerce-product-gallery {
    position: sticky;
    top: 24px;
}

.single-product-gallery .woocommerce-product-gallery__wrapper {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
}

.single-product-gallery .woocommerce-product-gallery__image {
    overflow: hidden;
    background: var(--light-gray);
    border-radius: 10px;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-product-gallery .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    transition: transform 0.45s ease;
}

.single-product-gallery .woocommerce-product-gallery__image:hover img {
    transform: scale(1.04);
}

.single-product-gallery .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding: 0;
    list-style: none;
}

.single-product-gallery .flex-control-thumbs li {
    width: 76px;
    height: 76px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s;
    flex-shrink: 0;
    background: var(--light-gray);
}

.single-product-gallery .flex-control-thumbs li:hover {
    border-color: var(--navy);
}

.single-product-gallery .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.single-product-gallery .flex-control-thumbs li img.flex-active {
    border: none;
}

.single-product-gallery .flex-control-thumbs li:has(img.flex-active) {
    border-color: var(--navy);
}

/* Sale badge */
.single-product-gallery .woocommerce-badge,
.single-product-page span.onsale {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #ef4444;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    z-index: 2;
    border-radius: 4px;
    min-height: auto;
    line-height: 1.5;
}

/* --- Summary --- */
.single-product-summary {
    display: flex;
    flex-direction: column;
}

.sp-category {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dark-gray);
    margin: 0 0 10px;
}

.sp-category a {
    color: inherit;
    text-decoration: none;
}

.sp-category a:hover {
    color: var(--navy);
}

.single-product-summary .product_title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--navy);
    margin: 0 0 12px;
    line-height: 1.2;
}

.single-product-summary .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.single-product-summary .woocommerce-review-link {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--dark-gray);
    text-decoration: none;
}

.single-product-summary .woocommerce-review-link:hover {
    color: var(--navy);
}

/* Price */
.single-product-summary .price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--mid-gray);
    line-height: 1.2;
}

.single-product-summary .price del {
    font-size: 1rem;
    font-weight: 400;
    color: var(--dark-gray);
    opacity: 0.65;
    order: 2;
    text-decoration: line-through;
}

.single-product-summary .price ins {
    text-decoration: none;
    color: var(--navy);
    order: 1;
}

.sp-price-badge {
    order: 3;
    display: inline-flex;
    align-items: center;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 20px;
    font-family: var(--font-body);
    white-space: nowrap;
}

/* Short description */
.single-product-summary .woocommerce-product-details__short-description {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--dark-gray);
    line-height: 1.85;
    margin-bottom: 20px;
}

/* Size selector block — sits between quantity row and buttons */
.sp-size-selector {
    padding: 16px 0;
    border-top: 1px solid var(--mid-gray);
    border-bottom: 1px solid var(--mid-gray);
    margin-bottom: 4px;
}

.sp-size-label {
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-size-chosen {
    font-weight: 600;
    color: var(--dark-gray);
    letter-spacing: 0;
    text-transform: none;
}

.sp-size-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.sp-swatch-btn {
    min-width: 46px;
    height: 40px;
    padding: 0 14px;
    border: 1.5px solid var(--mid-gray);
    border-radius: 4px;
    background: #fff;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.sp-swatch-btn:hover {
    border-color: var(--navy);
}

.sp-swatch-btn.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.sp-swatch-btn.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* Size validation error */
.sp-size-error {
    display: none;
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: #ef4444;
    margin: 0;
    padding: 6px 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
}

.sp-size-error.is-visible {
    display: block;
}

/* Disabled Add to Cart / Buy Now when size not yet chosen */
.single-product-summary .single_add_to_cart_button:disabled,
.single-product-summary .single_add_to_cart_button[aria-disabled="true"],
.sp-buy-now-btn:disabled,
.sp-buy-now-btn[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.single-product-summary table.variations {
    border: none;
    border-collapse: collapse;
    width: 100%;
}

.single-product-summary table.variations td,
.single-product-summary table.variations th {
    border: none;
    padding: 0;
    display: block;
}

.single-product-summary table.variations .label {
    display: none;
}

.single-product-summary table.variations select {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--navy);
    border: 1px solid var(--mid-gray);
    padding: 10px 14px;
    width: 100%;
    background: var(--white);
    cursor: pointer;
    border-radius: 4px;
}

.single-product-summary .reset_variations {
    font-family: var(--font-body);
    font-size: 0.74rem;
    color: var(--dark-gray);
    text-decoration: underline;
    display: inline-block;
    margin-top: 6px;
}

/* --- Cart form --- */
.single-product-summary form.cart {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

/* Row 1: wishlist + quantity */
.sp-qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Quantity: fixed width, does not stretch */
.single-product-summary .quantity {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 46px;
}

.single-product-summary .quantity .qty-wrap {
    width: 150px;
    height: 46px;
    border-radius: 6px;
}

.single-product-summary .quantity .qty-wrap .qty-btn {
    width: 42px;
    height: 46px;
    font-size: 1.15rem;
}

.single-product-summary .quantity .qty-wrap input.qty {
    flex: 1;
    height: 46px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.single-product-summary .quantity > input.qty {
    width: 100%;
    height: 46px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--navy);
    border: 1px solid var(--mid-gray);
    border-radius: 6px;
    background: var(--white);
    -moz-appearance: textfield;
    appearance: textfield;
    padding: 0;
}

.single-product-summary .quantity > input.qty::-webkit-inner-spin-button,
.single-product-summary .quantity > input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/* Wishlist: square, matches quantity height */
.sp-wishlist-inline {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1.5px solid var(--mid-gray);
    border-radius: 6px;
    color: var(--navy);
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.sp-wishlist-inline:hover,
.sp-wishlist-inline.is-wished {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
}

.sp-wishlist-inline svg {
    fill: none;
    stroke: currentColor;
    transition: fill 0.2s, stroke 0.2s;
}

.sp-wishlist-inline.is-wished svg {
    fill: currentColor;
}

/* Row 2: Add to Cart + Buy Now — auto-sized to content */
.sp-cart-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-top: 14px;
}

/* Add to cart button */
.single-product-summary .single_add_to_cart_button::before {
    content: '+ ';
}

.single-product-summary .single_add_to_cart_button {
    flex: 0 0 auto;
    width: auto;
    height: 48px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 2px solid var(--navy);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    padding: 0 16px;
}

.single-product-summary .single_add_to_cart_button:hover,
.single-product-summary .single_add_to_cart_button:focus {
    background: transparent;
    color: var(--navy);
}

.single-product-summary .single_add_to_cart_button.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Buy Now */
.sp-buy-now-btn {
    flex: 0 0 auto;
    width: auto;
    height: 48px;
    background: transparent;
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 2px solid var(--navy);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    padding: 0 16px;
}

.sp-buy-now-btn:hover,
.sp-buy-now-btn:focus {
    background: var(--navy);
    color: var(--white);
}

.single-product-summary form.cart + .product_meta::before {
    display: none;
}

/* Easy Returns panel */
.sp-returns-panel {
    border: 1px solid var(--mid-gray);
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0 0;
    font-family: var(--font-body);
}

.sp-returns-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #fff;
    cursor: pointer;
}

.sp-returns-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
}

.sp-returns-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    padding: 12px 16px;
    background: #f8fdf8;
    border-top: 1px solid #dcfce7;
}

.sp-returns-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Trust strip */
.single-product-trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 16px 0 0;
    padding: 16px 0;
    border-top: 1px solid var(--mid-gray);
}

.sp-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--dark-gray);
    letter-spacing: 0.02em;
}

.sp-trust-item svg {
    color: var(--navy);
    flex-shrink: 0;
}

/* Product meta */
.single-product-summary .product_meta {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--mid-gray);
    line-height: 2;
}

.single-product-summary .product_meta > span {
    display: block;
}

.single-product-summary .product_meta a {
    color: var(--navy);
    text-decoration: none;
}

.single-product-summary .product_meta a:hover {
    text-decoration: underline;
}

/* ===========================
   AFTER SUMMARY
   (tabs + related + upsells)
=========================== */
body.single-product .woocommerce-tabs.wc-tabs-wrapper,
body.single-product div.woocommerce-tabs {
    background: var(--white) !important;
    border-top: 3px solid var(--navy);
    padding: 0 40px 80px !important;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Tabs nav */
body.single-product .woocommerce-tabs .tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    border-bottom: 2px solid var(--mid-gray);
    flex-wrap: wrap;
}

body.single-product .woocommerce-tabs .tabs li {
    margin: 0;
    list-style: none;
}

body.single-product .woocommerce-tabs .tabs li a {
    display: block;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--dark-gray);
    text-decoration: none;
    padding: 14px 28px;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

body.single-product .woocommerce-tabs .tabs li.active a,
body.single-product .woocommerce-tabs .tabs li a:hover {
    color: var(--navy);
    border-bottom-color: var(--navy);
}

/* Tab panels */
body.single-product .woocommerce-tabs .panel {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.85;
    padding: 48px 0 0;
    max-width: 860px;
    background: transparent;
}

/* Hide the tab panel's auto-injected "Description" / "Reviews" heading */
body.single-product .woocommerce-tabs .panel > h2:first-child,
body.single-product #tab-description > h2:first-child {
    display: none;
}

body.single-product .woocommerce-tabs .panel p,
body.single-product .woocommerce-tabs .panel li {
    color: var(--dark-gray);
    font-family: var(--font-body);
}

body.single-product .woocommerce-tabs .panel a {
    color: var(--navy) !important;
    text-decoration: underline;
}

/* ── Description panel ─────────────────────────────────────── */
body.single-product #tab-description {
    color: var(--dark-gray);
}

/* Headings entered in the editor */
body.single-product #tab-description h2,
body.single-product #tab-description h3 {
    font-family: var(--font-heading);
    color: var(--navy) !important;
    line-height: 1.3;
    margin: 32px 0 12px;
}
body.single-product #tab-description h2 { font-size: 1.4rem; }
body.single-product #tab-description h3 { font-size: 1.1rem; }

/* h4 / h5 treated as section labels */
body.single-product #tab-description h4,
body.single-product #tab-description h5 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--navy) !important;
    margin: 28px 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--mid-gray);
}

/* Body paragraphs */
body.single-product #tab-description p {
    color: var(--dark-gray) !important;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

/* Bold text that fills an entire paragraph — e.g. "Key Features:" */
body.single-product #tab-description p > strong:only-child {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--navy) !important;
    display: block;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--mid-gray);
}

/* All strong / em */
body.single-product #tab-description strong {
    color: var(--navy) !important;
    font-weight: 700;
}

body.single-product #tab-description em {
    color: inherit;
}

/* Links inside description */
body.single-product #tab-description a {
    color: var(--navy) !important;
    text-decoration: underline;
}

body.single-product #tab-description img {
    max-width: 100%;
    height: auto;
    display: block;
}

body.single-product #tab-description table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.single-product #tab-description table th,
body.single-product #tab-description table td {
    padding: 8px 12px;
    border: 1px solid var(--mid-gray);
    white-space: nowrap;
}

/* Unordered list — em-dash bullets */
body.single-product #tab-description ul {
    list-style: none;
    padding: 0;
    margin: 4px 0 24px;
}

body.single-product #tab-description ul li {
    padding-left: 22px;
    position: relative;
    margin-bottom: 9px;
    color: var(--dark-gray) !important;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
}

body.single-product #tab-description ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.85em;
}

/* Ordered list */
body.single-product #tab-description ol {
    padding-left: 20px;
    margin: 4px 0 24px;
}

body.single-product #tab-description ol li {
    margin-bottom: 8px;
    color: var(--dark-gray) !important;
}

/* ── Rating summary banner ────────────────────────────────── */
.cm-rating-summary {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 32px 36px;
    background: var(--navy);
    margin-bottom: 48px;
}

.cm-rating-score {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.cm-rating-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cm-rating-right .star-rating {
    font-size: 20px;
}

.cm-rating-right .star-rating::before {
    color: rgba(255, 255, 255, 0.25);
}

.cm-rating-right .star-rating span::before {
    color: #f5c842;
}

.cm-rating-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

/* Reviews — section title */
body.single-product #reviews .woocommerce-Reviews-title {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0 0 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mid-gray);
}

/* Review list */
body.single-product #reviews #comments ol.commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

body.single-product #reviews #comments ol.commentlist li {
    list-style: none;
}

/* Review card */
body.single-product #reviews #comments ol.commentlist li .comment_container {
    display: flex;
    gap: 24px;
    background: transparent;
    border: none;
    border-top: 1px solid var(--mid-gray);
    padding: 32px 0;
}

body.single-product #reviews #comments ol.commentlist li:first-child .comment_container {
    border-top: none;
    padding-top: 0;
}

/* Avatar */
body.single-product #reviews #comments ol.commentlist li img.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--navy);
    flex-shrink: 0;
    object-fit: cover;
    opacity: 0.85;
}

/* Review meta row */
body.single-product #reviews .comment-text .meta {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--dark-gray);
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-bottom: 14px;
}

body.single-product #reviews .comment-text .meta strong {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.92rem;
    font-family: var(--font-heading);
}

body.single-product #reviews .comment-text .meta time {
    font-size: 0.72rem;
    color: #aaa;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Stars in existing reviews — push to right */
body.single-product #reviews .comment-text .meta .star-rating {
    margin-left: auto;
    font-size: 14px;
}

/* Review text */
body.single-product #reviews .comment-text .description p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.85;
    margin: 0;
}

/* No reviews notice */
body.single-product #reviews #comments .woocommerce-noreviews {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: italic;
    color: #999;
    text-align: center;
    padding: 48px 0 32px;
    margin: 0;
    border: none;
    background: transparent;
    letter-spacing: 0.02em;
}

/* Verification / login required notice */
body.single-product #reviews .woocommerce-verification-required {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--dark-gray);
    background: var(--light-gray);
    border-left: 3px solid var(--navy);
    padding: 16px 20px;
    margin: 0 0 0;
}

body.single-product #reviews .woocommerce-verification-required a {
    color: var(--navy);
    text-decoration: underline;
    font-weight: 600;
}

body.single-product #reviews p.must-log-in,
body.single-product #reviews p.logged-in-as {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--dark-gray);
    margin-bottom: 12px;
}

body.single-product #reviews p.must-log-in a,
body.single-product #reviews p.logged-in-as a {
    color: var(--navy);
    text-decoration: underline;
}

/* ── Review Form ─────────────────────────────────────────────── */
body.single-product #reviews #respond {
    background: var(--light-gray);
    border: 1px solid var(--mid-gray);
    border-top: 3px solid var(--navy);
    padding: 32px 36px;
    margin-top: 40px;
}

body.single-product #reviews #review_form_wrapper {
    margin-top: 0;
}

body.single-product #review_form .comment-reply-title {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mid-gray);
}

/* Field labels */
body.single-product #review_form label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    display: block;
    margin-bottom: 7px;
}

/* ── Star picker widget ───────────────────────────────────────── */
body.single-product #review_form .comment-form-rating {
    margin-bottom: 20px;
}

body.single-product #review_form p.stars {
    margin: 0;
    line-height: 1;
}

body.single-product #review_form p.stars span {
    display: inline-flex;
    gap: 3px;
}

body.single-product #review_form p.stars a {
    display: inline-block;
    width: 32px;
    height: 32px;
    font-size: 0;
    text-decoration: none;
    text-indent: 0;
    overflow: visible;
    position: relative;
}

body.single-product #review_form p.stars a::before {
    content: '★';
    font-family: inherit;
    font-size: 28px;
    line-height: 1;
    display: block;
    color: var(--mid-gray);
    transition: color 0.1s, transform 0.12s;
    text-indent: 0;
    position: static;
    opacity: 1;
}

/* Hover: light up all stars up to the one being hovered */
body.single-product #review_form p.stars:hover a::before {
    color: #f5a623;
}

body.single-product #review_form p.stars a:hover ~ a::before {
    color: var(--mid-gray) !important;
    opacity: 1 !important;
}

/* Slight scale on hover */
body.single-product #review_form p.stars a:hover::before {
    transform: scale(1.15);
}

/* Selected state (WooCommerce adds .selected to p.stars, .active to clicked star) */
body.single-product #review_form p.stars.selected a:not(.active)::before {
    color: #f5a623;
}

body.single-product #review_form p.stars.selected a.active::before {
    color: #f5a623;
}

body.single-product #review_form p.stars.selected a.active ~ a::before {
    color: var(--mid-gray) !important;
    opacity: 1 !important;
}

/* ── Form fields ─────────────────────────────────────────────── */

/* Make commentform a flex-wrap container so fields align cleanly */
body.single-product #review_form #commentform {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Full-width fields */
body.single-product #review_form .comment-form-rating,
body.single-product #review_form .comment-form-comment,
body.single-product #review_form .form-submit {
    flex: 0 0 100%;
}

/* Name + Email side by side */
body.single-product #review_form .comment-form-author,
body.single-product #review_form .comment-form-email {
    flex: 1 1 calc(50% - 8px);
    min-width: 180px;
    margin-bottom: 0;
}

body.single-product #review_form input[type="text"],
body.single-product #review_form input[type="email"],
body.single-product #review_form textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--navy);
    border: 1px solid var(--mid-gray);
    border-radius: 2px;
    padding: 12px 16px;
    margin-bottom: 0;
    box-sizing: border-box;
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

body.single-product #review_form textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.7;
}

body.single-product #review_form input[type="text"]:focus,
body.single-product #review_form input[type="email"]:focus,
body.single-product #review_form textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26, 31, 54, 0.08);
}

/* Submit */
body.single-product #review_form .form-submit {
    margin: 4px 0 0;
}

body.single-product #review_form input[type="submit"] {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 2px solid var(--navy);
    border-radius: 2px;
    padding: 14px 40px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

body.single-product #review_form input[type="submit"]:hover {
    background: transparent;
    color: var(--navy);
}

/* Related & Upsell grids */
body.single-product .related,
body.single-product .up-sells {
    margin-top: 60px;
}

body.single-product .related > h2,
body.single-product .up-sells > h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    border: none;
    text-decoration: none;
}

body.single-product .related > h2::before,
body.single-product .related > h2::after,
body.single-product .up-sells > h2::before,
body.single-product .up-sells > h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--navy);
    opacity: 0.3;
}

body.single-product ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

body.single-product ul.products li.product {
    list-style: none;
    background: var(--white);
    border: 1px solid var(--mid-gray);
    position: relative;
    transition: box-shadow 0.2s;
}

body.single-product ul.products li.product:hover {
    box-shadow: 0 4px 20px rgba(26, 31, 54, 0.10);
}

body.single-product ul.products li.product .woocommerce-LoopProduct-link,
body.single-product ul.products li.product .woocommerce-loop-product__link {
    display: block;
    overflow: hidden;
    text-decoration: none;
}

body.single-product ul.products li.product img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

body.single-product ul.products li.product:hover img {
    transform: scale(1.04);
}

body.single-product ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--navy);
    margin: 12px 16px 6px;
    text-decoration: none;
    display: block;
}

body.single-product ul.products li.product .price {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 16px 14px;
    display: block;
    text-decoration: none;
}

body.single-product ul.products li.product .button {
    display: block;
    margin: 0 16px 16px;
    text-align: center;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px;
    text-decoration: none;
    border: 2px solid var(--navy);
    transition: background 0.2s, color 0.2s;
}

body.single-product ul.products li.product .button:hover {
    background: transparent;
    color: var(--navy);
}

body.single-product ul.products li.product .onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 9px;
    z-index: 2;
    border-radius: 0;
    min-height: auto;
    line-height: 1.6;
}

/* ===========================
   FEATURES STRIP
=========================== */
.features-strip {
    padding: 52px 0;
    background: var(--white);
    border-top: 1px solid var(--mid-gray);
    border-bottom: 1px solid var(--mid-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.feature-icon {
    color: var(--navy);
    flex-shrink: 0;
    line-height: 0;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--navy);
    margin: 0;
    line-height: 1.3;
}

.feature-desc {
    font-family: var(--font-body);
    font-size: 0.84rem;
    color: var(--dark-gray);
    line-height: 1.65;
    margin: 0;
}

/* ===========================
   PROMO BANNERS
=========================== */
.promo-banners {
    padding: 52px 0;
    background: var(--light-gray);
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.promo-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
}

.promo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 18, 38, 0.78) 0%,
        rgba(15, 18, 38, 0.25) 55%,
        transparent 100%
    );
    border-radius: inherit;
}

.promo-card-inner {
    position: relative;
    z-index: 1;
    padding: 28px 32px;
    width: 100%;
}

.promo-discount {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--white);
    color: var(--navy);
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.promo-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    color: var(--white);
    margin: 0 0 18px;
    line-height: 1.2;
    max-width: 240px;
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.75);
    padding: 10px 22px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, border-color 0.2s;
}

.promo-cta:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

/* ===========================
   BEST SELLING SECTION
=========================== */
.best-selling-section {
    padding: 72px 0 80px;
    background: var(--white);
}

.best-selling-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1100px) {
    .best-selling-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .best-selling-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .best-selling-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* ===========================
   OFFER BANNER SLIDER
=========================== */
.offer-banner-section {
    padding: 0 0 72px;
    background: var(--white);
}

.offer-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 420px;
    user-select: none;
}

.offer-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s ease;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.offer-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.offer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 12, 28, 0.88) 0%,
        rgba(10, 12, 28, 0.55) 42%,
        rgba(10, 12, 28, 0.10) 70%,
        transparent 100%
    );
}

.offer-content {
    position: relative;
    z-index: 1;
    padding: 0 56px;
    max-width: 500px;
}

.offer-badge {
    display: inline-block;
    background: var(--white);
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.offer-discount {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.offer-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
    margin: 0 0 28px;
}

.offer-cta {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--white);
    padding: 13px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.offer-cta:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* Dots */
.offer-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.offer-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}

.offer-dot.is-active {
    background: var(--white);
    transform: scale(1.35);
}

/* Responsive */
@media (max-width: 768px) {
    .offer-slider {
        height: 340px;
        border-radius: 10px;
    }

    .offer-content {
        padding: 0 32px;
    }

    .offer-discount {
        font-size: 3rem;
    }

    .offer-desc {
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .offer-slider {
        height: 300px;
    }

    .offer-content {
        padding: 0 22px;
    }

    .offer-discount {
        font-size: 2.4rem;
    }

    .offer-badge {
        font-size: 0.66rem;
        padding: 4px 12px;
    }
}

/* Features + Promo responsive */
@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 40px;
    }
}

@media (max-width: 768px) {
    .features-strip {
        padding: 40px 0;
    }

    .promo-banners {
        padding: 40px 0;
    }

    .promo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .promo-card {
        min-height: 280px;
    }

    .promo-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
    }

    .feature-icon svg {
        width: 30px;
        height: 30px;
    }

    .feature-title {
        font-size: 0.88rem;
    }

    .promo-card-inner {
        padding: 22px 20px;
    }

    .promo-title {
        font-size: 1.25rem;
    }
}

/* ===========================
   SHOP / SINGLE PRODUCT
   RESPONSIVE
=========================== */
@media (max-width: 1100px) {
    .shop-layout {
        grid-template-columns: 210px 1fr;
        gap: 32px;
    }

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

    .single-product-layout {
        grid-template-columns: 40% 1fr;
        gap: 36px;
    }

    body.single-product ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .single-product-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 48px;
    }

    .single-product-gallery .woocommerce-product-gallery {
        position: static;
    }

    .single-product-gallery .woocommerce-product-gallery__image {
        max-height: 340px;
    }

    .single-product-gallery .woocommerce-product-gallery__image img {
        max-height: 340px;
    }
}

@media (max-width: 768px) {
    .shop-filter-toggle {
        display: flex;
    }

    .shop-sidebar {
        display: none;
        width: 100%;
    }

    .shop-sidebar.is-open {
        display: block;
    }

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

    .single-product-page {
        padding: 20px 0 0;
    }

    .single-product-page .woocommerce-breadcrumb {
        margin-bottom: 20px;
    }

    .single-product-summary .product_title {
        font-size: 1.55rem;
    }

    .single-product-summary .price {
        font-size: 1.35rem;
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    body.single-product ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    body.single-product .woocommerce-tabs.wc-tabs-wrapper,
    body.single-product div.woocommerce-tabs {
        padding: 0 20px 60px !important;
    }

    body.single-product .woocommerce-tabs .tabs li a {
        padding: 12px 14px;
        font-size: 0.72rem;
    }

    body.single-product .woocommerce-tabs .panel {
        padding-top: 32px;
    }

    body.single-product #tab-description h2 { font-size: 1.25rem; }
    body.single-product #tab-description h3 { font-size: 1rem; }

    body.single-product #reviews #respond {
        padding: 24px 20px;
    }

    body.single-product #review_form .comment-form-author,
    body.single-product #review_form .comment-form-email {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-bottom: 16px;
    }

    body.single-product #reviews #comments ol.commentlist li .comment_container {
        padding: 18px 16px;
        gap: 14px;
    }

    .shop-header-title {
        font-size: 1.5rem;
    }

    .sp-returns-sub {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .shop-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    body.single-product ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .single-product-gallery .woocommerce-product-gallery__image {
        max-height: 280px;
    }

    .single-product-gallery .woocommerce-product-gallery__image img {
        max-height: 280px;
    }

    .single-product-gallery .flex-control-thumbs li {
        width: 60px;
        height: 60px;
    }

    .single-product-summary .product_title {
        font-size: 1.35rem;
    }

    .single-product-summary .price {
        font-size: 1.2rem;
    }

    /* Quantity row: full width */
    .sp-qty-row {
        width: 100%;
    }

    /* Buttons stack vertically on small screens */
    .sp-cart-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .single-product-summary .single_add_to_cart_button,
    .sp-buy-now-btn {
        width: 100%;
        height: 50px;
        font-size: 0.76rem;
    }

    .single-product-trust {
        justify-content: center;
        gap: 12px;
    }

    .sp-returns-sub {
        flex-direction: column;
        gap: 8px;
    }

    body.single-product .woocommerce-tabs.wc-tabs-wrapper,
    body.single-product div.woocommerce-tabs {
        padding: 0 14px 40px !important;
    }

    body.single-product .woocommerce-tabs .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.single-product .woocommerce-tabs .tabs::-webkit-scrollbar {
        display: none;
    }

    body.single-product .woocommerce-tabs .tabs li {
        flex-shrink: 0;
    }

    body.single-product #tab-description p {
        font-size: 0.86rem;
    }

    body.single-product #tab-description ul li,
    body.single-product #tab-description ol li {
        font-size: 0.86rem;
    }
}

/* ===========================
   WISHLIST PAGE
=========================== */
.wishlist-page {
    padding: 48px 0 80px;
}

.wishlist-page-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--mid-gray);
}

.wishlist-page-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--navy);
    margin: 0;
}

.wishlist-count {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark-gray);
    background: var(--light-gray);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Empty state */
.wishlist-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    gap: 16px;
}

.wishlist-empty-icon {
    color: var(--mid-gray);
    margin-bottom: 8px;
}

.wishlist-empty-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0;
}

.wishlist-empty-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark-gray);
    max-width: 420px;
    line-height: 1.7;
    margin: 0 0 8px;
}

/* Product grid on wishlist page */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1100px) {
    .wishlist-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .wishlist-page-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .wishlist-page-title {
        font-size: 1.5rem;
    }

    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .wishlist-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* ===========================
   GLOBAL MOBILE RESPONSIVE
   (fills gaps across all sections)
=========================== */

/* ── Container padding ── */
@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }
}

/* ── Announcement bar ── */
@media (max-width: 768px) {
    #announcement-bar {
        font-size: 0.7rem;
        padding: 7px 0;
        letter-spacing: 0.08em;
    }
}

/* ── Top utility bar ── */
@media (max-width: 768px) {
    #top-utility-bar {
        display: none;
    }
}

/* ── Main header ── */
@media (max-width: 768px) {
    #main-header {
        padding: 10px 0;
    }

    .site-title-text {
        font-size: 1.3rem;
    }

    .site-logo-wrap img {
        height: 44px;
    }

    .header-icons {
        gap: 12px;
    }

    .header-icon-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .site-title-text {
        font-size: 1.15rem;
    }

    .header-icons {
        gap: 10px;
    }

    .hamburger-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* ── Primary nav mobile ── */
@media (max-width: 768px) {
    #primary-nav {
        border-top: 1px solid var(--mid-gray);
    }

    #primary-nav .container {
        padding: 0;
    }

    #primary-nav .nav-menu > li > a {
        font-size: 0.82rem;
    }

    .mega-menu-list > li > a {
        font-size: 0.78rem;
    }
}

/* ── Hero slider ── */
@media (max-width: 768px) {
    .hero-content-inner {
        padding: 0 24px;
    }

    .hero-cta {
        padding: 12px 28px;
        font-size: 0.76rem;
    }

    .hero-eyebrow {
        font-size: 0.65rem;
        letter-spacing: 0.15em;
    }
}

@media (max-width: 480px) {
    .hero-content-inner {
        padding: 0 18px;
    }

    .hero-dots {
        gap: 6px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-arrow {
        width: 34px;
        height: 34px;
    }
}

/* ── Features strip ── */
@media (max-width: 768px) {
    .features-strip {
        padding: 36px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }

    .feature-title {
        font-size: 0.85rem;
    }

    .feature-desc {
        font-size: 0.8rem;
    }
}

@media (max-width: 380px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Promo banners ── */
@media (max-width: 768px) {
    .promo-card-inner {
        padding: 22px 20px;
    }

    .promo-title {
        font-size: 1.3rem;
        max-width: 100%;
    }

    .promo-cta {
        padding: 9px 18px;
        font-size: 0.74rem;
    }
}

/* ── Section headers (shared) ── */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .section-eyebrow {
        font-size: 0.68rem;
    }

    .section-header {
        margin-bottom: 28px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.25rem;
        gap: 12px;
    }
}

/* ── Featured / Best Selling sections ── */
@media (max-width: 768px) {
    .featured-products {
        padding: 48px 0;
    }

    .best-selling-section {
        padding: 48px 0 56px;
    }

    .featured-products-footer,
    .best-selling-section .featured-products-footer {
        margin-top: 32px;
    }

    .btn-view-all {
        padding: 12px 28px;
        font-size: 0.74rem;
    }
}

/* ── Product cards ── */
@media (max-width: 480px) {
    .product-card-title {
        font-size: 0.8rem;
    }

    .product-card-price {
        font-size: 0.76rem;
        margin-bottom: 8px;
    }

    .product-card-actions .button,
    .product-card-actions a.button {
        font-size: 0.64rem;
        padding: 8px 10px;
        letter-spacing: 0.08em;
    }

    .product-wishlist-btn {
        width: 30px;
        height: 30px;
        top: 8px;
        right: 8px;
    }

    .product-wishlist-btn svg {
        width: 13px;
        height: 13px;
    }
}

/* ── Offer banner slider ── */
@media (max-width: 380px) {
    .offer-slider {
        height: 260px;
    }

    .offer-discount {
        font-size: 2rem;
    }

    .offer-desc {
        font-size: 0.8rem;
        margin-bottom: 18px;
    }

    .offer-cta {
        padding: 10px 18px;
        font-size: 0.72rem;
    }
}

/* ── Shop page ── */
@media (max-width: 768px) {
    .shop-header {
        padding: 24px 0 20px;
        margin-bottom: 20px;
    }

    .shop-header-title {
        font-size: 1.4rem;
    }

    .shop-sidebar.is-open {
        background: var(--light-gray);
        padding: 20px;
        border: 1px solid var(--mid-gray);
        border-radius: 4px;
        margin-bottom: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .woocommerce-ordering select {
        width: 100%;
    }

    .shop-grid {
        gap: 14px;
    }

    .shop-pagination {
        margin-top: 32px;
    }

    .woocommerce-pagination ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .shop-filter-toggle {
        font-size: 0.72rem;
        padding: 9px 16px;
    }

    .shop-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* ── Single product ── */
@media (max-width: 768px) {
    .single-product-page {
        padding: 24px 0 0;
    }

    .single-product-summary .product_title {
        font-size: 1.4rem;
        padding-right: 44px;
    }

    .single-product-summary .price {
        font-size: 1.3rem;
    }

    .sp-returns-sub {
        flex-direction: column;
        gap: 8px;
    }

    body.single-product .woocommerce-tabs.wc-tabs-wrapper {
        padding: 0 20px 56px;
    }

    body.single-product ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    body.single-product .woocommerce-tabs .tabs li a {
        padding: 10px 14px;
    }

    .single-product-gallery .flex-control-thumbs li {
        width: 56px;
        height: 56px;
    }

    .cm-rating-summary {
        padding: 24px 20px;
        gap: 18px;
    }

    .cm-rating-score {
        font-size: 3rem;
    }

    body.single-product #reviews #comments ol.commentlist li .comment_container {
        gap: 14px;
        padding: 24px 0;
    }

    body.single-product #reviews #respond {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .single-product-summary .product_title {
        font-size: 1.2rem;
    }

    body.single-product ul.products {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    body.single-product ul.products li.product img {
        height: 160px;
    }

    body.single-product .woocommerce-tabs .tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    body.single-product .woocommerce-tabs .tabs li a {
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 0.68rem;
    }

    body.single-product .woocommerce-tabs.wc-tabs-wrapper {
        padding: 0 16px 48px;
    }

    body.single-product .woocommerce-tabs .panel {
        padding-top: 36px;
    }

    .cm-rating-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px 16px;
    }

    .cm-rating-score {
        font-size: 2.8rem;
    }

    body.single-product #reviews #respond {
        padding: 20px 16px;
    }

    body.single-product #review_form .comment-form-author,
    body.single-product #review_form .comment-form-email {
        flex: 0 0 100%;
    }
}

/* ── Wishlist page ── */
@media (max-width: 480px) {
    .wishlist-page {
        padding: 32px 0 56px;
    }

    .wishlist-page-title {
        font-size: 1.3rem;
    }

    .wishlist-empty {
        padding: 48px 0;
    }

    .wishlist-empty-title {
        font-size: 1.2rem;
    }
}

/* ── Footer ── */
@media (max-width: 768px) {
    .footer-main {
        padding: 48px 0 36px;
    }

    .footer-widget-title,
    .footer-column-title {
        font-size: 0.82rem;
    }
}

/* ===========================
   NEWSLETTER SECTION
=========================== */
.newsletter-section {
    background: var(--navy);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 72% 50%, rgba(255,255,255,0.05) 0%, transparent 65%);
    pointer-events: none;
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 2px;
    padding: 4px 12px;
    margin-bottom: 18px;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.2;
}

.newsletter-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    margin: 0;
    max-width: 440px;
}

.newsletter-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.newsletter-row {
    display: flex;
    gap: 10px;
}

.newsletter-form-wrap input[type="text"],
.newsletter-form-wrap input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.newsletter-form-wrap input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form-wrap input:focus {
    border-color: rgba(255,255,255,0.65);
    background: rgba(255,255,255,0.13);
}

.newsletter-submit {
    width: 100%;
    padding: 15px 28px;
    background: #fff;
    color: var(--navy);
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.newsletter-submit:hover {
    background: var(--light-gray);
}

.newsletter-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.newsletter-msg {
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 11px 16px;
    border-radius: 4px;
    display: none;
    line-height: 1.5;
}

.newsletter-msg.success {
    display: block;
    background: rgba(34,197,94,0.15);
    color: #86efac;
    border: 1px solid rgba(34,197,94,0.3);
}

.newsletter-msg.error {
    display: block;
    background: rgba(239,68,68,0.15);
    color: #fca5a5;
    border: 1px solid rgba(239,68,68,0.3);
}

.newsletter-privacy {
    font-family: var(--font-body);
    font-size: 0.76rem;
    color: rgba(255,255,255,0.38);
    margin: 0;
    line-height: 1.6;
}

.newsletter-privacy a {
    color: rgba(255,255,255,0.55);
    text-decoration: underline;
}

/* ===========================
   WOOCOMMERCE GENERAL
=========================== */
.woocommerce-page-wrapper {
    padding: 40px 0 80px;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-bottom: 6px;
}

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

.woocommerce-breadcrumb a:hover { opacity: 0.7; }

/* Notices */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error li {
    font-family: var(--font-body);
    font-size: 0.88rem;
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid;
    list-style: none;
}

.woocommerce-notices-wrapper .woocommerce-message {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #166534;
}

.woocommerce-notices-wrapper .woocommerce-info {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
}

.woocommerce-notices-wrapper .woocommerce-error {
    background: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
    padding: 0;
    margin: 0 0 20px;
}

.woocommerce-notices-wrapper .woocommerce-error li {
    margin: 0;
    border-left: none;
    border-bottom: 1px solid #fecaca;
}

/* WooCommerce page title */
.woocommerce-page-wrapper .page-title,
.woocommerce-page-wrapper h1.page-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--navy);
    margin: 0 0 30px;
}

/* Shared WC buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 22px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: var(--navy-light);
    color: #fff;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: var(--navy);
    color: #fff;
}

/* Shared WC form fields */
.woocommerce form .form-row {
    margin-bottom: 16px;
}

.woocommerce form .form-row label {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    display: block;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--mid-gray);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--navy);
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26,31,54,0.07);
}

.woocommerce form .required { color: #ef4444; }

/* ===========================
   QUANTITY +/- BUTTONS
=========================== */
.qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--mid-gray);
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    background: var(--light-gray);
    border: none;
    width: 36px;
    height: 42px;
    font-size: 1.1rem;
    color: var(--navy);
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    user-select: none;
}

.qty-btn:hover { background: var(--mid-gray); }

.qty-wrap input.qty {
    border: none;
    border-left: 1px solid var(--mid-gray);
    border-right: 1px solid var(--mid-gray);
    border-radius: 0;
    width: 54px;
    height: 42px;
    text-align: center;
    padding: 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    -moz-appearance: textfield;
    appearance: textfield;
    outline: none;
}

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

/* ===========================
   WOOCOMMERCE MY ACCOUNT
=========================== */
.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}

/* Account navigation sidebar */
.woocommerce-MyAccount-navigation {
    background: var(--light-gray);
    border: 1px solid var(--mid-gray);
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid var(--mid-gray);
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 13px 18px;
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.15s, padding-left 0.15s, color 0.15s;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--is-active a {
    background: var(--navy);
    color: #fff;
    padding-left: 24px;
}

/* Account content area */
.woocommerce-MyAccount-content {
    min-width: 0;
}

.woocommerce-MyAccount-content p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Orders table */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    border: 1px solid var(--mid-gray);
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-orders-table thead th {
    background: var(--light-gray);
    padding: 12px 16px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    text-align: left;
    border-bottom: 1px solid var(--mid-gray);
}

.woocommerce-orders-table tbody td {
    padding: 14px 16px;
    font-size: 0.88rem;
    color: var(--navy);
    border-bottom: 1px solid var(--mid-gray);
    vertical-align: middle;
}

.woocommerce-orders-table tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce-orders-table tbody tr:hover {
    background: var(--light-gray);
}

/* Order status badges */
.woocommerce-order-status-completed  { color: #16a34a; font-weight: 600; }
.woocommerce-order-status-processing { color: #2563eb; font-weight: 600; }
.woocommerce-order-status-on-hold    { color: #d97706; font-weight: 600; }
.woocommerce-order-status-cancelled  { color: #dc2626; font-weight: 600; }
.woocommerce-order-status-refunded   { color: var(--dark-gray); font-weight: 600; }

/* Addresses */
.woocommerce-account .woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.woocommerce-account .woocommerce-Address {
    background: var(--light-gray);
    border: 1px solid var(--mid-gray);
    border-radius: 8px;
    padding: 24px;
}

.woocommerce-account .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mid-gray);
}

.woocommerce-account .woocommerce-Address-title h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--navy);
    margin: 0;
    border: none;
    padding: 0;
}

.woocommerce-account .woocommerce-Address address {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--dark-gray);
    line-height: 1.75;
    font-style: normal;
}

/* Account form (edit details) */
.woocommerce-account fieldset {
    border: 1px solid var(--mid-gray);
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0 0;
}

.woocommerce-account fieldset legend {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    padding: 0 8px;
}

/* Login / register pages */
.woocommerce-account .u-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
    background: var(--light-gray);
    border: 1px solid var(--mid-gray);
    border-radius: 8px;
    padding: 32px;
}

.woocommerce-account .woocommerce-form-login h2,
.woocommerce-account .woocommerce-form-register h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--navy);
    margin: 0 0 20px;
}

.woocommerce-account .lost_password {
    font-family: var(--font-body);
    font-size: 0.82rem;
    margin-top: 12px;
}

.woocommerce-account .lost_password a {
    color: var(--navy);
    text-decoration: underline;
}

/* ===========================
   NEWSLETTER + WOO RESPONSIVE
=========================== */
@media (max-width: 1100px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr 360px;
    }

    .woocommerce-account .woocommerce {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    /* Newsletter */
    .newsletter-section {
        padding: 60px 0;
    }

    .newsletter-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .newsletter-desc {
        max-width: 100%;
        margin: 0 auto;
    }

    .newsletter-title {
        font-size: 1.75rem;
    }

    /* Checkout — single column stack, summary shown first */
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "notices"
            "heading"
            "review"
            "details";
        column-gap: 0;
        row-gap: 16px;
    }

    .woocommerce-checkout #order_review {
        position: static;
    }

    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        flex: 1 1 100%;
        width: 100%;
        display: block;
        margin-right: 0;
    }

    .woocommerce-checkout #billing,
    .woocommerce-checkout #shipping,
    .woocommerce-checkout .woocommerce-additional-fields {
        padding: 20px 16px 14px;
    }

    /* My Account */
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .woocommerce-account .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    .woocommerce-account .u-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* WC page */
    .woocommerce-page-wrapper {
        padding: 28px 0 56px;
    }
}

@media (max-width: 480px) {
    /* Newsletter */
    .newsletter-section {
        padding: 48px 0;
    }

    .newsletter-title {
        font-size: 1.4rem;
    }

    .newsletter-row {
        flex-direction: column;
    }

    /* My Account table responsive */
    .woocommerce-orders-table,
    .woocommerce-orders-table thead,
    .woocommerce-orders-table tbody,
    .woocommerce-orders-table tr,
    .woocommerce-orders-table th,
    .woocommerce-orders-table td {
        display: block;
    }

    .woocommerce-orders-table thead { display: none; }

    .woocommerce-orders-table tbody td {
        padding: 8px 14px;
        border-bottom: none;
    }

    .woocommerce-orders-table tbody tr {
        border: 1px solid var(--mid-gray);
        border-radius: 6px;
        margin-bottom: 12px;
        padding: 4px 0;
    }

    .woocommerce-account .woocommerce-form-login,
    .woocommerce-account .woocommerce-form-register {
        padding: 22px;
    }

    .woocommerce-checkout #order_review {
        overflow-x: auto;
    }

    .woocommerce-checkout table.shop_table {
        min-width: 0;
        word-break: break-word;
    }

    .woocommerce-checkout table.shop_table tbody td:last-child {
        white-space: normal;
    }

    .woocommerce-checkout #payment div.payment_box {
        padding-left: 20px;
    }

    .woocommerce-checkout #payment > h3,
    .woocommerce-checkout #payment ul.payment_methods li label {
        padding-left: 14px;
        padding-right: 14px;
    }

    .woocommerce-checkout table.shop_table thead th,
    .woocommerce-checkout table.shop_table tbody td,
    .woocommerce-checkout table.shop_table tfoot th,
    .woocommerce-checkout table.shop_table tfoot td {
        padding: 10px 14px;
    }

    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout input[type="tel"],
    .woocommerce-checkout input[type="number"],
    .woocommerce-checkout input[type="password"],
    .woocommerce-checkout select {
        height: 46px !important;
    }
}

@media (max-width: 480px) {
    .footer-legal {
        font-size: 0.7rem;
    }

    .footer-social {
        gap: 10px;
    }
}

/* ===========================
   CATEGORY PAGE HEADER
=========================== */
.cat-header-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--navy);
    opacity: 0.6;
    margin-bottom: 6px;
}

.cat-header-description {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--dark-gray);
    line-height: 1.75;
    margin: 8px 0 0;
    max-width: 600px;
}

@media (max-width: 768px) {
    .cat-header-description {
        font-size: 0.84rem;
    }
}

/* ===========================
   PRODUCTS YOU MAY LIKE
=========================== */
.may-like-section {
    background: var(--white);
    padding: 72px 0 80px;
    border-top: 1px solid var(--mid-gray);
}

.may-like-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1100px) {
    .may-like-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .may-like-section {
        padding: 48px 0 56px;
    }

    .may-like-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .may-like-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* ===========================
   LIVE SEARCH DROPDOWN
=========================== */
.live-search-results {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 1200;
    background: var(--white);
    border: 1.5px solid var(--mid-gray);
    border-top: 2px solid var(--navy);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 10px 32px rgba(26,31,54,0.13);
    max-height: 420px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.live-search-results.is-open {
    display: block;
}

.ls-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid var(--light-gray);
    transition: background 0.12s;
}

.ls-item:last-of-type {
    border-bottom: none;
}

.ls-item:hover,
.ls-item.is-active {
    background: var(--light-gray);
    outline: none;
}

.ls-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 4px;
    background: var(--light-gray);
    display: block;
}

.ls-thumb-empty {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 4px;
    background: var(--light-gray);
}

.ls-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ls-title {
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.ls-price {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--dark-gray);
}

.ls-price .woocommerce-Price-amount {
    color: var(--navy);
    font-weight: 600;
}

.ls-empty {
    padding: 18px 16px;
    font-family: var(--font-body);
    font-size: 0.84rem;
    color: var(--dark-gray);
    margin: 0;
    text-align: center;
}

.ls-loading {
    font-style: italic;
}

.ls-footer {
    padding: 10px 14px;
    background: var(--light-gray);
    border-top: 1px solid var(--mid-gray);
}

.ls-footer a {
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    display: block;
    text-align: center;
    transition: opacity 0.2s;
}

.ls-footer a:hover {
    opacity: 0.65;
}


/* Hide YITH Wishlist + Compare plugin buttons (theme has its own UI) */
.yith-wcwl-add-to-wishlist,
.yith-woocompare-add-button,
a.compare.button,
.woocommerce-product-details__short-description + .yith-wcwl-add-to-wishlist,
[class*="yith-woocompare"],
[class*="yith-wcwl"] {
    display: none !important;
}

/* ===========================
   CHECKOUT PAGE  (page-checkout.php)
=========================== */

.checkout-page-wrap {
    padding: 0;
    background: #f0f1f6;
    min-height: 70vh;
}

body.woocommerce-checkout {
    overflow-x: hidden;
    max-width: 100%;
}

/* ---- Progress Bar ---- */
.co-progress {
    background: var(--white);
    border-bottom: 1px solid var(--mid-gray);
    padding: 22px 0;
}

.co-steps {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    gap: 0;
}

.co-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.co-step__node {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--mid-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark-gray);
    background: var(--white);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
    line-height: 1;
}

.co-step.is-done .co-step__node {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.co-step.is-done a.co-step__node:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
}

.co-step.is-active .co-step__node {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    box-shadow: 0 0 0 5px rgba(26,31,54,0.12);
}

.co-step__name {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dark-gray);
}

.co-step.is-done .co-step__name,
.co-step.is-active .co-step__name {
    color: var(--navy);
}

.co-step-line {
    width: 80px;
    height: 2px;
    background: var(--mid-gray);
    margin-bottom: 26px;
    flex-shrink: 0;
    transition: background 0.3s;
}

.co-step-line.is-done {
    background: var(--navy);
}

/* ---- Checkout Body ---- */
.co-wrap {
    padding: 48px 0 88px;
}

/* WooCommerce shortcode wrapper must not overflow */
.checkout-page-wrap .woocommerce {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

/* ---- Page Header ---- */
.co-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--mid-gray);
    flex-wrap: wrap;
    gap: 12px;
}

.co-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.01em;
    margin: 0;
}

.co-ssl-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1e6b42;
    background: #eaf7f0;
    padding: 7px 16px;
    border-radius: 100px;
    border: 1px solid #a8d9bc;
    white-space: nowrap;
}

/* ---- WooCommerce Checkout Two-Column Layout ---- */
/* NOTE: .woocommerce-checkout is on <body>, not inside .woocommerce,
   so we target .woocommerce form.checkout directly */
.woocommerce form.checkout {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Left: billing + shipping + notes
   min-width: 0 overrides the default min-width: auto on flex items,
   which would otherwise prevent the column from shrinking below content width */
.woocommerce form.checkout #customer_details {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Stack WC's internal col-1 / col-2 vertically */
.woocommerce form.checkout #customer_details .col-1,
.woocommerce form.checkout #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    clear: both;
}

/* Right column (injected wrapper) */
.cm-co-right {
    width: 360px;
    max-width: 100%;
    flex-shrink: 0;
    min-width: 0;
    box-sizing: border-box;
    position: sticky;
    top: 24px;
}

/* ---- Section cards (billing / shipping / notes) ---- */
.woocommerce form.checkout .woocommerce-billing-fields,
.woocommerce form.checkout .woocommerce-shipping-fields,
.woocommerce form.checkout .woocommerce-additional-fields {
    background: var(--white);
    border-radius: 8px;
    padding: 28px 30px;
    margin-bottom: 20px;
    border: 1px solid var(--mid-gray);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Section headings inside cards */
.woocommerce form.checkout .woocommerce-billing-fields h3,
.woocommerce form.checkout .woocommerce-shipping-fields > div > h3,
.woocommerce form.checkout .woocommerce-additional-fields > div > h3 {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mid-gray);
    position: relative;
}

.woocommerce form.checkout .woocommerce-billing-fields h3::after,
.woocommerce form.checkout .woocommerce-shipping-fields > div > h3::after,
.woocommerce form.checkout .woocommerce-additional-fields > div > h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 26px;
    height: 2px;
    background: var(--navy);
}

/* "Ship to a different address?" checkbox heading */
.woocommerce form.checkout h3#ship-to-different-address {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0;
    text-transform: none;
    margin: 0 0 0;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce form.checkout h3#ship-to-different-address::after {
    display: none;
}

.woocommerce form.checkout h3#ship-to-different-address label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}

/* ---- Form Rows ---- */
.woocommerce form.checkout .form-row {
    margin: 0 0 16px !important;
    padding: 0 !important;
}

/* Labels */
.woocommerce form.checkout .form-row > label:not(.checkbox) {
    font-family: var(--font-body) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--navy) !important;
    display: block !important;
    margin-bottom: 7px !important;
    line-height: 1.4 !important;
}

.woocommerce form.checkout .form-row label .required {
    color: #d93025 !important;
    font-weight: 900 !important;
    margin-left: 2px !important;
    visibility: visible !important;
    border: 0 !important;
}

/* Inputs, selects, textareas
   Higher specificity than WooCommerce's forms.css (.woocommerce form .form-row .input-text = 0,3,1)
   We use .woocommerce form.checkout .form-row .input-text = 0,4,1 to win */
.woocommerce form.checkout .form-row .input-text,
.woocommerce form.checkout .form-row select,
.woocommerce form.checkout .form-row textarea {
    display: block !important;
    width: 100% !important;
    height: 46px !important;
    border: 1.5px solid var(--mid-gray) !important;
    border-radius: 4px !important;
    background: var(--white) !important;
    padding: 0 14px !important;
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    color: var(--text-dark) !important;
    outline: none !important;
    transition: border-color 0.18s, box-shadow 0.18s !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    line-height: normal !important;
}

.woocommerce form.checkout .form-row textarea {
    height: auto !important;
    min-height: 96px !important;
    padding: 12px 14px !important;
    resize: vertical !important;
    line-height: 1.65 !important;
}

.woocommerce form.checkout .form-row .input-text:focus,
.woocommerce form.checkout .form-row select:focus,
.woocommerce form.checkout .form-row textarea:focus {
    border-color: var(--navy) !important;
    box-shadow: 0 0 0 3px rgba(26,31,54,0.1) !important;
    background: var(--white) !important;
}

/* Select arrow — override WooCommerce's base64 arrow */
.woocommerce form.checkout .form-row select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px !important;
    padding-right: 38px !important;
    cursor: pointer !important;
}

/* Validation states */
.woocommerce form.checkout .form-row.woocommerce-invalid .input-text,
.woocommerce form.checkout .form-row.woocommerce-invalid select {
    border-color: #d93025 !important;
    box-shadow: 0 0 0 3px rgba(217,48,37,0.08) !important;
}

.woocommerce form.checkout .form-row.woocommerce-validated .input-text,
.woocommerce form.checkout .form-row.woocommerce-validated select {
    border-color: #1e6b42 !important;
}

/* Half-width rows — must beat WooCommerce's .woocommerce form .form-row-first (0,2,1) */
.woocommerce form.checkout .form-row-first,
.woocommerce form.checkout .form-row-last {
    float: left !important;
    width: calc(50% - 8px) !important;
    clear: none !important;
}

.woocommerce form.checkout .form-row-first {
    margin-right: 16px !important;
}

.woocommerce form.checkout .form-row-last {
    float: right !important;
    margin-right: 0 !important;
}

.woocommerce form.checkout .form-row-wide {
    float: none !important;
    width: 100% !important;
    clear: both !important;
}

/* Clearfix for half-width rows */
.woocommerce form.checkout .woocommerce-billing-fields__field-wrapper::after,
.woocommerce form.checkout .woocommerce-shipping-fields__field-wrapper::after {
    content: '';
    display: table;
    clear: both;
}

/* ---- Order Review Heading (acts as card header) ---- */
.cm-co-right h3#order_review_heading {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 15px 22px;
    margin: 0;
    border-radius: 8px 8px 0 0;
    border: 1px solid var(--navy);
    border-bottom: none;
}

/* ---- Order Review (table card) ---- */
.cm-co-right #order_review {
    background: var(--white);
    border-radius: 0 0 8px 8px;
    border: 1px solid var(--mid-gray);
    border-top: none;
    margin-bottom: 16px;
}

.cm-co-right .woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.cm-co-right .woocommerce-checkout-review-order-table thead th {
    padding: 11px 22px;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-gray);
    background: #f8f9fb;
    text-align: left;
    border-bottom: 1px solid var(--mid-gray);
}

.cm-co-right .woocommerce-checkout-review-order-table thead .product-total {
    text-align: right;
}

.cm-co-right .woocommerce-checkout-review-order-table tbody .cart_item td {
    padding: 14px 22px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--light-gray);
    vertical-align: middle;
    line-height: 1.45;
}

.cm-co-right .woocommerce-checkout-review-order-table .product-total {
    text-align: right;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}

.cm-co-right .woocommerce-checkout-review-order-table tfoot td,
.cm-co-right .woocommerce-checkout-review-order-table tfoot th {
    padding: 11px 22px;
    font-family: var(--font-body);
    font-size: 0.84rem;
    border-top: 1px solid var(--light-gray);
}

.cm-co-right .woocommerce-checkout-review-order-table .order-total td,
.cm-co-right .woocommerce-checkout-review-order-table .order-total th {
    background: var(--light-gray);
    border-top: 2px solid var(--navy);
    padding: 14px 22px;
    font-weight: 700;
}

.cm-co-right .woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--navy);
}

/* ---- Payment Section (shared base styles) ---- */
#payment {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--mid-gray);
    overflow: hidden;
}

#payment .wc_payment_methods {
    list-style: none;
    margin: 0;
    padding: 0;
}

#payment .wc_payment_method {
    border-bottom: 1px solid var(--light-gray);
}

#payment .wc_payment_method:last-child {
    border-bottom: none;
}

#payment .wc_payment_method > label {
    display: flex;
    align-items: center;
    padding: 14px 22px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.15s;
    text-transform: none;
    letter-spacing: 0;
}

#payment .wc_payment_method > label:hover {
    background: var(--light-gray);
}

#payment .wc_payment_method > label img {
    max-height: 22px;
    width: auto;
    margin-left: auto;
    flex-shrink: 0;
}

#payment .wc_payment_method input[type="radio"] {
    margin-right: 12px;
    accent-color: var(--navy);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

#payment .payment_box {
    padding: 10px 22px 14px 50px;
    background: #f8f9fb;
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--dark-gray);
    line-height: 1.65;
    border-top: 1px solid var(--light-gray);
}

#payment .form-row.place-order {
    margin: 0;
    padding: 0;
}

.woocommerce #payment #place_order,
#payment #place_order {
    display: flex !important;
    float: none !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100% !important;
    padding: 18px 24px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    margin: 0;
    box-sizing: border-box;
}

.woocommerce #payment #place_order:hover,
#payment #place_order:hover {
    background: #0d1120;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26,31,54,0.3);
}

/* ---- Payment at bottom of form (after JS moves it) ---- */
/* When JS appends #payment as a direct child of form.checkout it becomes
   a flex item with width: 100% so it wraps to its own full-width row */
form.checkout > #payment {
    width: 100%;
    border-top: 3px solid var(--navy);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

form.checkout > #payment #place_order {
    padding: 20px 24px !important;
    font-size: 0.88rem !important;
    border-radius: 0 0 8px 8px !important;
}

/* Security note */
form.checkout > #payment .form-row.place-order {
    background: #f8f9fb;
    padding: 0;
}

form.checkout > #payment .form-row.place-order::after {
    content: '\1F512  Your order is protected by 256-bit SSL encryption';
    display: block;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.69rem;
    color: var(--dark-gray);
    padding: 10px 16px 14px;
}

/* ---- Trust Panel ---- */
.cm-co-trust {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--mid-gray);
    padding: 22px 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 14px;
}

.cm-co-trust__title {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dark-gray);
    margin: 0 0 16px;
}

.cm-co-trust__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cm-co-trust__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cm-co-trust__list li svg {
    width: 19px;
    height: 19px;
    color: var(--navy);
    flex-shrink: 0;
    margin-top: 2px;
}

.cm-co-trust__list li div {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.cm-co-trust__list li strong {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
}

.cm-co-trust__list li p {
    font-family: var(--font-body);
    font-size: 0.76rem;
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.4;
}

/* ---- Payment Accept Chips ---- */
.cm-co-pay-chips {
    text-align: center;
    padding: 4px 0 8px;
}

.cm-co-pay-chips p {
    font-family: var(--font-body);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dark-gray);
    margin: 0 0 10px;
}

.cm-co-pay-chips div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.cm-pay-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border: 1px solid var(--mid-gray);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dark-gray);
    background: var(--white);
}

/* ---- SVG icon sizing — explicit dimensions for all checkout icons ---- */
.co-step__node svg {
    width: 14px;
    height: 14px;
    display: block;
    flex-shrink: 0;
}

.co-ssl-badge svg {
    width: 14px;
    height: 14px;
    display: block;
    flex-shrink: 0;
}

.co-user-panel__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.cm-co-trust__list li svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

/* ---- User Info Panel (above form) ---- */
.co-user-panel {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--mid-gray);
    border-radius: 8px;
    padding: 16px 22px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.co-user-panel__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--light-gray);
    border: 1px solid var(--mid-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    color: var(--dark-gray);
}

.co-user-panel__icon svg {
    width: 22px;
    height: 22px;
}

.co-user-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    display: block;
}

.co-user-panel__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.co-user-panel__name {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.co-user-panel__email {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--dark-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.co-user-panel__actions {
    flex-shrink: 0;
}

.co-user-panel__btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    border: 1.5px solid var(--navy);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}

.co-user-panel__btn:hover {
    background: var(--navy);
    color: var(--white);
}

/* ---- WC notices on checkout ---- */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-login-toggle {
    background: var(--white);
    border: 1px solid var(--mid-gray);
    border-radius: 6px;
    padding: 14px 20px;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-size: 0.86rem;
}

.woocommerce-checkout .woocommerce-form-coupon,
.woocommerce-checkout .woocommerce-form-login {
    background: var(--white);
    border: 1px solid var(--mid-gray);
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .woocommerce form.checkout {
        flex-direction: column;
        gap: 20px;
    }

    .woocommerce form.checkout #customer_details {
        width: 100%;
        flex: none;
    }

    .cm-co-right {
        width: 100%;
        max-width: 100%;
        position: static;
    }

    .co-step-line {
        width: 48px;
    }
}

@media (max-width: 640px) {
    .co-wrap {
        padding: 28px 0 60px;
    }

    .co-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }

    .co-title {
        font-size: 1.5rem;
    }

    .co-step-line {
        width: 28px;
    }

    .co-user-panel {
        flex-wrap: wrap;
    }

    .co-user-panel__actions {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .woocommerce form.checkout .form-row-first,
    .woocommerce form.checkout .form-row-last {
        float: none !important;
        width: 100% !important;
        clear: both !important;
        margin-right: 0 !important;
    }

    .woocommerce form.checkout .woocommerce-billing-fields,
    .woocommerce form.checkout .woocommerce-shipping-fields,
    .woocommerce form.checkout .woocommerce-additional-fields {
        padding: 20px;
    }
}
