:root {
    /* Colors */
    --theme-primary: #cf9163;
    --theme-primary-hover: #b87c50;
    --theme-secondary: #333333;
    --theme-bg-light: #f9f9f9;
    --theme-border: #e5e5e5;
    --theme-text: #333;
    --theme-text-light: #777;
    
    /* Spacing & Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --box-shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --box-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --box-shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
}

/* ==============================================================
   GLOBAL TYPOGRAPHY & POLISH
   ============================================================== */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings hierarchy */
.lynessa-heading .title {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--theme-secondary);
    position: relative;
    padding-bottom: 15px;
}
.lynessa-heading .subtitle {
    font-size: 14px;
    color: var(--theme-text-light);
    letter-spacing: 0.5px;
    margin-top: 5px;
}

/* ==============================================================
   BANNER / BREADCRUMB - ALL INTERNAL PAGES
   ============================================================== */
.banner-wrapper.has_background {
    min-height: 200px;
    max-height: 300px;
    overflow: hidden;
}
.banner-wrapper.has_background > img {
    filter: brightness(0.7);
    object-fit: cover;
    width: 100%;
    height: 300px;
}
.banner-wrapper.has_background .banner-wrapper-inner {
    z-index: 2;
}
.banner-wrapper.has_background .page-title {
    color: #fff;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}
.banner-wrapper.has_background .page-title::before {
    background-color: rgba(255,255,255,0.8);
}
/* Breadcrumb text white on banner */
.banner-wrapper.has_background .breadcrumbs .breadcrumb li,
.banner-wrapper.has_background .breadcrumbs .breadcrumb li a {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.banner-wrapper.has_background .breadcrumbs .breadcrumb li + li::before {
    color: rgba(255,255,255,0.6);
}
.banner-wrapper.has_background .breadcrumbs .breadcrumb li a:hover {
    color: #fff;
}

/* ==============================================================
   IMAGE PRESENTATION SYSTEM
   ============================================================== */
/* Product grid images — simple, reliable */
.product-item .product-thumb {
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}
.product-item .product-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease, opacity 0.3s ease;
}
.product-item:hover .product-thumb img {
    transform: scale(1.06);
}

/* Single Product Gallery */
.lynessa-product-gallery__image img {
    width: 100%;
    height: auto !important;
    object-fit: contain;
    border-radius: var(--border-radius-md);
}

/* ==============================================================
   PRODUCT CARDS - GRID & LISTING
   ============================================================== */
.product-item .product-inner {
    transition: box-shadow 0.3s ease;
    border-radius: var(--border-radius-md);
}
.product-item:hover .product-inner {
    box-shadow: var(--box-shadow-md);
}

/* Product info (name, price) */
.product-item .product-info {
    padding: 15px 10px 20px;
    text-align: center;
}
.product-item .product-name a {
    font-size: 14px;
    font-weight: 500;
    color: var(--theme-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.product-item .product-name a:hover {
    color: var(--theme-primary);
}

/* Price styling */
.product-item .price {
    margin-top: 8px;
}
.product-item .price .lynessa-Price-amount {
    font-size: 16px;
    font-weight: 600;
    color: var(--theme-primary);
}
.product-item .price del {
    color: #aaa;
    font-size: 13px;
    font-weight: 400;
    margin-left: 5px;
}

/* Discount badge */
.product-item .flash .onsale {
    background-color: var(--theme-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 3px;
    line-height: 1;
}
.product-item .flash .onnew {
    background-color: #333;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 3px;
}

/* Quick action buttons */
.product-item .group-button .add-to-cart a {
    background-color: var(--theme-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}
.product-item .group-button .add-to-cart a:hover {
    background-color: var(--theme-primary-hover);
    box-shadow: 0 4px 15px rgba(207, 145, 99, 0.4);
}

/* ==============================================================
   HOMEPAGE CATEGORY GRID
   ============================================================== */
.lynessa-categories.style-01 .categories-item {
    margin-bottom: 20px;
}
.lynessa-categories.style-01 .categories-inner {
    text-align: center;
    transition: transform 0.3s ease;
}
.lynessa-categories.style-01 .categories-inner:hover {
    transform: translateY(-4px);
}
.lynessa-categories.style-01 .categories-thumb {
    border-radius: 50%;
    overflow: hidden;
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 3px solid #fff;
}
.lynessa-categories.style-01 .categories-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.lynessa-categories.style-01 .categories-inner:hover .categories-thumb img {
    transform: scale(1.08);
}
.lynessa-categories.style-01 .title a {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--theme-secondary);
}
.lynessa-categories.style-01 .title a span {
    font-weight: 400;
    color: var(--theme-text-light);
    font-size: 12px;
    display: block;
    margin-top: 3px;
}

/* ==============================================================
   SECTION SPACING & RHYTHM
   ============================================================== */
.section-001, .section-004, .section-011, .section-014 {
    padding: 60px 0;
}
.section-014 {
    background-color: var(--theme-bg-light);
    border-top: 1px solid var(--theme-border);
    border-bottom: 1px solid var(--theme-border);
}

/* Feature icons row */
.lynessa-iconbox.style-02 .iconbox-inner {
    padding: 30px 20px;
    text-align: center;
}
.lynessa-iconbox.style-02 .icon span {
    font-size: 40px;
    color: var(--theme-primary);
    display: block;
    margin-bottom: 15px;
}
.lynessa-iconbox.style-02 .title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.lynessa-iconbox.style-02 .desc {
    font-size: 13px;
    color: var(--theme-text-light);
    line-height: 1.6;
}

/* ==============================================================
   BUTTONS & FORMS
   ============================================================== */
.button, .btn, button, input[type="submit"] {
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}
.button:hover, .btn:hover {
    box-shadow: var(--box-shadow-md);
    background-color: var(--theme-primary-hover) !important;
}

/* Standardize Inputs */
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
    border: 1px solid var(--theme-border);
    border-radius: var(--border-radius-sm);
    padding: 10px 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="number"]:focus, select:focus, textarea:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 2px rgba(207, 145, 99, 0.2);
    outline: none;
}

/* ==============================================================
   RESPONSIVE FIXES (360px - 768px)
   ============================================================== */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive table {
    min-width: 600px;
}

@media (max-width: 768px) {
    .main-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-title {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
    .banner-wrapper.has_background {
        min-height: 140px;
        max-height: 200px;
    }
    .banner-wrapper.has_background > img {
        height: 200px;
    }
    .banner-wrapper.has_background .page-title {
        font-size: 22px;
        letter-spacing: 1px;
    }
    .lynessa-categories.style-01 .categories-thumb {
        width: 120px;
        height: 120px;
    }
    .section-001, .section-004, .section-011, .section-014 {
        padding: 35px 0;
    }
    .lynessa-heading .title {
        font-size: 24px;
    }
    .product-item .product-info {
        padding: 10px 5px 15px;
    }
}

/* ==============================================================
   NAVBAR & HEADER
   ============================================================== */
.header-sticky.is-sticky {
    box-shadow: var(--box-shadow-sm);
    background-color: var(--theme-bg-light) !important;
}
.lynessa-menu-wapper {
    z-index: 9999 !important;
}
.header-control-inner .block-minicart, .header-control-inner .block-user {
    position: relative;
}
.count, .count-icon {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--theme-primary);
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    line-height: 1;
    font-weight: bold;
}

/* Navigation links polish */
.lynessa-menu-item-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* ==============================================================
   PRODUCT VARIATIONS (PHASE 3)
   ============================================================== */
.attribute-pa_color .change-value.selected {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--theme-primary);
    transform: scale(1.1);
}
.attribute-pa_size .change-value.selected {
    background-color: var(--theme-primary);
    color: #fff !important;
    border-color: var(--theme-primary);
}
.attribute-pa_color .change-value {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 8px;
    cursor: pointer;
    border: 2px solid var(--theme-border);
    transition: all 0.2s ease;
}
.attribute-pa_size .change-value {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 8px;
    cursor: pointer;
    border: 1px solid var(--theme-border);
    border-radius: var(--border-radius-sm);
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.attribute-pa_size .change-value:hover {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
}
.attribute-pa_color input[type="radio"],
.attribute-pa_size input[type="radio"] {
    display: none;
}
.attribute-pa_size input[type="checkbox"] {
    display: none !important;
}

/* ==============================================================
   CART & CHECKOUT (PHASE 4)
   ============================================================== */
.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 2rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--theme-border);
}
.shop_table th {
    background-color: var(--theme-bg-light);
    font-weight: 600;
    color: var(--theme-text);
    padding: 15px;
    border-bottom: 1px solid var(--theme-border);
    text-align: left;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.shop_table td {
    padding: 15px;
    border-bottom: 1px solid var(--theme-border);
    vertical-align: middle;
}
.shop_table tbody tr:last-child td {
    border-bottom: none;
}

/* Payment methods */
.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border: 1px solid var(--theme-border);
    border-radius: var(--border-radius-md);
}
.wc_payment_methods li {
    padding: 15px 20px;
    border-bottom: 1px solid var(--theme-border);
}
.wc_payment_methods li:last-child {
    border-bottom: none;
}
.wc_payment_methods input[type="radio"] {
    margin-right: 10px;
    accent-color: var(--theme-primary);
}
.wc_payment_methods label {
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0;
    display: inline-block;
}

/* Address cards */
.address-card {
    border: 1px solid var(--theme-border);
    padding: 18px;
    margin-bottom: 10px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}
.address-card:hover {
    box-shadow: var(--box-shadow-sm);
    border-color: #b0b0b0;
}
.address-card.selected {
    border-color: var(--theme-primary);
    background-color: rgba(207, 145, 99, 0.03);
}
.address-card.selected::after {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--theme-primary);
    font-size: 1.2rem;
}

/* Address form */
#customer_details {
    background: var(--theme-bg-light);
    padding: 25px;
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
    border: 1px solid var(--theme-border);
}

/* Order totals */
.cart_totals table, .lynessa-checkout-review-order-table tfoot {
    background: var(--theme-bg-light);
}
.cart_totals th, .lynessa-checkout-review-order-table tfoot th {
    width: 40%;
}
#currnt_Address_name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: normal;
    color: var(--theme-text-light);
    font-size: 0.9em;
}
#freeShipMsg td {
    color: #28a745;
    font-weight: 600;
    text-align: center;
    background-color: #f0fdf4;
    padding: 10px;
}

/* ==============================================================
   HERO CAROUSEL (PHASE 6) - LUXURY POLISH
   ============================================================== */
.slide-home-02 .slide-wrap {
    position: relative;
    width: 100%;
}
.slide-home-02 .slide-wrap img {
    width: 100% !important;
    height: 100% !important;
    min-height: 550px !important;
    max-height: 900px !important;
    object-fit: cover !important;
    object-position: center top !important;
}

/* Container for text overlay */
.slide-home-02 .slide-info {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    width: 100% !important;
    z-index: 10;
}
.slide-home-02 .slide-info .container {
    display: flex;
    justify-content: flex-end; /* Aligns the box to the right */
    align-items: center;
}

/* The elegant text card - now larger and dominant */
.slide-home-02 .slide-inner {
    background: rgba(255, 255, 255, 0.95);
    padding: 70px 80px;
    border-radius: 2px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 680px;
    width: 95%;
    margin-right: 15px; /* Slight breathing room */
    text-align: center;
    /* Entry animation */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
}
.slide-home-02 .slick-active .slide-inner,
.slide-home-02 .slick-current .slide-inner {
    opacity: 1;
    transform: translateX(40em);
}

/* Typography Hierarchy - Increased Sizes */
.slide-home-02 .slide-inner h5 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #888;
    font-weight: 600;
    margin-bottom: 20px;
}
.slide-home-02 .slide-inner h1 {
    font-size: 72px;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 400;
    color: var(--theme-primary);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    line-height: 1.1;
}
.slide-home-02 .slide-inner h2 {
    font-size: 18px;
    color: #555;
    font-weight: 400;
    font-style: italic;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
    margin-bottom: 45px;
}

/* Minimalist Luxury Button - Increased Size */
.slide-home-02 .slide-inner a {
    display: inline-block;
    background-color: transparent;
    color: #111;
    padding: 18px 55px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid #111;
}
.slide-home-02 .slide-inner a:hover {
    background-color: #111;
    color: #fff;
}

/* Modern Slick Dots */
.slide-home-02 .slick-dots {
    bottom: 30px !important;
}
.slide-home-02 .slick-dots li {
    margin: 0 6px;
    width: auto;
    height: auto;
}
.slide-home-02 .slick-dots li button {
    width: 35px;
    height: 3px;
    padding: 0;
    background: rgba(0,0,0,0.2);
    border-radius: 0;
    transition: all 0.4s ease;
}
.slide-home-02 .slick-dots li button:before {
    display: none; /* Hide default icon */
}
.slide-home-02 .slick-dots li.slick-active button {
    background: var(--theme-primary);
    width: 55px;
}

/* Responsive Scaling */
@media (max-width: 768px) {
    .slide-home-02 .slide-wrap img {
        height: 65vh !important;
        min-height: 450px !important;
    }
    .slide-home-02 .slide-info .container {
        justify-content: center; /* Center the box on smaller screens */
    }
    .slide-home-02 .slide-inner {
        padding: 45px 30px;
        width: 90%;
        max-width: 450px;
        margin-right: 0; /* Remove right breathing room */
    }
    .slide-home-02 .slide-inner h1 {
        font-size: 44px !important;
    }
    .slide-home-02 .slide-inner h5 {
        font-size: 11px;
        letter-spacing: 3px;
        margin-bottom: 15px;
    }
    .slide-home-02 .slide-inner h2 {
        font-size: 15px !important;
        margin-bottom: 30px;
    }
    .slide-home-02 .slide-inner a {
        padding: 14px 35px;
        font-size: 11px;
    }
    .slide-home-02 .slick-dots {
        bottom: 15px !important;
    }
}

/* ==============================================================
   SINGLE PRODUCT PAGE POLISH
   ============================================================== */
.single-thumb-vertical .contain-left {
    padding-right: 30px;
}
.single-thumb-vertical .summary.entry-summary {
    padding-left: 15px;
}
.single-thumb-vertical .product_title {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin-bottom: 15px;
}
.single-thumb-vertical .price {
    font-size: 22px;
    color: var(--theme-primary);
    font-weight: 500;
    margin-bottom: 15px;
}
.single-thumb-vertical .price del {
    color: #aaa;
    font-size: 16px;
    font-weight: 400;
}
.single-thumb-vertical .stock {
    font-size: 13px;
    margin-bottom: 20px;
    padding: 6px 0;
}
.single-thumb-vertical .stock.in-stock span {
    color: #28a745;
    font-weight: 600;
}
.single-thumb-vertical .stock.out-of-stock span {
    color: #dc3545;
    font-weight: 600;
}

/* Variations table */
.single-thumb-vertical .variations td {
    padding: 10px 0;
    vertical-align: middle;
}
.single-thumb-vertical .variations .label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--theme-secondary);
    width: 80px;
}

/* Add to Cart button on single product */
.single_add_to_cart_button, .single_add_to_cart_button.button {
    background-color: var(--theme-primary) !important;
    color: #fff !important;
    padding: 14px 40px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border: 2px solid var(--theme-primary) !important;
    border-radius: var(--border-radius-sm) !important;
    transition: all 0.3s ease !important;
    width: 100%;
    max-width: 320px;
}
.single_add_to_cart_button:hover {
    background-color: transparent !important;
    color: var(--theme-primary) !important;
}

/* ==============================================================
   FOOTER POLISH
   ============================================================== */
footer .section-015 {
    padding-top: 60px;
    padding-bottom: 40px;
}
footer .title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: var(--theme-secondary);
}
footer .listitem-list li {
    margin-bottom: 8px;
}
footer .listitem-list li a {
    font-size: 14px;
    color: var(--theme-text-light);
    transition: color 0.3s ease;
}
footer .listitem-list li a:hover {
    color: var(--theme-primary);
}
footer .footer-desc {
    font-size: 14px;
    color: var(--theme-text-light);
    line-height: 1.7;
}
footer .section-016 {
    border-top: 1px solid var(--theme-border);
    padding: 20px 0;
}
footer .section-016 p {
    font-size: 13px;
    color: var(--theme-text-light);
    margin: 0;
}

/* ==============================================================
   SHOP PAGE SIDEBAR FILTERS
   ============================================================== */
.shop-page .sidebar .widget {
    margin-bottom: 30px;
}
.shop-page .sidebar .widget-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--theme-primary);
    color: var(--theme-secondary);
}

/* Search input in shop */
.shop-control .search-field {
    border: 1px solid var(--theme-border);
    border-radius: var(--border-radius-sm);
    padding: 8px 15px;
    font-size: 13px;
}

/* Grid / List toggle */
.grid-view-mode .display-mode {
    border: 1px solid var(--theme-border);
    padding: 8px 12px;
    margin-right: 5px;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}
.grid-view-mode .display-mode.active {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
}

/* Sorting dropdown */
.shop-control select {
    border: 1px solid var(--theme-border);
    border-radius: var(--border-radius-sm);
    padding: 8px 15px;
    font-size: 13px;
    background-color: #fff;
    appearance: auto;
}

/* ==============================================================
   SCROLL TO TOP
   ============================================================== */
.backtotop {
    background-color: var(--theme-primary) !important;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}
.backtotop:hover {
    background-color: var(--theme-primary-hover) !important;
    box-shadow: var(--box-shadow-md);
}

/* ==============================================================
   LINK & TRANSITION POLISH
   ============================================================== */
a {
    transition: color 0.3s ease;
}
img {
    max-width: 100%;
}

/* ==============================================================
   FINAL STOREFRONT PRESENTATION REFINEMENTS
   ============================================================== */
/* Internal banners need room for the transparent logo/navigation header. */
.banner-wrapper.has_background,
.banner-wrapper.has_background > img {
    min-height: 360px;
    max-height: 360px;
    height: 360px;
}
.banner-wrapper.has_background .banner-wrapper-inner {
    top: 55%;
}
.banner-wrapper.has_background .page-title {
    font-size: clamp(28px, 2.4vw, 36px);
    font-weight: 500;
    letter-spacing: 1.4px;
}
.banner-wrapper.has_background .breadcrumbs {
    margin-top: 11px;
}
.banner-wrapper.has_background .breadcrumbs .breadcrumb li,
.banner-wrapper.has_background .breadcrumbs .breadcrumb li a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
}

/* A smaller editorial panel lets the collection imagery stay prominent. */
.slide-home-02 .slide-info {
    max-width: 680px !important;
}
.slide-home-02 .slide-inner {
    width: 100%;
    padding: 34px 48px 36px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 48px rgba(53, 34, 25, .12);
    text-align: center;
}
.slide-home-02 .slide-wrap .slide-info .slide-inner h5,
.slide-home-02 .slide-wrap .slide-info .slide-inner h1,
.slide-home-02 .slide-wrap .slide-info .slide-inner h2 {
    width: auto;
    float: none;
    text-align: center;
}
.slide-home-02 .slide-wrap .slide-info .slide-inner h5 {
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 3.2px;
}
.slide-home-02 .slide-wrap .slide-info .slide-inner h1 {
    margin-bottom: 10px;
    font-family: inherit;
    font-size: clamp(38px, 4.1vw, 58px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: .5px;
}
.slide-home-02 .slide-wrap .slide-info .slide-inner h2 {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.45;
    letter-spacing: .4px;
}
.slide-home-02 .slide-wrap .slide-info .slide-inner a {
    min-height: 44px;
    padding: 13px 28px;
    line-height: 16px;
}
.slide-home-02 .slick-dots {
    bottom: 22px;
}

/* Dynamic category content retains the intended horizontal carousel layout. */
.lynessa-categories.style-02 {
    padding: 20px 0 8px;
}
.categories-list-owl .slick-list {
    margin: 0 26px;
}
.categories-list-owl .slick-slide {
    height: auto;
}
.categories-list-owl .categories-item {
    min-height: 180px;
    padding: 8px 10px 14px;
}
.categories-list-owl .categories-inner {
    text-align: center;
}
.categories-list-owl .categories-thumb {
    margin: 0 0 13px;
}
.categories-list-owl .categories-thumb img {
    width: 116px;
    height: 116px;
}
.categories-list-owl .title {
    margin: 0;
    line-height: 1.35;
}
.categories-list-owl .title a {
    font-size: 12px;
    letter-spacing: .85px;
}

/* One proportional button language across storefront actions. */
a.button,
.btn-primary-custom,
.btn-outline-custom,
.single_add_to_cart_button,
.widget_price_filter .button {
    min-height: 42px;
    line-height: 1.2;
    padding: 12px 22px;
}
.btn-primary-custom,
.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Product details are composed as one clear, evenly spaced purchase panel. */
.single-thumb-vertical .main-contain-summary {
    max-width: 1080px;
    margin: 0 auto;
}
.single-thumb-vertical .contain-left .single-left {
    width: 53%;
    margin-right: 48px;
}
.single-thumb-vertical .summary.entry-summary {
    padding-top: 3px;
}
.single-thumb-vertical .summary.entry-summary .price {
    margin-bottom: 12px;
}
.single-thumb-vertical .stock {
    margin-bottom: 17px;
}
.single-thumb-vertical .variations td {
    padding: 12px 0;
}
.single-thumb-vertical .variations_button {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.single-thumb-vertical .quantity {
    margin: 0;
}
.single-thumb-vertical .entry-summary .cart .single_add_to_cart_button {
    flex: 1 1 220px;
    width: auto;
    max-width: none;
    min-height: 44px;
    margin: 0;
    padding: 12px 24px !important;
}
.single-thumb-vertical .yith-wcwl-add-to-wishlist {
    margin-top: 20px;
}

@media (max-width: 991px) {
    .single-thumb-vertical .contain-left .single-left {
        width: 52%;
        margin-right: 30px;
    }
}

@media (max-width: 767px) {
    .banner-wrapper.has_background,
    .banner-wrapper.has_background > img {
        min-height: 260px;
        max-height: 260px;
        height: 260px;
    }
    .banner-wrapper.has_background .banner-wrapper-inner {
        top: 58%;
    }
    .slide-home-02 .slide-info {
        max-width: calc(100% - 30px) !important;
    }
    .slide-home-02 .slide-inner {
        padding: 25px 22px 27px;
    }
    .slide-home-02 .slide-wrap .slide-info .slide-inner h1 {
        font-size: 34px !important;
    }
    .slide-home-02 .slide-wrap .slide-info .slide-inner h2 {
        margin-bottom: 19px;
        font-size: 14px;
    }
    .categories-list-owl .slick-list {
        margin: 0 16px;
    }
    .categories-list-owl .categories-item {
        min-height: 150px;
        padding-left: 4px;
        padding-right: 4px;
    }
    .categories-list-owl .categories-thumb img {
        width: 88px;
        height: 88px;
    }
    .single-thumb-vertical .contain-left .single-left {
        width: 100%;
        margin-right: 0;
    }
    .single-thumb-vertical .variations_button {
        align-items: stretch;
    }
    .single-thumb-vertical .entry-summary .cart .single_add_to_cart_button {
        flex-basis: 100%;
    }
}

/* ==============================================================
   STOREFRONT REFINEMENT — shared visual layer, no feature changes
   ============================================================== */
/* A quieter, more deliberate rhythm for all storefront content. */
.main-container {
    padding-top: 64px;
    padding-bottom: 64px;
}
.banner-wrapper.has_background {
    min-height: 250px;
    max-height: 250px;
}
.banner-wrapper.has_background > img {
    height: 250px;
    object-position: center;
}
.banner-wrapper.has_background .banner-wrapper-inner {
    width: min(100% - 30px, 1170px);
    margin: 0 auto;
}
.banner-wrapper.has_background .page-title {
    margin-bottom: 12px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
}
.banner-wrapper.has_background .breadcrumbs .breadcrumb {
    margin-bottom: 0;
}

/* Keep product imagery uniform without changing its source/loading flow. */
.product-item:not(.list) .product-thumb > .thumb-link {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f7f5f3;
}
.product-item:not(.list) .product-thumb > .thumb-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.product-item:not(.list) .product-inner {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid transparent;
}
.product-item:not(.list):hover .product-inner {
    border-color: rgba(207, 145, 99, .22);
    box-shadow: 0 10px 30px rgba(38, 27, 21, .08);
}
.product-item:not(.list) .product-info {
    min-height: 126px;
    padding: 17px 14px 20px;
}
.product-item:not(.list) .product-name {
    min-height: 40px;
    margin: 0 0 7px;
}
.product-item:not(.list) .product-name a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 13px;
    letter-spacing: .7px;
}
.product-item:not(.list) .rating-wapper,
.product-item:not(.list) .star-rating {
    margin-top: 5px;
}
.product-item:not(.list) .price {
    margin-top: 9px;
    line-height: 1.4;
}

/* Home and category browsing gain a more consistent visual baseline. */
.lynessa-categories.style-01 {
    padding-bottom: 20px;
}
.lynessa-categories.style-01 .categories-inner {
    padding: 8px 10px 16px;
}
.lynessa-categories.style-01 .categories-thumb {
    margin-bottom: 17px;
}
.lynessa-categories.style-01 .title {
    margin: 0;
    line-height: 1.35;
}
.categories-list-owl .categories-item {
    padding: 8px 4px 16px;
}
.categories-list-owl .categories-thumb img {
    border: 3px solid #fff;
    transition: transform .35s ease, box-shadow .35s ease;
}
.categories-list-owl .categories-item:hover .categories-thumb img {
    box-shadow: 0 10px 24px rgba(38, 27, 21, .14);
}

/* Shop controls and filters read as a single, tidy toolbar. */
.shop-page.left-sidebar {
    padding-top: 38px;
}
.shop-control.shop-before-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 34px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--theme-border);
}
.shop-control .grid-view-mode,
.shop-control .lynessa-ordering {
    margin: 0;
}
.shop-control .grid-view-mode form {
    display: flex;
    gap: 7px;
}
.grid-view-mode .display-mode {
    margin-right: 0;
    padding: 9px 14px;
    font-size: 11px;
    letter-spacing: .7px;
    text-transform: uppercase;
}
.shop-control select.orderby {
    min-width: 190px;
    height: 38px;
    padding-top: 7px;
    padding-bottom: 7px;
}
.shop-page .sidebar .widget {
    margin-bottom: 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--theme-border);
}
.shop-page .sidebar .widget:last-child {
    border-bottom: 0;
}
.shop-page .sidebar .widget_product_search form {
    display: flex;
}
.shop-page .sidebar .widget_product_search .search-field {
    min-width: 0;
    border-radius: 0;
}
.shop-page .sidebar .widget_product_search button {
    flex: 0 0 auto;
    padding: 0 14px;
    border-radius: 0;
}

/* Single product: clearer gallery/details split, without changing controls. */
.single-thumb-vertical.main-container {
    padding-top: 68px;
    padding-bottom: 76px;
}
.single-thumb-vertical .contain-left {
    padding-right: 42px;
}
.single-thumb-vertical .lynessa-product-gallery__wrapper {
    background: #faf9f8;
    border: 1px solid #f0ece8;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}
.single-thumb-vertical .summary.entry-summary {
    padding-left: 28px;
    max-width: 520px;
}
.single-thumb-vertical .product_title {
    font-size: clamp(24px, 2.2vw, 30px);
    letter-spacing: .25px;
    margin-bottom: 13px;
}
.single-thumb-vertical .lynessa-product-details__short-description {
    margin: 18px 0 22px;
    padding: 17px 0 2px;
    border-top: 1px solid var(--theme-border);
    color: var(--theme-text-light);
    line-height: 1.75;
}
.single-thumb-vertical .variations {
    margin-bottom: 17px;
}
.single-thumb-vertical .single_variation_wrap {
    padding-top: 20px;
    border-top: 1px solid var(--theme-border);
}
.single-thumb-vertical .quantity {
    margin-right: 18px;
}

/* Editorial pages use the existing palette with less visual weight. */
.site-main .page-section {
    padding: 68px 0;
}
.site-main .page-section:first-child {
    padding-top: 78px;
    padding-bottom: 42px;
}
.site-main .section-subtitle {
    font-size: 12px;
    letter-spacing: 2.4px;
    color: var(--theme-primary);
}
.site-main .section-title {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.18;
    margin-bottom: 19px;
}
.site-main .section-text {
    color: #68615d;
    line-height: 1.8;
}
.site-main .image-wrapper {
    padding: 16px;
}
.site-main .image-wrapper img {
    aspect-ratio: 4 / 5;
    max-height: none;
    object-position: center;
}
.site-main .philosophy-cards {
    gap: 22px;
    margin-top: 34px;
}
.site-main .philosophy-card {
    padding: 32px 26px;
    border: 1px solid rgba(195, 137, 101, .12);
    border-radius: 6px;
}
.site-main .philosophy-card h3 {
    font-size: 22px;
}
.site-main .philosophy-card .section-text {
    margin-bottom: 0;
    font-size: 15px;
}

@media (max-width: 991px) {
    .shop-page.left-sidebar {
        padding-top: 30px;
    }
    .shop-page .sidebar {
        margin-top: 42px;
    }
    .single-thumb-vertical .contain-left,
    .single-thumb-vertical .summary.entry-summary {
        padding-left: 0;
        padding-right: 0;
    }
    .single-thumb-vertical .summary.entry-summary {
        max-width: none;
        margin-top: 38px;
    }
}

@media (max-width: 767px) {
    .main-container,
    .single-thumb-vertical.main-container {
        padding-top: 42px;
        padding-bottom: 48px;
    }
    .banner-wrapper.has_background,
    .banner-wrapper.has_background > img {
        min-height: 180px;
        max-height: 180px;
        height: 180px;
    }
    .banner-wrapper.has_background .page-title {
        font-size: 25px;
    }
    .shop-control.shop-before-control {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 26px;
    }
    .shop-control .lynessa-ordering,
    .shop-control select.orderby {
        width: 100%;
    }
    .shop-control select.orderby {
        min-width: 0;
    }
    .product-item:not(.list) .product-info {
        min-height: 116px;
        padding: 13px 9px 16px;
    }
    .site-main .page-section,
    .site-main .page-section:first-child {
        padding-top: 46px;
        padding-bottom: 46px;
    }
    .site-main .image-wrapper {
        margin-bottom: 20px;
    }
    .site-main .philosophy-cards {
        gap: 16px;
    }
    .site-main .philosophy-card {
        min-width: 100%;
        padding: 27px 22px;
    }
}

/* Final cascade: these rules intentionally follow earlier refinement phases. */
.banner-wrapper.has_background,
.banner-wrapper.has_background > img {
    min-height: 360px;
    max-height: 360px;
    height: 360px;
}
.banner-wrapper.has_background .banner-wrapper-inner {
    top: 55%;
}
.banner-wrapper.has_background .page-title {
    font-size: clamp(28px, 2.4vw, 36px);
    font-weight: 500;
    letter-spacing: 1.4px;
}
.banner-wrapper.has_background .breadcrumbs {
    margin-top: 11px;
}
.banner-wrapper.has_background .breadcrumbs .breadcrumb li,
.banner-wrapper.has_background .breadcrumbs .breadcrumb li a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
}

.slide-home-02 .slide-info {
    max-width: 680px !important;
}
.slide-home-02 .slide-inner {
    width: 100%;
    padding: 34px 48px 36px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 48px rgba(53, 34, 25, .12);
}
.slide-home-02 .slide-wrap .slide-info .slide-inner h5 {
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 3.2px;
}
.slide-home-02 .slide-wrap .slide-info .slide-inner h1 {
    margin-bottom: 10px;
    font-family: inherit;
    font-size: clamp(38px, 4.1vw, 58px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: .5px;
}
.slide-home-02 .slide-wrap .slide-info .slide-inner h2 {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.45;
    letter-spacing: .4px;
}
.slide-home-02 .slide-wrap .slide-info .slide-inner a {
    min-height: 44px;
    padding: 13px 28px;
    line-height: 16px;
}
.slide-home-02 .slick-dots {
    bottom: 22px;
}

.categories-list-owl .slick-list {
    margin: 0 26px;
}
.categories-list-owl .categories-item {
    min-height: 180px;
    padding: 8px 10px 14px;
}
.categories-list-owl .categories-thumb {
    margin: 0 0 13px;
}
.categories-list-owl .categories-thumb img {
    width: 116px;
    height: 116px;
}
.categories-list-owl .title {
    margin: 0;
    line-height: 1.35;
}
.categories-list-owl .title a {
    font-size: 12px;
    letter-spacing: .85px;
}

a.button,
.btn-primary-custom,
.btn-outline-custom,
.widget_price_filter .button {
    min-height: 42px;
    line-height: 1.2;
    padding: 12px 22px;
}
.btn-primary-custom,
.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.single-thumb-vertical .main-contain-summary {
    max-width: 1080px;
    margin: 0 auto;
}
.single-thumb-vertical .contain-left .single-left {
    width: 53%;
    margin-right: 48px;
}
.single-thumb-vertical .summary.entry-summary {
    padding-top: 3px;
}
.single-thumb-vertical .summary.entry-summary .price {
    margin-bottom: 12px;
}
.single-thumb-vertical .stock {
    margin-bottom: 17px;
}
.single-thumb-vertical .variations td {
    padding: 12px 0;
}
.single-thumb-vertical .variations_button {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.single-thumb-vertical .quantity {
    margin: 0;
}
.single-thumb-vertical .entry-summary .cart .single_add_to_cart_button {
    flex: 1 1 220px;
    width: auto;
    max-width: none;
    min-height: 44px;
    margin: 0;
    padding: 12px 24px !important;
}
.single-thumb-vertical .yith-wcwl-add-to-wishlist {
    margin-top: 20px;
}

@media (max-width: 991px) {
    .single-thumb-vertical .contain-left .single-left {
        width: 52%;
        margin-right: 30px;
    }
}
@media (max-width: 767px) {
    .banner-wrapper.has_background,
    .banner-wrapper.has_background > img {
        min-height: 260px;
        max-height: 260px;
        height: 260px;
    }
    .banner-wrapper.has_background .banner-wrapper-inner {
        top: 58%;
    }
    .slide-home-02 .slide-info {
        max-width: calc(100% - 30px) !important;
    }
    .slide-home-02 .slide-inner {
        padding: 25px 22px 27px;
    }
    .slide-home-02 .slide-wrap .slide-info .slide-inner h1 {
        font-size: 34px !important;
    }
    .slide-home-02 .slide-wrap .slide-info .slide-inner h2 {
        margin-bottom: 19px;
        font-size: 14px;
    }
    .categories-list-owl .slick-list {
        margin: 0 16px;
    }
    .categories-list-owl .categories-item {
        min-height: 150px;
        padding-left: 4px;
        padding-right: 4px;
    }
    .categories-list-owl .categories-thumb img {
        width: 88px;
        height: 88px;
    }
    .single-thumb-vertical .contain-left .single-left {
        width: 100%;
        margin-right: 0;
    }
    .single-thumb-vertical .variations_button {
        align-items: stretch;
    }
    .single-thumb-vertical .entry-summary .cart .single_add_to_cart_button {
        flex-basis: 100%;
    }
}
