@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700&family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
    --primary-color: #000000;
    --accent-color: #EBA844; /* Amber/Orange */
    --bg-color: #FFFFFF;
    --border-color: #e5e5e5;
    --text-color: #1a1a1a;
    --text-muted: #707070;
    --font-heading: 'EB Garamond', Georgia, serif;
    --font-body: 'Assistant', Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: var(--font-heading);
    color: var(--heading-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--top-bar-bg);
    color: #b5b5b5;
    font-size: 0.8rem;
    height: 40px;
    line-height: 40px;
    position: relative;
    z-index: 10001;
    /* Force above navbar and everything else */
}

.top-bar i {
    color: var(--primary-color);
    margin-right: 5px;
}

.top-bar-right a {
    margin-left: 20px;
    color: #b5b5b5;
}

.top-bar-right a:hover {
    color: #ffffff;
}

.top-bar .dropdown-menu {
    line-height: normal;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    z-index: 10002;
}

.top-bar .dropdown-item {
    color: #1a1a1a !important;
    font-size: 13px;
    padding: 8px 20px;
    font-weight: 500;
}

.top-bar .dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color) !important;
}

.top-bar .dropdown-toggle {
    color: #b5b5b5 !important;
}

.top-bar .dropdown-toggle:hover {
    color: #ffffff !important;
}

.top-bar-center {
    flex-grow: 1;
    text-align: center;
    overflow: hidden;
    height: 40px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-wrapper {
    display: flex;
    flex-direction: column;
    animation: slideUp 6s ease-in-out infinite;
    height: 100%;
    /* Ensures alignment */
}

.top-bar-item {
    height: 40px;
    line-height: 40px;
    display: block;
    color: #b5b5b5;
    /* Match top bar text color */
    font-size: 12px;
    white-space: nowrap;
}

@keyframes slideUp {

    0%,
    45% {
        transform: translateY(0);
    }

    50%,
    95% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(-80px);
        /* Move effectively to nothing or loop */
    }
}

/* Update top bar layout slightly to ensure center takes space */
.top-bar .container {
    gap: 20px;
}

/* --- Navbar --- */
.navbar {
    padding: 15px 0;
    background: #ffffff;
    transition: padding 0.3s ease;
}

.navbar.sticky-top {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow like eStore */
}

.navbar-brand {
    padding: 0;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.navbar .navbar-nav .nav-link {
    font-family: var(--font-body);
    font-size: 0.6rem !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    color: #0866a5 !important;
    padding: 0 15px !important;
    letter-spacing: 0.8px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Underline effect - Running bottom line */
.navbar .navbar-nav .nav-link::after {
    display: block;
    position: absolute;
    bottom: -3px;
    left: 15px;
    /* match padding */
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    content: "";
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: calc(100% - 30px);
}

.header-icons .icon-btn {
    font-size: 18px;
    color: #1e1e27;
    margin-left: 15px;
    /* Reduced to accommodate search input */
    transition: color 0.3s;
    cursor: pointer;
}

/* Expanding Search - Premium Absolute Style */
.search-container {
    position: relative;
    height: 40px;
    margin-right: 15px;
    /* Spacing from user icon */
}

.search-input {
    position: absolute;
    right: -10px;
    /* Align with icon center area */
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    /* Start hidden */
    height: 40px;
    background: #ffffff;
    border: none;
    outline: none;
    border-radius: 25px;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    /* Bouncy smooth expansion */
    z-index: 9;
    opacity: 0;
    box-shadow: none;
    font-size: 14px;
    color: var(--text-color);
}

.search-input.active {
    width: 250px;
    /* Expanded Width */
    padding: 0 45px 0 20px;
    /* Right padding for icon space */
    opacity: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    /* Premium shadow */
    border: 1px solid #f1f1f1;
}

/* Icon styling adjustments */
#searchBtn {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: color 0.3s;
}

#searchBtn:hover {
    background: rgba(0, 0, 0, 0.03);
}

.header-icons .icon-btn:hover {
    color: var(--primary-color);
}

.header-icons .badge {
    background-color: var(--primary-color) !important;
    font-size: 10px;
}

/* --- Hero Slider --- */
.main_slider {
    position: relative;
    background-color: #f3f3f3;
    /* Placeholder for image */
    min-height: 550px;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--primary-color);
    overflow: hidden;
}

.slider_content h6 {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.slider_content h1 {
    font-size: 55px;
    line-height: 1.1;
    margin-bottom: 35px;
}

.red_button {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    padding: 0 35px;
    height: 40px;
    line-height: 40px;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.red_button:hover {
    background: #333333;
    color: #ffffff;
}

.red_button a {
    color: #ffffff;
}

/* --- Floating Elements --- */
.main_slider .row {
    position: relative;
    /* Make row the reference for floating elements */
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 10px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    /* Position loosely "between" text and image */
    top: 25%;
    left: 60%;
    transform: translate(-50%, -50%);
    animation: float 4s ease-in-out infinite;
    z-index: 100;
    min-width: 120px;
    max-width: 180px;
    height: 80px;
}

.floating-card img {
    width: 35px;
    height: 40px;
}

.flash-sale-link {
    position: absolute;
    top: 10%;
    right: 80%;
    background: #ffc107;
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    animation: pulse 2s infinite;
    z-index: 100;
    text-decoration: none;
    min-width: 100px;
    max-width: 120px;
    height: 60px;
}

.flash-sale-link:hover {
    background: #ffca2c;
    color: #000;
}

/* Circular Sale Link */
.circular-sale {
    position: absolute;
    top: 60%;
    left: 40%;
    /* Position adjusted to be visible */
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #006cf8, #ff3c00);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.5);
    z-index: 20;
    text-align: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: circularPulse 2s infinite;
}

.circular-sale:hover {
    transform: translate(-50%, -50%) scale(1.1);
    color: white;
}

.circular-sale .sale-text {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}

.circular-sale .off-text {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.circular-sale .off-text small {
    font-size: 10px;
    font-weight: 500;
}

@keyframes circularPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 51, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 51, 102, 0);
    }
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) translateY(0px);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }

    100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Banner Items --- */
.banner_item {
    height: 240px;
    background-position: center;
    background-size: cover;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 30px;
    transition: transform 0.3s;
}

.banner_category {
    background-color: #ffffff;
    padding: 12px 25px;
    min-width: 140px;
    text-align: center;
}

.banner_category a {
    font-size: 20px;
    font-weight: 600;
    color: #1e1e27;
}

.banner_category a:hover {
    color: var(--primary-color);
}

/* --- Product Grid --- */
.section_title h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 50px;
    text-align: center;
}

.section_title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 20px auto 0;
}

.product-item {
    margin-bottom: 30px;
    transition: box-shadow 0.3s;
}

.product-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
    /* Make row the reference for floating elements */
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 10px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    /* Position loosely "between" text and image */
    top: 25%;
    left: 60%;
    transform: translate(-50%, -50%);
    animation: float 4s ease-in-out infinite;
    z-index: 100;
    min-width: 120px;
    max-width: 180px;
    height: 80px;
}

.floating-card img {
    width: 35px;
    height: 40px;
}

.flash-sale-link {
    position: absolute;
    top: 10%;
    right: 80%;
    background: #ffc107;
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    animation: pulse 2s infinite;
    z-index: 100;
    text-decoration: none;
    min-width: 100px;
    max-width: 120px;
    height: 60px;
}

.flash-sale-link:hover {
    background: #ffca2c;
    color: #000;
}

/* Circular Sale Link */
.circular-sale {
    position: absolute;
    top: 60%;
    left: 40%;
    /* Position adjusted to be visible */
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #006cf8, #ff3c00);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.5);
    z-index: 20;
    text-align: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: circularPulse 2s infinite;
}

.circular-sale:hover {
    transform: translate(-50%, -50%) scale(1.1);
    color: white;
}

.circular-sale .sale-text {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}

.circular-sale .off-text {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.circular-sale .off-text small {
    font-size: 10px;
    font-weight: 500;
}

@keyframes circularPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 51, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 51, 102, 0);
    }
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) translateY(0px);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }

    100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Banner Items --- */
.banner_item {
    height: 240px;
    background-position: center;
    background-size: cover;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 30px;
    transition: transform 0.3s;
}

.banner_category {
    background-color: #ffffff;
    padding: 12px 25px;
    min-width: 140px;
    text-align: center;
}

.banner_category a {
    font-size: 20px;
    font-weight: 600;
    color: #1e1e27;
}

.banner_category a:hover {
    color: var(--primary-color);
}

/* --- Product Grid --- */
.section_title h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 50px;
    text-align: center;
}

.section_title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 20px auto 0;
}

.product-item {
    margin-bottom: 30px;
    transition: box-shadow 0.3s;
}

.product-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product_image {
    width: 100%;
    height: 300px;
    background: #f7f7f7;
    position: relative;
    overflow: hidden;
}

.product_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.product_content {
    padding: 20px;
    text-align: center;
    background: #ffffff;
}

.product_title a {
    font-size: 14px;
    font-weight: 500;
    color: #1e1e27;
}

.product_title a:hover {
    color: var(--primary-color);
}

.product_price {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 10px;
}

.product_price span {
    font-size: 12px;
    color: #b5b5b5;
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 400;
}

/* Overlay Button */
.add_to_cart_button {
    width: 100%;
    position: absolute;
    bottom: -50px;
    /* Hidden initially */
    left: 0;
    transition: bottom 0.3s ease;
}

.add_to_cart_button a {
    display: block;
    height: 50px;
    line-height: 50px;
    background: var(--primary-color);
    color: #ffffff;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.product-item:hover .add_to_cart_button {
    bottom: 0;
}

/* --- Benefit Strip --- */
.benefit_col {
    padding: 30px 15px;
    background: #ffffff;
    text-align: center;
    border-right: 1px solid #eee;
}

.benefit_icon {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit_content h6 {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
}

.benefit_content p {
    font-size: 11px;
    color: #51545f;
    margin: 0;
}

/* --- Newsletter --- */
.newsletter {
    background: #f2f2f2;
    padding: 80px 0;
    margin-top: 50px;
}

.newsletter_text h4 {
    margin-bottom: 5px;
}

.newsletter-form position-relative {
    position: relative;
}

.newsletter-input {
    width: 100%;
    height: 46px;
    border: none;
    padding-left: 20px;
    outline: none;
}

.newsletter-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 46px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 30px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* --- Category Strip --- */
/* --- Category Strip --- */
/* Wrapper for category items */

.category-card {
    width: 120px;
    /* Fixed width for consistent grid */
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-image {
    width: 100%;
    height: 80px;
    /* Rectangular aspect ratio */
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s;
}

.category-card:hover .category-image {
    border-color: var(--primary-color);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-name {
    font-size: 14px;
    color: #1e1e27;
}

.category-name:hover {
    color: var(--primary-color);
}

/* --- Footer --- */
.footer {
    background: #313131;
    /* Dark grey */
    padding: 60px 0 20px;
    color: #b5b5b5;
}

.footer_logo a {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.footer_social ul {
    margin: 0;
    padding: 0;
}

.footer_social li {
    display: inline-block;
    margin-left: 10px;
}

.footer_social a {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #ffffff;
    color: #1e1e27;
    border-radius: 50%;
    font-size: 12px;
    transition: all 0.3s;
}



/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
    .header-icons {
        margin-left: auto;
    }

    .main_slider {
        height: auto;
        padding: 50px 0;
        text-align: center;
    }

    .main_slider .row {
        flex-direction: column-reverse;
        /* Image on top/first */
    }

    .slider_content {
        margin-top: 10px;
    }

    .slider_content h1 {
        font-size: 36px;
    }

    .benefits .col-md-6 {
        border-bottom: 1px solid #eee;
    }

    .benefit_col {
        border-right: none;
    }

    .search-input.active {
        width: 180px;
        /* Smaller width on mobile */
    }
}

@media (max-width: 576px) {
    .top-bar {
        font-size: 10px;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        height: auto;
        padding: 5px 15px;
    }

    .newsletter_text h4 {
        font-size: 20px;
    }

    .category-card {
        width: 100px;
        /* Smaller cards */
    }

    .category-image {
        height: 70px;
    }
}

/* --- Product Detail Page --- */
.product-detail-section {
    padding: 20px 0;
    background-color: #fff;
}

.product-gallery {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.thumbnail-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80px;
    flex-shrink: 0;
}

.thumb-item {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumb-item.active {
    border-color: var(--primary-color);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image-container {
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info-column {
    padding-left: 40px;
}

.product-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.product-breadcrumb a:hover {
    color: var(--primary-color);
}

.product-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-detail-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-detail-price .old-price {
    font-size: 18px;
    color: #adb5bd;
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 400;
}

.product-detail-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 30px;
}

.variation-section {
    margin-bottom: 15px;
}

.variation-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.variation-selectors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variation-selectors input[type="radio"] {
    display: none;
}

.variation-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    position: relative;
    user-select: none;
}

/* Color Swatch Specific */
.color-swatch-label {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #eee;
}

.swatch-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    border: 2px solid #fff;
    /* Internal border for contrast */
}

.swatch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.variation-selectors input[type="radio"]:checked+.variation-label {
    border-color: #333;
    background-color: #f8f9fa;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.variation-selectors input[type="radio"]:checked+.color-swatch-label {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary-color);
}

.variation-label:hover {
    border-color: #ccc;
    transform: translateY(-1px);
}

.variation-option {
    position: relative;
}

/* Tooltip for variation name */
.variation-option:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    margin-bottom: 8px;
    opacity: 0.9;
    z-index: 10;
    pointer-events: none;
}

/* Quantity Picker */
.quantity-picker {
    display: flex;
    align-items: center;
    border: 1.5px solid #e0e0e0;
    border-radius: 30px;
    width: fit-content;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #f5f5f5;
}

.qty-input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: none;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Accordion */
.product-accordion {
    margin-top: 40px;
    border-top: 1.5px solid #eee;
}

.accordion-item {
    border: none;
    border-bottom: 1.5px solid #eee;
    background: transparent;
}

.accordion-button {
    padding: 18px 0;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    background: transparent !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
}

.accordion-button::after {
    background-size: 12px;
}

.accordion-body {
    padding: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Trust Badges & Social */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    background: #f9f9f9;
    padding: 6px 12px;
    border-radius: 4px;
}

.trust-badge i {
    color: #28a745;
}

.product-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.product-share span {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

.share-links {
    display: flex;
    gap: 10px;
}

.share-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    transition: opacity 0.2s;
}

.share-link.facebook {
    background: #1877f2;
}

.share-link.twitter {
    background: #1da1f2;
}

.share-link.pinterest {
    background: #bd081c;
}

.share-link:hover {
    opacity: 0.8;
}

@media (max-width: 991px) {
    .product-gallery {
        flex-direction: column-reverse;
    }

    .thumbnail-gallery {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .main-image-container {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .product-info-column {
        padding-left: 15px;
        margin-top: 30px;
    }
}

/* ==========================================================================
   Store Page & Modern Pagination
   ========================================================================== */

.store-header {
    background: linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02)), #f8f9fa;
    margin-bottom: 2rem;
}

.store-sidebar {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu li a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    color: var(--primary-color);
    padding-left: 5px;
}

.pagination-modern .page-item {
    margin: 0 3px;
}

.pagination-modern .page-link {
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee !important;
    color: #666;
    transition: all 0.3s ease;
}

.pagination-modern .page-item.active .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.pagination-modern .page-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* ==========================================================================
   Mobile & Responsive Enhancements
   ========================================================================== */

/* Off-canvas Customization */
.offcanvas {
    max-width: 80%;
}

.offcanvas-header {
    background: #f8f9fa;
}

.offcanvas-title {
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--top-bar-bg);
}

.offcanvas-body .nav-link {
    font-size: 0.85rem;
    padding: 12px 10px !important;
    border-bottom: 1px solid #f1f1f1;
    color: #0866a5 !important;
    font-weight: 500;
}

.offcanvas-body .nav-link::after {
    display: none;
}

.offcanvas-body .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.offcanvas-body .dropdown-menu {
    background: #fafafa;
    padding: 0 15px;
    margin: 0;
    border: none !important;
}

.offcanvas-body .dropdown-item {
    font-size: 0.85rem;
    padding: 10px 0;
}

/* Mobile Header Icons */
@media (max-width: 991px) {
    .navbar-brand img {
        height: 35px;
    }

    .header-icons .icon-btn {
        font-size: 20px;
        margin-left: 12px;
    }

    .navbar {
        padding: 5px 0;
    }

    .top-bar {
        display: none;
        /* Hide top bar on mobile to save space */
    }
}

/* Store Sidebar Mobile Fixes */
.offcanvas .store-sidebar {
    box-shadow: none;
    padding: 0;
}

/* Product Grid Adjustments */
@media (max-width: 576px) {
    .product_image {
        height: 180px;
    }

    .product_title a {
        font-size: 13px;
    }

    .section_title h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Mobile Float Adjustments */
@media (max-width: 768px) {

    .floating-card,
    .flash-sale-link,
    .circular-sale {
        display: none;
    }
}

/* --- Account Page Modern UI --- */
.auth-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 15px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.auth-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e65100 100%);
    padding: 40px 30px;
    text-align: center;
    color: #fff;
}

.auth-header h2 {
    color: #fff;
    margin-bottom: 5px;
    font-weight: 700;
}

.auth-body {
    padding: 30px 35px;
}

.form-control-premium {
    height: 52px;
    border-radius: 12px;
    border: 2px solid #eee;
    padding: 10px 18px !important;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
}

.form-control-premium:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(194, 65, 5, 0.1);
    outline: none;
}

.btn-premium {
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e65100 100%);
    border: none;
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(194, 65, 5, 0.25);
    filter: brightness(1.1);
}

.btn-google {
    height: 52px;
    border-radius: 12px;
    border: 2px solid #eee;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
    color: #333 !important;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
}

.btn-google:hover {
    background: #f8f9fa !important;
    border-color: #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: #333 !important;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #bbb;
    font-weight: 500;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.divider:not(:empty)::before {
    margin-right: 15px;
}

.divider:not(:empty)::after {
    margin-left: 15px;
}

.auth-footer {
    text-align: center;
    padding-top: 10px;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 700;
    transition: all 0.2s ease;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Dashboard UI */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.dashboard-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none !important;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.dashboard-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(194, 65, 5, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.dashboard-card:hover .dashboard-icon {
    background: var(--primary-color);
    color: #fff;
}

.dashboard-card h4 {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 10px;
}

.dashboard-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}
/* --- Glamour Theme (Landing Page Only) --- */
body.glamour-theme {
    background-color: #050505 !important;
    color: #f1f1f1 !important;
    --primary-gradient: linear-gradient(135deg, #ff4d4d 0%, #f97316 100%);
    --glamour-black: #050505;
    --glamour-dark: #0a0a0a;
    --glamour-glass: rgba(255, 255, 255, 0.05);
    --glamour-glass-border: rgba(255, 255, 255, 0.1);
}

.glamour-theme h1, 
.glamour-theme h2, 
.glamour-theme h3, 
.glamour-theme h4, 
.glamour-theme h5, 
.glamour-theme h6 {
    color: #ffffff !important;
}

/* Navbar Adaptations */
.glamour-theme .navbar {
    background: rgba(5, 5, 5, 0.8) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.glamour-theme .navbar .nav-link {
    color: #cccccc !important;
}

.glamour-theme .navbar .nav-link:hover,
.glamour-theme .navbar .nav-link.active {
    color: #f97316 !important;
}

.glamour-theme .top-bar {
    background-color: #000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Cinematic Hero Section */
.glamour-theme .main_slider {
    background: var(--glamour-black) !important;
    border-bottom: none !important;
    min-height: 85vh !important;
    margin-bottom: 0 !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.glamour-theme .main_slider::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.1) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.glamour-theme .slider_content {
    position: relative;
    z-index: 10;
}

.glamour-theme .slider_content h1 {
    font-size: clamp(40px, 8vw, 84px) !important;
    font-weight: 800 !important;
    letter-spacing: -2px !important;
    background: linear-gradient(to bottom, #ffffff 50%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px !important;
    line-height: 1 !important;
}

.glamour-theme .slider_content h4 {
    font-size: 22px !important;
    font-weight: 300 !important;
    color: #aaaaaa !important;
    max-width: 600px;
    line-height: 1.5;
}

.glamour-theme .red_button {
    background: var(--primary-gradient) !important;
    border-radius: 50px !important;
    padding: 15px 45px !important;
    height: auto !important;
    line-height: normal !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.glamour-theme .red_button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.4);
}

/* Floating Elements in Glamour */
.glamour-theme .floating-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white !important;
}

.glamour-theme .floating-card span {
    color: white !important;
}

/* Section Title */
.glamour-theme .section_title h2 {
    font-size: clamp(30px, 5vw, 48px) !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.glamour-theme .section_title h2::after {
    background: var(--primary-gradient) !important;
    width: 100px !important;
    height: 4px !important;
}

/* Product Item Glamour */
.glamour-theme .product-item {
    background: #0f0f0f !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 24px !important;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.glamour-theme .product_image {
    background: #151515 !important;
}

.glamour-theme .product-item:hover {
    transform: translateY(-12px);
    border-color: rgba(249, 115, 22, 0.5) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8) !important;
}

.glamour-theme .product_content {
    background: transparent !important;
    padding: 25px !important;
}

.glamour-theme .product_title a {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

.glamour-theme .product_price {
    font-size: 20px !important;
    color: #f97316 !important;
    margin-top: 15px !important;
}

/* Categories Strip */
.glamour-theme .category-image {
    background: #111 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px;
}

.glamour-theme .category-name {
    color: #aaaaaa !important;
}

.glamour-theme .category-card:hover .category-name {
    color: #ffffff !important;
}

/* Benefits Section */
.glamour-theme .benefits {
    background: #080808 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.glamour-theme .benefit_col {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.glamour-theme .benefit_content h6 {
    color: #ffffff !important;
    letter-spacing: 1px;
}

.glamour-theme .benefit_content p {
    color: #777777 !important;
}

/* Newsletter */
.glamour-theme .newsletter {
    background: linear-gradient(to right, #000, #111) !important;
}

.glamour-theme .newsletter-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 50px 0 0 50px;
    padding-left: 30px !important;
}

.glamour-theme .newsletter-btn {
    background: var(--primary-gradient) !important;
    border-radius: 0 50px 50px 0;
    padding: 0 40px !important;
}

/* Additional Glamour Components */
.hero-image-wrapper {
    position: relative;
    display: inline-block;
}

.hero-main-img {
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
    animation: floatingHero 6s ease-in-out infinite;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

@keyframes floatingHero {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Custom Hero Controls */
.hero-controls-glamour {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 100;
}

.hero-btn-prev, .hero-btn-next {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.hero-btn-prev:hover, .hero-btn-next:hover {
    background: var(--primary-gradient);
    border-color: transparent;
}

.hero-indicators-custom {
    display: flex;
    gap: 10px;
}

.indicator-dot {
    width: 30px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator-dot.active {
    background: #f97316;
    width: 50px;
}

/* Glamour Category Grid */
.glamour-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.glamour-cat-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.glamour-cat-img {
    width: 100%;
    height: 100%;
}

.glamour-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.glamour-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: all 0.3s;
}

.glamour-cat-overlay span {
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glamour-cat-item:hover img {
    transform: scale(1.1);
}

/* Brand Story */
.story-image-container {
    position: relative;
    padding: 20px;
}

.master-story-logo {
    position: relative;
    z-index: 2;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.story-overlay-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 10px solid #f97316;
    border-left: 10px solid #f97316;
    z-index: 1;
}

/* Circular Sale Glamour */
.glamour-circular-sale {
    position: absolute;
    top: 20%;
    right: 5%;
    width: 120px;
    height: 120px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.sale-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed #f97316;
    border-radius: 50%;
    animation: rotateRing 10s linear infinite;
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sale-content {
    background: var(--primary-gradient);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.sale-content .large { font-size: 24px; }

/* --- Swiper 3D Creative Hero Styles --- */
.main_slider.swiper {
    width: 100%;
    height: 100vh;
    min-height: 800px;
    background: #000;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

/* Parallax Layering */
.slider_content h1, 
.slider_content h4, 
.slider_content div {
    will-change: transform, opacity;
}

.hero-image-wrapper {
    position: relative;
    transform-style: preserve-3d;
}

.hero-main-img {
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.8));
    z-index: 2;
}

/* Custom Swiper UI */
.swiper-pagination-custom {
    display: flex;
    gap: 15px;
    align-items: center;
}

.swiper-pagination-bullet {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0;
    opacity: 1;
    transition: all 0.4s ease;
}

.swiper-pagination-bullet-active {
    background: #f97316;
    width: 100px;
}

/* Overriding Swiper Nav for Custom Look */
.hero-btn-prev, .hero-btn-next {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    z-index: 100;
}

.hero-btn-prev:hover, .hero-btn-next:hover {
    background: #f97316;
    transform: scale(1.1);
    border-color: transparent;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
}

.hero-btn-prev:active, .hero-btn-next:active {
    transform: scale(0.95);
}

/* Reflection / Glow Effects */
.main_slider.swiper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, #000 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

/* --- Redesign Overrides --- */
.announcement-bar { background: #000; color: #fff; text-align: center; padding: 8px 0; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; }
.main-header { background: #fff; z-index: 1050; border-bottom: 1px solid #eee; }
.header-logo img { height: 35px; width: auto; }
.icon-btn { font-size: 1.1rem; color: #000; margin-left: 20px; transition: opacity 0.2s; }
.icon-btn:hover { opacity: 0.6; }
.navbar .nav-link { font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 600; color: #000 !important; letter-spacing: 1px; padding: 15px 20px; text-transform: uppercase; }
.navbar .nav-link:hover { color: #EBA844 !important; }
.bg-black { background-color: #000 !important; }
.footer { background: #000; color: #fff; }
.footer .text-muted { color: #888 !important; }
.product-item { transition: transform 0.3s ease; }
.product_image:hover img { transform: scale(1.05); transition: transform 0.8s ease; }


/* --- Refined Header Styles --- */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: #fff;
}
.navbar {
    padding: 0 !important;
}
.search-wrapper-desktop {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}
.search-icon-btn {
    font-size: 1.1rem;
    color: #000;
    padding: 10px;
    transition: opacity 0.2s;
}
.search-icon-btn:hover {
    opacity: 0.6;
}
.search-box-expandable {
    width: 0;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-box-expandable.active {
    width: 250px;
    margin-right: 10px;
}
.search-box-expandable input {
    border: none !important;
    border-bottom: 1px solid #000 !important;
    font-size: 13px;
    padding: 5px 0;
}
.search-box-expandable input:focus {
    box-shadow: none !important;
}

/* Ensure announcement bar sticks with wrapper */
.announcement-bar {
    z-index: 1051;
}

/* Mobile Search Icon hidden if needed, or moved */
@media (max-width: 991px) {
    .header-wrapper {
        position: relative; /* Or keep sticky if mobile header should stick */
    }
}


/* ── Font refinements to match theclothingfactory.in ─────────────────────── */
/* Nav links — clean, tight tracking */
.navbar .nav-link,
.offcanvas .nav-link {
    font-family: var(--font-body) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #000 !important;
}

/* Product title — serif elegance */
.product-title a,
.product_title a,
.card-title a {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: 0.01em;
}

/* Section headings */
.section-heading,
.section_title h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Announcement bar */
.announcement-bar {
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* ── WhatsApp Floating Button ─────────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    width: 54px;
    height: 54px;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: #FFFFFF;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    color: #FFFFFF;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}

/* WhatsApp tooltip label */
.whatsapp-float::before {
    content: 'Chat with us';
    position: absolute;
    right: 64px;
    background: #000;
    color: #fff;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.whatsapp-float:hover::before {
    opacity: 1;
}

/* -- Product Card Typography (matching theclothingfactory.in) --------------- */
.product-name-link {
    display: block;
    font-family: 'Assistant', Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #000000;
    letter-spacing: 0.01em;
    line-height: 1.4;
    text-decoration: none;
    text-transform: none;
}
.product-name-link:hover {
    color: #333333;
    text-decoration: none;
}
.product-price-text {
    font-family: 'Assistant', Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #000000;
}
.product-price-text .text-muted {
    font-weight: 400;
    font-size: 12px;
}
