﻿/* === Main Styling for Indus Jewellery eCommerce Website === */
  @font-face {
        font-family: 'buffaly'; /* Choose a name for your font */
        src: url('../asset/fonts/Bufally.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
    }
/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif; /* Default font */
}



:root {
    --primary-color: #ca9d50 ; /* Gold color for primary elements */
    --secondary-color: #09626b; /* Dark color for text */
    --third-color: #f9f9f9; /* Light background color */
    --fourth-color: #2e9fac; /* Accent color */
}

/* Body styling */
body {
    font-family: 'Arial', sans-serif; /* Custom font can be added */
    line-height: 1.6;
    color: #333;
    background-color: #fff; /* Light background for elegance */
}


header {
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000; /* Ensure header is above other content */
    
    transition: background-color 0.3s ease;
}

.header-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: .5rem 1rem;
    border-radius: 20px;
    background-color: #123a3a/* Primary color for the header */;
}

nav ul li.dropdown {
    position: relative;
}

nav ul li.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #123a3a;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 0 0 10px 10px;
    padding: 10px 0;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: var(--fourth-color);
    color: white;
}

/* Logo */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #d4af37; /* Gold color for the logo */
    text-decoration: none;
}   

.logo .logo-img {
    width: 80px; /* Adjust logo size */
    height: auto;
    vertical-align: middle;
}


/* Navigation links */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}
nav ul li a {
    color: var(--third-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 100;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
      text-decoration: none;
}
.header-icons{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.cart-icon, .user-icon{
    width: 30px;
    height: 30px;
    margin: 6px;
    position: relative;
    padding: 10px;
    border-radius: 50%;
    background-color: #123a3a;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-icon:hover, .user-icon:hover {
    transform: scale3d(1.1, 1.1, 1.1);
    background-color: var(--fourth-color);
}

.cart-icon i, .user-icon i {
    font-size: 12px;
    color: var(--third-color);
    transition: color 0.3s ease;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #dc3545;
    color: #fff;
    border-radius: 999px;
    padding: 0 6px;
    min-width: 18px;
    line-height: 18px;
    font-size: 12px;
    text-align: center;
    display: none
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(to bottom, #09616b, #09616be8) !important; /* Full-width background */

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    height: 700px;
    overflow: hidden;
}

.hero h1 {
    width: 100%;
    font-family: 'buffaly', sans-serif; /* Custom font for the hero title */
    font-weight: 200;
    position: absolute;
    color: var(--primary-color);
    font-size: 13rem;
    top: 15%;
    left: 0;
    opacity: .4;
}

.hero .hero-image{
    width: 100%;
    height: 600px;
    object-fit: contain;
    object-position: center;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1; /* Behind the text */
}

.hero .cta-button {
    padding: 10px 20px;
    background-color: #d4af37; /* Gold color */
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero .cta-button:hover {
    background-color: #b5942a; /* Darker gold on hover */
}

/* Product Highlights Section */
.product-highlights {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

.products-highlights-inner{
    width:80%;
    max-width: 1400px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;                /* allow wrapping on mid widths */
    gap: 20px;                      /* consistent spacing between cards */
}
/* =====================
   Page Template Styles
   ===================== */
/* Generic content section wrapper */
.kts-section { padding: 48px 0; }
.kts-section-inner { width: 80%; max-width: 1200px; margin: 0 auto; }
@media (max-width: 992px) { .kts-section-inner { width: 92%; } }

.kts-section-inner h2 { 
  margin: 16px 0 12px; 
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  color: var(--secondary-color);
}
.kts-section-inner p { margin: 8px 0 14px; color: #374151; }
.kts-section-inner ul { margin: 6px 0 16px 18px; color: #374151; }
.kts-section-inner li { margin: 6px 0; }

/* Compact page hero for inner pages (not the homepage) */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(180px, 28vh, 320px);
  padding: 96px 16px 32px; /* account for fixed header */
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(9,98,107,.95), rgba(9,98,107,.85)); }
.page-hero .hero-content { width: 80%; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
@media (max-width: 992px) { .page-hero .hero-content { width: 92%; } }
.page-hero h1 { 
  margin: 0; 
  color: var(--third-color); 
  font-family: 'Roboto', sans-serif; 
  font-weight: 700; 
  letter-spacing: .5px;
  font-size: clamp(1.75rem, 4.8vw, 2.5rem);
}
.page-hero .hero-text { max-width: 780px; margin: 8px auto 0; }
.page-hero .hero-text p { color: #e9f3f4; margin: 0; }

/* Contact page grid */
.contact-grid { 
  display: grid; gap: 24px; 
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (max-width: 992px) { .contact-grid { grid-template-columns: 1fr; } }

/* Dedicated page form appearance (avoid footer newsletter styles) */
.page-form .form-group { display: block; margin-bottom: 12px; }
.page-form .form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111;
  border-radius: 8px;
  font-size: 15px;
}
.page-form .form-input:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 0 0 3px rgba(9,98,107,.12); }
.page-form .btn-primary { margin-top: 4px; }

/* Store card/grid */
.store-grid { display: grid; gap: 16px; grid-template-columns: repeat(2,minmax(0,1fr)); }
@media (max-width: 992px) { .store-grid { grid-template-columns: 1fr; } }
.store-card { display: grid; gap: 16px; grid-template-columns: repeat(2,minmax(0,1fr)); }
@media (max-width: 992px) { .store-card { grid-template-columns: 1fr; } }
.map-wrap { width: 100%; aspect-ratio: 16/9; background: #f3f3f3; border-radius: 12px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* FAQ details styling */
.faq details { 
  background: #fff; 
  border: 1px solid #e5e7eb; 
  border-radius: 12px; 
  padding: 10px 14px; 
  margin: 10px 0; 
  box-shadow: 0 6px 16px rgba(0,0,0,.04);
}
.faq summary { cursor: pointer; font-weight: 600; color: #0b3f46; outline: none; }
.faq p { margin: 8px 2px 4px; color: #374151; }

/* Tables inside content pages */
.kts-section-inner .table { width: 100%; border-collapse: collapse; }
.kts-section-inner .table th, 
.kts-section-inner .table td { border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; }
.kts-section-inner .table thead th { background: #fafafa; font-weight: 600; }

.highlight-card {
    display: flex;
    align-items: stretch;
    margin: 0;                      /* spacing now via parent gap */
    flex: 1 1 calc(50% - 20px);     /* two per row when there is room */
    min-width: 520px;               /* if tighter, gracefully wrap to 1 per row */
    background: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-content {
    flex: 1 1 55%;
    padding: 50px;
    max-width: none;                /* avoid hard 50% cap on narrow rows */
}

.highlight-content h3 {
    font-size: 2.2rem;
    color: var(--third-color);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.highlight-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.highlight-content p {
    color: #cacaca;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.highlight-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}

.highlight-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    text-decoration: none;
}

.highlight-image {
    flex: 1 1 45%;
    width: auto;
    height: auto;
    min-height: 300px;              /* keeps card heights balanced */
    overflow: hidden;
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.breadcrump{
    width: 100%;
    height: 150px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    padding-top: 1rem;
}

.breadcrump ul{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


.breadcrump ul li a{
    color: var(--third-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 100;
    transition: all 0.3s ease;
}

.breadcrump ul li a:hover{
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .products-highlights-inner { width: 92%; gap: 16px; }
    .highlight-card { flex: 1 1 100%; min-width: 0; }
    .highlight-content { padding: 32px 22px; }
    .highlight-content h3 { font-size: 1.8rem; }
    .product-highlights { flex-direction: column; }
}

@media (max-width: 768px) {
    .highlight-card { flex-direction: column; }
    .highlight-content, .highlight-image { max-width: 100%; width: 100%; }
    .highlight-content { order: 2; padding: 28px 18px; }
    .highlight-image { order: 1; height: 300px; min-height: 0; }
}

@media (max-width: 480px) {
    .highlight-content h3 {
        font-size: 1.5rem;
    }
    
    .highlight-content p {
        font-size: 1rem;
    }
    
    .highlight-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Product Carousel Section */
.product-carousel-section {
    padding: 60px 0;
    background-color: #fff;
    position: relative;
}

.section-title {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab {
    padding: 8px 20px;
    margin: 0 5px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #666;
}

.tab:hover, .tab.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.product-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.shop-page{
    display: grid !important;
    grid-template-columns: auto auto auto auto !important;
    
}

.hero-text{
    max-width: 400px;
    position: absolute;
    bottom: 10%;
    left: 10%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-text p{
    color: var(--third-color);
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
}

.hero-product-carousel{
    /* Responsive width so it shrinks on narrower viewports */
    width: clamp(280px, 32vw, 475px);
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    position: absolute;
    bottom: 10%;
    right: 10%;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.product-carousel::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 calc(20% - 16px); /* 5 items per view */
    min-width: 220px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
    position: relative;
}

.hero-product-card{
    flex: 0 0 calc(20% - 16px); /* 5 items per view */
    min-width: 200px;
    margin: 0 12px;
    background: transparent !important;
    border: 1px solid var(--secondary-color) !important;
    border-radius: 10px;
    color:var(--third-color) !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;   /* avoid cutting edges */
    background: #fff;      /* neutral backdrop around transparent areas */
    transition: transform 0.5s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    padding: 10px 20px;
    background: white;
    color: #333;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-view:hover {
    background: var(--primary-color);
    color: white;
}

.product-info {
    padding: 15px;
    text-align: center;
}

.product-info h3 {
    font-size: 16px;
    margin: 0 0 8px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
    margin: 0;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.hero-product-carousel .carousel-nav {
    background: transparent;
}
    

.carousel-nav:hover {
    background: var(--primary-color);
    color: white;
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.carousel-nav i {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-card {
        flex: 0 0 calc(25% - 15px); /* 4 items per view */
    }
}

@media (max-width: 992px) {
    .product-card {
        flex: 0 0 calc(33.333% - 14px); /* 3 items per view */
    }
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 calc(50% - 10px); /* 2 items per view */
        min-width: 180px;
    }

    .product-card .product-image {
        padding-top: 125%;
    }

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

@media (max-width: 480px) {
    .product-card {
        flex: 0 0 100%; /* 1 item per view */
    }

    .carousel-container {
        padding: 0 12px;
    }
    .category-tabs {
        justify-content: flex-start;
        padding: 0 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .category-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .tab {
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
  .product-card .product-image img {
    object-fit: contain;
    background: #fff;
  }
}

.carousel .tab {
    margin-right: 20px;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.carousel .tab:hover {
    background-color: #d4af37; /* Highlight on hover */
}

.category-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Product Highlights Section */
.product-highlight {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

/* Icons Feature Bar */
.feature-bar {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    padding: 20px 0;
    background-color: #c5e3e6;
}

.feature-card-inner{
    width: 80%;
    display: flex;
    justify-content: space-around;
}

.feature-icon {
    text-align: center;
    padding: 20px;
    position: relative;
}

.feature-icon:after {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 70%;
    border-right: 2px solid var(--secondary-color);
}


.feature-icon h3{
    font-size: 1rem;
}

.feature-icon p{
    font-size: .8rem;
}

.feature-icon img {
    width: 100px; /* Icon size */
}

/* Exclusive Product Spotlight */
.spotlight {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    margin: 40px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .product-highlight, .feature-bar {
        flex-direction: column;
        align-items: center;
    }

    .carousel {
        flex-direction: column;
    }
}

/* ===== Footer Styles ===== */
.site-footer {
    background-color: #0a3d3d;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    padding: 60px 0 40px;
    background-color: #0a3d3d;
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-about {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
}

.footer-about-text {
    color: #d1d1d1;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    text-decoration: none;
}

.footer-heading {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-link {
    color: #d1d1d1;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    text-decoration: none;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #fff;
    padding-left: 5px;
    text-decoration: none;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-newsletter p {
    color: #d1d1d1;
    margin-bottom: 20px;
    font-size: 15px;
}

.newsletter-form {
    margin-bottom: 25px;
}

.form-group {
    position: relative;
    display: flex;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #e6b45f;
}

.payment-methods {
    margin-top: 25px;
    font-size: 14px;
    color: #d1d1d1;
}

.payment-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    font-size: 24px;
}

.payment-icons i {
    color: #d1d1d1;
    transition: color 0.3s ease;
}

.payment-icons i:hover {
    color: #fff;
}

.footer-bottom {
    background-color: #093333;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.copyright {
    color: #a0a0a0;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.legal-link {
    color: #d1d1d1;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--secondary-color);
}

.divider {
    color: #555;
    font-size: 13px;
}

/* Responsive Footer */
@media (min-width: 768px) {
    .footer-top .footer-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .footer-bottom .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .copyright {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .footer-top {
        padding: 40px 0 20px;
    }
    
    .footer-about, 
    .footer-links, 
    .footer-newsletter {
        margin-bottom: 30px;
    }
    
    .footer-heading {
        cursor: pointer;
        position: relative;
        padding-right: 30px;
    }
    
    .footer-heading::before {
        content: '+';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        font-weight: 400;
    }
    
    .footer-heading.active::before {
        content: '-';
    }
    
    .footer-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .footer-heading.active + .footer-menu {
        max-height: 500px;
        padding-top: 10px;
    }
    /* Newsletter collapsible on mobile */
    .footer-newsletter p,
    .footer-newsletter .newsletter-form,
    .footer-newsletter .payment-methods {
        max-height: 0;
        overflow: hidden;
        margin: 0;
        padding-top: 0;
        transition: max-height 0.3s ease-out, padding-top 0.3s ease-out, margin 0.3s ease-out;
    }

    .footer-newsletter .footer-heading.active ~ p {
        max-height: 200px; padding-top: 10px; margin-bottom: 20px;
    }
    .footer-newsletter .footer-heading.active ~ .newsletter-form {
        max-height: 200px; padding-top: 10px; margin-bottom: 25px;
    }
    .footer-newsletter .footer-heading.active ~ .payment-methods {
        max-height: 500px; padding-top: 10px;
    }}

/* ===== Exclusive Spotlight Section ===== */
.exclusive-spotlight {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.spotlight-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.spotlight-content {
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.spotlight-tag {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), #e6b45f);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(202, 157, 80, 0.3);
}

.spotlight-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    font-family: 'buffaly', serif;
}

.spotlight-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 90%;
}

.spotlight-details {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-item i {
    font-size: 24px;
    color: var(--primary-color);
    background: rgba(202, 157, 80, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-label {
    display: block;
    color: #888;
    font-size: 14px;
    margin-bottom: 4px;
}

.detail-value {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 16px;
}

.spotlight-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;  
}

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

.btn-primary:hover {
    background: #b8873f;
    border-color: #b8873f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 157, 80, 0.4);
    text-decoration: none;  
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
     text-decoration: none;  
}

.btn-secondary:hover {
    color: var(--primary-color);
    background: var(--secondary-color);
    transform: translateY(-2px);
    text-decoration: none;  
}

.spotlight-image {
    width:400px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.spotlight-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    top: 20px;
    left: 20px;
    z-index: -1;
}

.product-img {
    max-width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.spotlight-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.spotlight-badge i {
    color: var(--primary-color);
    font-size: 16px;
}

.spotlight-badge span {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .spotlight-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .spotlight-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .spotlight-details {
        justify-content: center;
    }
    
    .spotlight-cta {
        justify-content: center;
    }
    
    .spotlight-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .spotlight-title {
        font-size: 2rem;
    }
    
    .spotlight-details {
        flex-direction: column;
        gap: 20px;
    }
    
    .spotlight-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    .spotlight-badge {
        top: 10px;
        right: 10px;
        padding: 5px 12px;
    }
}


.shop-container{
    padding: 50px 0 90px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;   /* don't vertically center the area */
    align-items: stretch;          /* stretch to full width */
}

.shop-container-inner{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;                   /* fill the column width */
    max-width: 1400px;
}

.filter-section{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 10px;
}

.filter-section .filter-tabs{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.filter-section .filter-tabs .tab{
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-section .filter-tabs .tab:hover{
    background: #b8873f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 157, 80, 0.4);
}

.filter-section .filter-tabs .tab.active{
    background: #b8873f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 157, 80, 0.4);
}

.filter-section .filter-sort{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.filter-section .filter-sort select{
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-section .filter-sort select:hover{
    background: #b8873f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 157, 80, 0.4);
}

.filter-section .filter-color{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 10px;
}

.filter-section .filter-color h3{
    font-size: 16px;
    margin: 0 0 8px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-section .filter-color .color-filter{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.filter-section .filter-color .color-filter input{
    margin-right: 10px;
}

.filter-section .filter-color .color-filter label{
    color: #333;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.shop-content{
    width: 100%;
    margin: 0;                     /* avoid centering shrink-to-fit */
}

.shop-grid-outer{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

.shop-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

.shop-card{
    width: 250px;
    position: relative;
    overflow: visible;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.shop-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.shop-card .shop-image{
    width: 100%;
    height: clamp(260px, 82vw, 420px); /* responsive height across 320–425+ */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    overflow: hidden;
    padding: 0; /* remove inner gaps around image */
    line-height: 0; /* kill inline-image baseline gap */
}

.shop-card .shop-image img{
    width: 100%;
    height: 100%;
    display: block;            /* no descender whitespace */
    object-fit: contain;       /* show full product without cropping */
    object-position: center;
    max-height: 100%;
    transition: transform 0.3s ease;
}

.shop-card .shop-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; /* Above the image */
}

.shop-card .shop-overlay .quick-view{
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.shop-card .shop-overlay .quick-view:hover{
    background: #b8873f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 157, 80, 0.4);
}

.shop-card .shop-info{
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.shop-card .shop-info h3{
    font-size: 16px;
    margin: 0 0 8px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-card .price{
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
    margin: 0;
}

.shop-card .shop-info h3:hover{
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 157, 80, 0.4);
}


input{
    padding: 10px;
    border: 1px solid var(--secondary-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.price{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.dirham:before{
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 0.35em;
    background-image: url('../asset/img/icons/dirham-symbol.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    flex: 0 0 auto;
}

.product-details-section
{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    
}

.product-details-grid
{
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 50px 0;
}

/* .......................................... MAIN IMAGE OF PRODUCT DETAIL................................................... */


@media (max-width: 992px) {
    .product-details-grid {
        grid-template-columns: 1fr;
    }
}

.product-image-grid {
    display: grid;
    gap: 12px;
}

.main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

@media (max-width: 576px) {
    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.thumbnail-grid{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.thumbnail-image{
  width: 96px;
  height: 96px;
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid var(--secondary-color, #0b6670);
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: hidden;
}

.thumbnail-image img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  line-height: 0;
}

.thumbnail-image.is-active{
  outline: 2px solid var(--secondary-color, #0b6670);
  outline-offset: 2px;
}

/* Mobile: make thumbnails a bit larger for visibility */
@media (max-width: 576px) {
  .thumbnail-image{
    width: 110px;
    height: 110px;
  }
}


/* .......................................... MAIN IMAGE OF PRODUCT DETAIL END ................................................... */

.color-section{
    display: flex;
    flex-direction: column;      /* stack Diamond and Metal rows */
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;                    /* small gap between rows */
    margin: 20px 0;
}

.color-section .color{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: .5;
}

.color-section .active{
    opacity: 1;
    border: 2px solid var(--primary-color);
}

.color-section .color:hover{
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 157, 80, 0.4);
    border: 2px solid var(--primary-color);
}

.color-section .white-gold{
    background-color: #fffff4;
    border: 1px solid var(--secondary-color);
}

.color-section .gold{
    background-color: #d3af37;
}

.color-section .rose-gold{
    background-color: #dea193;
}

.color-section .custom{
    background-color: var(--custom-color, #ccc);
    border: 1px solid var(--secondary-color);
}
    

    .product-details{
        width: 100%;
        padding: 20px;
        object-fit: contain;
        object-position: center;
        z-index: 1; /* Behind the text */
    }

    /* Actions: quantity + add to cart */
    .product-details .cart-actions{
        display: flex;
        align-items: center;
        gap: 12px;               /* space between qty and button */
        margin: 12px 0 20px;     /* breathing room around controls */
        flex-wrap: wrap;
    }
    .product-details .cart-actions #quantity{
        padding: 8px 12px;
        border: 1px solid var(--secondary-color, #0b6670);
        border-radius: 12px;
        height: 42px;
    }

    .product-details-info{
        width: 100%;
        margin: 20px 0;
    }

    .product-details-info h3{
        font-size: 1.3rem;
        margin: 0 0 8px;
        color: var(--primary-color);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-details-info .price{
        color: var(--primary-color);
        font-weight: 700;
        font-size: 18px;
        margin: 0;
    }

    .product-details-info .description{
        color: #666;
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 30px;
        max-width: 90%;
    }


    table{
        width: 100%;
        border-collapse: collapse;
    }

    table td,table th{
        padding: 10px;
        border: 1px solid #ccc;
        font-size: 14px;
    }

    table td:first-child{
        font-weight: 600;
    }

    /* Mobile behavior for quantity and spacing */
    @media (max-width: 576px){
        .product-details .cart-actions{ flex-direction: column; align-items: stretch; }
        .product-details .cart-actions #quantity{ width: 100%; }
    }

/*-------------- NOTIFICATION ---------------*/

.notification{
  width: 100vw;
  height: 50px;
  position: fixed;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 999999999999999999;
  transform: translateY(100px);
}

.notification-show{
  animation: notify-in .5s;
  transform: translateY(0);
  opacity: 1;
}

@keyframes notify-in {
  0%{
    transform: translateY(100px);
    opacity: 0;
  }
  100%{
    transform: translateY(0);
    opacity: 1;
  }
  
}

.notification-inner{
  max-width: 600px;
  height: 100%;
  padding: 10px;
  border-radius: 10px;
  background-color: #09626b;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.notification-inner img{
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.notification-inner .green{
  background-color: #09626b !important;
}
.notification-inner .red{
  background-color: #09626b !important;
}

.notification-inner .blue{
  background-color: #09626b !important;
}

.notification-inner .close-btn{
  cursor: pointer;
  transition: .5s;
  height: 25px;
  width: 25px;
}

.notification-inner .close-btn:hover{
  background-color: #52411734;
}



.notification-show .notification-inner img{
  animation: rotate-in .75s;
}

@keyframes rotate-in {
  0%{
    transform: rotate(45deg) scale(0);
    opacity: 0;
  }
  100%{
    transform: rotate(0) scale(1);
    opacity: 1;
  }
}

.notification-inner span{
  font-size: 12px;
  color: white;
  padding: 10px;
}

/*-------------- END NOTIFICATION ---------------*/

/*.................................................. LOGIN N REGISTER ......................................................*/

.auth-section {
    max-width: 1200px;
    margin: 24px auto 48px;
    padding: 0 16px
}

.auth-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 32px;
    align-items: center
}

@media (max-width:992px) {
    .auth-grid {
        grid-template-columns: 1fr
    }
}

.auth-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .04);
    padding: 26px
}

.auth-title {
    margin: 0 0 6px;
    font-size: 1.6rem
}

.auth-sub {
    margin: 0 0 18px;
    color: var(--muted)
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

@media (max-width:576px) {
    .grid-2 {
        grid-template-columns: 1fr
    }
}

.form-field {
    margin-bottom: 14px
}

.form-field label {
    display: block;
    font-size: .9rem;
    margin-bottom: 6px;
    color: #374151
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    outline: none;
    transition: border-color .15s
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--brand)
}

.terms {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 6px 0 14px
}

.btn-primary {
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: #111;
    color: #fff;
    cursor: pointer
}

.btn-google {
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    width: 100%
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
    margin: 12px 0
}

.divider:before,
.divider:after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb
}

.error {
    background: #fff1f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 12px
}

.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 12px
}

.auth-meta {
    margin-top: 14px;
    font-size: .95rem
}

/*............................................ LOGIN N REGISTER END ........................................................*/

/* .......................................... CART SECTION ................................................... */

.cart-badge{
    position:absolute; top:-6px; right:-10px;
    min-width:18px; height:18px; padding:0 5px;
    background:#b49ca1; color:#fff; font-size:12px; line-height:18px;
    border-radius:999px; text-align:center; font-weight:700;
}


.cart-section {
    max-width: 1200px;
    margin: 24px auto 48px;
    padding: 0 16px
}

.cart-grid {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 24px
}

@media (max-width:992px) {
    .cart-grid {
        grid-template-columns: 1fr
    }
}

.cart-card,
.summary-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .04)
}

.cart-card header,
.summary-card header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.cart-card header h2,
.summary-card header h3 {
    margin: 0;
    font-size: 1.25rem
}

.cart-items {
    padding: 8px 8px
}

.cart-row {
    display: grid;
    grid-template-columns: 92px 1fr 120px 160px 120px 40px;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f2f2f2
}

@media (max-width:900px) {
    .cart-row {
        grid-template-columns: 80px 1fr 100px 150px 100px 40px;
        row-gap: 8px
    }
}

/* Map cart cells to grid areas for easier reflow */
.cart-row { grid-template-areas: "img title price qty total remove"; }
.cart-row .cell-img { grid-area: img; }
.cart-row .cell-title { grid-area: title; }
.cart-row .cell-price { grid-area: price; }
.cart-row .cell-qty { grid-area: qty; }
.cart-row .cell-total { grid-area: total; }
.cart-row .cell-remove { grid-area: remove; }

/* Prevent title from overflowing into the image column */
.cart-row .cell-title { min-width: 0; }
.cart-row .cell-title .cart-title { word-break: break-word; overflow-wrap: anywhere; }
/* Ensure fixed-width grid cells don't overflow into neighbors */
.cart-row .cell-price,
.cart-row .cell-qty,
.cart-row .cell-total { min-width: 0; }
/* Allow long prices to wrap instead of overlapping */
.cart-row .cell-price .price { flex-wrap: wrap; overflow-wrap: anywhere; word-break: break-word; }

/* Small screens: stack details neatly */
@media (max-width: 680px) {
  .cart-row {
    grid-template-columns: 84px 1fr 36px;
    grid-template-areas:
      "img title remove"
      "price price price"
      "qty qty qty"
      "total total total";
    align-items: start;
  }
  .cart-row .cell-img { width: 84px; }
  .thumb { width: 84px; height: 84px; }
  .qty-wrap input[type="number"] { width: 58px; }
  .btn-icon { width: 32px; height: 32px; }
  .cell-price .muted,
  .cell-qty .muted,
  .cell-total .muted { font-size: .9rem; }
  .cart-row .cell-title { padding-left: 6px; }
  .cart-row .cell-title .cart-title { line-height: 1.25; }
}

/* Narrow phones: allow full-width buttons */
@media (max-width: 480px) {
  .cart-actions { flex-direction: column; gap: 12px; }
  .cart-actions .btn-primary,
  .cart-actions .btn-secondary { width: 100%; text-align: center; }
}

.thumb {
    width: 92px;
    height: 92px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: grid;
    place-items: center
}

.thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block
}

.cart-title {
    font-weight: 600
}

.title {
    font-weight: 600
}

.muted {
    color: var(--muted);
    font-size: .95rem
}

.qty-wrap {
    display: flex;
    align-items: center;
    gap: 8px
}

.qty-wrap input[type="number"] {
    width: 80px;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px
}

.btn-icon {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer
}

.btn-link {
    background: none;
    border: 0;
    color: var(--brand);
    cursor: pointer;
    text-decoration: none
}

.cart-actions {
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center
}

.btn-primary {
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: #111;
    color: #fff;
    cursor: pointer
}

.btn-secondary {
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #111;
    cursor: pointer
}

.summary-card .body {
    padding: 16px
}

.sum-row {
    display: flex;
    justify-content: space-between;
    margin: 8px 0
}

.sum-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 1px dashed #e5e7eb;
    padding-top: 10px;
    margin-top: 12px
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px
}

.empty {
    padding: 24px 16px;
    color: #666
}

/* .......................................... CART SECTION END ................................................... */

/* .......................................... CHECKOUT SECTION ................................................... */

/* Page layout */
.checkout-section {
    max-width: 1200px;
    margin: 24px auto 48px;
    padding: 0 16px
}

.checkout-title {
    font-weight: 700;
    line-height: 1.15;
    margin: .5rem 0 1rem;
    font-size: clamp(1.5rem, 3.6vw, 2.125rem)
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 24px
}

@media (max-width:992px) {
    .checkout-grid {
        grid-template-columns: 1fr
    }
}

/* Cards */
.checkout-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .04)
}

.checkout-card .card-body {
    padding: 16px
}

@media (min-width:768px) {
    .checkout-card .card-body {
        padding: 20px
    }
}

.order-summary-sticky {
    position: sticky;
    top: var(--stick-top, 96px)
}

/* Form controls (match site template) */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

@media (max-width:576px) {
    .grid-2 {
        grid-template-columns: 1fr
    }
}

.form-field {
    margin-bottom: 14px
}

.form-field label {
    display: block;
    font-size: .9rem;
    margin-bottom: 6px;
    color: #374151
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    outline: none;
    transition: border-color .15s
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--brand)
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 16px;
    height: 16px
}

/* Buttons (site template) */
.btn {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    user-select: none
}

.btn-primary {
    background: #111;
    color: #fff;
    border: 0
}

.btn-secondary {
    background: #fff;
    color: #111;
    border: 1px solid #e5e7eb
}

.btn-danger {
  background: #b91c1c;
  color: #fff;
  border: 1px solid #b91c1c;
}
.btn-danger:hover {
  background: #991b1b;
  border-color: #991b1b;
}

.btn-outline-primary {
    background: #fff;
    color: var(--brand);
    border: 1px solid var(--brand)
}

.btn-outline-secondary {
    background: #fff;
    color: #374151;
    border: 1px solid #e5e7eb
}

/* Coupon row responsive */
.coupon-group {
    display: flex;
    gap: .5rem
}

.coupon-group .form-control {
    flex: 1
}

@media (max-width:575.98px) {
    .coupon-group {
        flex-wrap: wrap
    }

    .coupon-group .form-control {
        flex: 0 0 100%
    }

    .coupon-group .btn {
        flex: 1
    }
}

/* Summary list */
.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f2f2f2
}

.summary-line:last-child {
    border-bottom: 0
}

.text-muted {
    color: var(--muted)
}

.order-total {
    border-top: 1px dashed #e5e7eb;
    padding-top: 12px;
    margin-top: 12px;
    display: flex;
    justify-content: space-between
}

/* .......................................... CHECKOUT SECTION END ................................................... */


/* .......................................... PAYMENT SECTION ................................................... */

.payment-section {
    max-width: 1200px;
    margin: 24px auto 48px;
    padding: 0 16px
}

.payment-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px
}

@media (max-width:992px) {
    .payment-grid {
    grid-template-columns: 1fr
    }
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .04)
}

.card .card-body {
    padding: 16px
}

@media (min-width:768px) {
    .card .card-body {
    padding: 20px
    }
}

.card h2,
.card h3 {
    margin: 0 0 8px 0
}

.form-field {
    margin-bottom: 14px
}

.form-field label {
    display: block;
    font-size: .9rem;
    margin-bottom: 6px;
    color: #374151
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    outline: none;
    transition: border-color .15s
}

.form-field input:focus {
    border-color: var(--brand)
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

@media (max-width:576px) {
    .grid-2 {
    grid-template-columns: 1fr
    }
}

.btn {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    user-select: none
}

.btn-primary {
    background: #111;
    color: #fff;
    border: 0
}

.btn-secondary {
    background: #fff;
    color: #111;
    border: 1px solid #e5e7eb
}

.btn-block {
    width: 100%
}

.summary {
    position: sticky;
    top: var(--stick-top, 96px)
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f2f2f2
}

.summary-line:last-child {
    border-bottom: 0
}

.order-total {
    border-top: 1px dashed #e5e7eb;
    padding-top: 12px;
    margin-top: 12px;
    display: flex;
    justify-content: space-between
}

.text-muted {
    color: var(--muted)
}

/* Order details summary lines */
.sum-line { display:flex; justify-content:space-between; align-items:center; padding:8px 0; border-bottom:1px solid #f2f2f2; }
.sum-line:last-child { border-bottom:0; }
.sum-total { border-top:1px dashed #e5e7eb; padding-top:12px; margin-top:12px; font-weight:700; }
.section-sub { font-weight:600; margin-bottom:10px; }

.note {
    font-size: .9rem;
    color: var(--muted)
}

.bank-box {
    background: #fafafa;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    margin: 8px 0 14px
}

.secure-badges {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px
}

.secure-badges span {
    font-size: .85rem;
    color: var(--muted)
}

/* .......................................... PAYMENT SECTION END ................................................... */

/* .......................................... ORDER SECTION ................................................... */

.orders-section {
    max-width: 1200px;
    margin: 24px auto 48px;
    padding: 0 16px
}

.orders-title {
    font-weight: 700;
    line-height: 1.15;
    margin: .5rem 0 1rem;
    font-size: clamp(1.5rem, 3.6vw, 2.125rem)
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .04)
}

.card .card-body {
    padding: 16px
}

@media (min-width:768px) {
    .card .card-body {
        padding: 20px
    }
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 14px
}

table.orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0
}

table.orders-table thead th {
    background: #fafafa;
    text-align: left;
    font-weight: 600;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap
}

table.orders-table tbody td {
    padding: 12px;
    border-bottom: 1px solid #f2f2f2;
    vertical-align: middle
}

table.orders-table tbody tr:last-child td {
    border-bottom: 0
}

.empty-state {
    padding: 32px 16px;
    text-align: center;
    color: #666
}

.empty-state i {
    opacity: .5;
    margin-bottom: 8px
}

.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    user-select: none
}

.btn-sm {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: .95rem
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 0
}

.btn-secondary {
    background: #fff;
    color: #111;
    border: 1px solid #e5e7eb
}

.btn-muted {
    background: #f9fafb;
    color: #111;
    border: 1px solid #e5e7eb
}

.badge {
    display: inline-block;
    font-size: .85rem;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap
}

.badge-success {
    color: var(--success);
    background: #ecfdf5;
    border-color: #a7f3d0
}

.badge-warning {
    color: var(--warning);
    background: #fffbeb;
    border-color: #fde68a
}

.badge-danger {
    color: var(--danger);
    background: #fef2f2;
    border-color: #fecaca
}

.badge-info {
    color: var(--info);
    background: #eff6ff;
    border-color: #bfdbfe
}

.badge-muted {
    color: #374151;
    background: #f3f4f6;
    border-color: #e5e7eb
}

.badge-primary {
    color: #111;
    background: #f3f4f6;
    border-color: #e5e7eb
}

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

.text-muted {
    color: var(--muted)
}

.nowrap {
    white-space: nowrap
}

.page {
    max-width: 1200px;
    margin: 24px auto 48px;
    padding: 0 16px
}

.title {
    font-weight: 700;
    line-height: 1.15;
    margin: .5rem 0 1rem;
    font-size: clamp(1.5rem, 3.6vw, 2.125rem)
}

.grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 24px
}

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

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .04)
}

.card .card-body {
    padding: 16px
}

@media (min-width:768px) {
    .card .card-body {
    padding: 20px
    }
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

@media (max-width:768px) {
    .two-col {
    grid-template-columns: 1fr
    }
}

.addr-box {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    background: #fff
}

.muted {
    color: var(--muted)
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 14px
}

/* Orders list: mobile friendly cards */
@media (max-width: 680px) {
  .table-wrap { border: 0; border-radius: 0; overflow: visible; }
  .nowrap { white-space: normal; }
  table.orders-table { border-collapse: separate; border-spacing: 0 12px; }
  table.orders-table thead { display: none; }
  table.orders-table tbody, table.orders-table tr, table.orders-table td { display: block; width: 100%; }
  table.orders-table tr { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.04); }
  table.orders-table td { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed #eee; }
  table.orders-table td:last-child { border-bottom: 0; }
  table.orders-table td::before { content: attr(data-label); color: #6b7280; font-weight: 500; margin-right: 16px; }
  /* Provide labels via nth-child for existing markup */
  table.orders-table td:nth-child(1)::before { content: 'Order #'; }
  table.orders-table td:nth-child(2)::before { content: 'Date'; }
  table.orders-table td:nth-child(3)::before { content: 'Total'; }
  table.orders-table td:nth-child(4)::before { content: 'Coupon'; }
  table.orders-table td:nth-child(5)::before { content: 'Savings'; }
  table.orders-table td:nth-child(6)::before { content: 'Payment'; }
  table.orders-table td:nth-child(7)::before { content: 'Pay Status'; }
  table.orders-table td:nth-child(8)::before { content: 'Order Status'; }
  table.orders-table td:nth-child(9)::before { content: 'Details'; }
  table.orders-table td:nth-child(10)::before { content: 'Action'; }
  table.orders-table .actions { justify-content: flex-end; }
}

/* Order-details items table: mobile stack */
@media (max-width: 680px) {
  .page .table-wrap { border: 0; border-radius: 0; overflow: visible; }
  .page table.items { border-collapse: separate; border-spacing: 0 12px; }
  .page table.items thead { display: none; }
  .page table.items tbody, .page table.items tr, .page table.items td { display: block; width: 100%; }
  .page table.items tr { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.04); }
  .page table.items td { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed #eee; }
  .page table.items td:last-child { border-bottom: 0; }
  .page table.items td::before { content: attr(data-label); color: #6b7280; font-weight: 500; margin-right: 12px; }
  .page table.items td:nth-child(1)::before { content: 'Product'; }
  .page table.items td:nth-child(2)::before { content: 'Status'; }
  .page table.items td:nth-child(3)::before { content: 'Qty'; }
  .page table.items td:nth-child(4)::before { content: 'VAT (est.)'; }
  .page table.items td:nth-child(5)::before { content: 'Line Total'; }
  /* The last 1-2 columns may be conditional (Return, Review) */
  .page table.items td:nth-child(6)::before { content: 'Return'; }
  .page table.items td:nth-child(7)::before { content: 'Review'; }
}

table.items {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0
}

table.items thead th {
    background: #fafafa;
    text-align: left;
    font-weight: 600;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap
}

table.items tbody td {
    padding: 12px;
    border-bottom: 1px solid #f2f2f2;
    vertical-align: middle
}

table.items tbody tr:last-child td {
    border-bottom: 0
}

.badge {
    display: inline-block;
    font-size: .85rem;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap
}

.badge-success {
    color: var(--success);
    background: #ecfdf5;
    border-color: #a7f3d0
}

.badge-warning {
    color: var(--warning);
    background: #fffbeb;
    border-color: #fde68a
}

.badge-danger {
    color: var(--danger);
    background: #fef2f2;
    border-color: #fecaca
}

.badge-info {
    color: var(--info);
    background: #eff6ff;
    border-color: #bfdbfe
}

.badge-muted {
    color: #374151;
    background: #f3f4f6;
    border-color: #e5e7eb
}

.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    user-select: none
}

.btn-sm {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: .95rem
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 0
}

.btn-secondary {
    background: #fff;
    color: #111;
    border: 1px solid #e5e7eb
}

.btn-muted {
    background: #f9fafb;
    color: #111;
    border: 1px solid #e5e7eb
}

.btn-danger {
    background: #dc2626;
    color: #fff;
    border: 0
}

.summary {
    position: sticky;
    top: var(--stick-top, 96px)
}

.sum-line {
    display: flex;
    justify-content: space-between;
    margin: 8px 0
}

.sum-total {
    border-top: 1px dashed #e5e7eb;
    padding-top: 10px;
    margin-top: 12px;
    font-weight: 700
}

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

.section-sub {
    font-weight: 600;
    margin-bottom: 8px
}

.kv {
    line-height: 1.6
}

/* .......................................... ORDER SECTION END ................................................... */

/* .......................................... THANK YOU SECTION ................................................... */

.thankyou-section {
    max-width: 1200px;
    margin: 24px auto 48px;
    padding: 0 16px
}

.thankyou-card {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .05);
    padding: 28px
}

.ty-title {
    font-weight: 700;
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    margin: 8px 0 6px;
    text-align: center
}

.ty-sub {
    color: var(--muted);
    text-align: center;
    margin: 0 0 16px
}

.ty-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 14px 0 18px
}

.ty-meta div {
    background: #f9fafb;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 10px 14px
}

.btn {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    user-select: none
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 0
}

.btn-secondary {
    background: #fff;
    color: #111;
    border: 1px solid #e5e7eb
}

.btn-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px
}

.success-mark {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    margin: 0 auto 12px;
    position: relative;
    background: radial-gradient(70% 70% at 50% 50%, #eafff5 0, #d1fae5 100%);
    display: grid;
    place-items: center;
    border: 1px solid #bbf7d0
}

.success-mark svg {
    width: 40px;
    height: 40px;
    stroke: #059669;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round
}

.success-mark svg .chk {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: draw .9s ease .2s forwards
}

@keyframes draw {
    to {
        stroke-dashoffset: 0
    }
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 10px;
    max-width: 520px;
    margin: 16px auto 0
}

@media (max-width:520px) {
    .links-grid {
        grid-template-columns: 1fr
    }
}

.note {
    color: var(--muted);
    font-size: .95rem;
    text-align: center;
    margin-top: 14px
}

.confetti {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--card-radius) - 2px)
}

.confetti i {
    position: absolute;
    top: -10px;
    left: 50%;
    width: 6px;
    height: 10px;
    border-radius: 2px;
    opacity: .85;
    animation: fall linear forwards;
    transform: translateX(-50%);
}

@keyframes fall {
    0% {
        transform: translate(-50%, -10px) rotate(0deg)
    }

    100% {
        transform: translate(calc(var(--dx, 0px)), 360px) rotate(300deg)
    }
}

/* .......................................... THANK YOU SECTION END ................................................... */


.filter-aside {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 180px);
    overflow: auto
}

.form-check {
    margin-bottom: .25rem
}

.shop-card {
    position: relative
}

.shop-card .shop-image {
    position: relative
}

.shop-card .shop-image .shop-overlay {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .25);
    border-radius: inherit
}

.shop-card:hover .shop-image .shop-overlay {
    display: flex
}


.menu-toggle { display: none; }
@media (max-width: 992px) {
  .header-container {
    width: 92%;
  }
  header {
    background-color: #123a3a;
  }
  header #siteNav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #123a3a;
    border-radius: 0;
    padding: 8px 16px;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    z-index: 1001;
  }
  header.nav-open #siteNav,
  .nav-open header #siteNav {
    display: flex !important;
  }
  header #siteNav ul {
    flex-direction: column;
    align-items: stretch;
  }
  header #siteNav ul li {
    display: block;
    margin: 6px 0;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    border: 0;
    border-radius: 8px;
    background: var(--secondary-color);
    color: #fff;
    cursor: pointer;
  }

  header #siteNav ul li .dropdown-content {
    position: static;
    display: none;
    background: #0f2f2f;
    box-shadow: none;
    min-width: auto;
    border-radius: 8px;
    padding: 6px 0;
    margin-top: 6px;
  }
  header #siteNav ul li.open .dropdown-content {
    display: block;
  }
}

.btn, .btn-primary, .btn-secondary, .btn-outline-secondary, .btn-outline-primary {
  display: inline-block;
  text-decoration: none;
  border-radius: 12px;
  transition: all .2s ease;
}

.btn-primary {
  background: var(--primary-color) !important;
  border: 1px solid var(--primary-color) !important;
  color: #fff !important;
}
.btn-primary:hover {
  background: #b8873f !important;
  border-color: #b8873f !important;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--secondary-color) !important;
  border: 1px solid var(--secondary-color) !important;
  color: #fff !important;
}
.btn-secondary:hover {
  background: #0b6670 !important;
  border-color: #0b6670 !important;
  transform: translateY(-1px);
}

.btn-outline-secondary {
  background: transparent !important;
  color: var(--secondary-color) !important;
  border: 1px solid var(--secondary-color) !important;
}
.btn-outline-secondary:hover {
  background: var(--secondary-color) !important;
  color: #fff !important;
}

.btn-outline-primary {
  background: transparent !important;
  color: var(--primary-color) !important;
  border: 1px solid var(--primary-color) !important;
}
.btn-outline-primary:hover {
  background: var(--primary-color) !important;
  color: #fff !important;
}

.quick-view {
  background: #fff;
  border: 1px solid var(--primary-color);
}
.quick-view:hover {
  background: var(--primary-color);
  color: #fff;
}

.newsletter-btn {
  background-color: var(--secondary-color) !important;
}
.newsletter-btn:hover {
    background-color: #0b6670 !important;
}

@media (max-width: 991.98px) {
  #shopFilterCol {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(.96);
    display: none;
    width: calc(100% - 32px);
    max-width: 560px;
    max-height: 80vh;
    height: auto;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    z-index: 1051;
    overflow-y: auto;
    box-shadow: 0 18px 48px rgba(0,0,0,.25);
    transition: transform .2s ease, opacity .2s ease;
    opacity: .98;
  }
  body.filters-open #shopFilterCol {
    display: block;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  .filter-backdrop {
    display: none;
  }
  body.filters-open .filter-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1050;
  }
}

.filter-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #123a3a;
  color: var(--third-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  z-index: 1060;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.filter-fab:hover {
  transform: scale(1.06);
  background: var(--fourth-color);
}

@media (max-width: 1200px) {
  .shop-grid { justify-content: flex-start; }
}
@media (max-width: 992px) {
  .shop-card { width: calc(33.333% - 12px); }
}
@media (max-width: 768px) {
  .shop-card { width: calc(50% - 12px); }
}
@media (max-width: 480px) {
  .shop-card { width: 100%; }
}

/* Ensure content column is full width when filter sidebar is hidden on tablets/phones */
@media (max-width: 991.98px) {
  .container-fluid .row .col-lg-9 { flex: 0 0 100%; max-width: 100%; }
}

.filter-aside .d-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.filter-aside .d-grid .btn { width: 100%; display: block; }

@media (max-width: 1200px) {
  .hero {
    height: 600px;
  }
  .hero h1 { font-size: clamp(5rem, 10vw, 8rem); top: 12%; }
  .hero .hero-image { height: 480px; }
}
/* Large laptops/desktops: 1201px–1699px
   Keep original absolute layout; shrink side blocks to protect the model. */
@media (max-width: 1699px) and (min-width: 1201px) {
  .hero h1 { font-size: clamp(6rem, 9vw, 10rem); }
  .hero .hero-image { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; height: 600px; }
  .hero-text { max-width: none; width: clamp(320px, 26vw, 460px); left: 6%; bottom: 12%; }
  .hero-product-carousel { width: clamp(300px, 26vw, 420px); right: 6%; bottom: 12%; }
  .hero-product-card { flex: 0 0 100%; min-width: 260px; margin: 0; }
}
@media (max-width: 992px) {
  .hero { height: auto; min-height: 520px; padding-top: 90px; padding-bottom: 24px; }
  .hero h1 { position: static; font-size: clamp(2.75rem, 12vw, 5.5rem); top: auto; left: auto; opacity: .35; text-align: center; margin: 0 auto 8px; }
  .hero .hero-image { height: auto; max-height: 320px; position: static; }
  .hero-content { width: 100%; max-width: 1100px; padding: 0 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .hero-text { position: static; max-width: 92%; margin: 0 auto 8px; text-align: center; }
  .hero-text .btn-primary, .hero .btn-primary { margin-top: 10px; }
  .hero-product-carousel { position: static; width: 100%; right: auto; bottom: auto; padding: 10px 0; margin-top: 8px; }
}

/* Tablets/Large Tablets: 993px–1200px — keep absolute placement,
   just shrink side blocks and the heading. */
@media (max-width: 1200px) and (min-width: 993px) {
  .hero h1 { font-size: clamp(4.25rem, 8vw, 6.5rem); }
  /* Keep model fixed dead-center and slightly reduce size for safe margins */
  .hero .hero-image { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; height: clamp(420px, 44vw, 500px); }
  /* Shrink text width and keep it left so it doesn't touch the model */
  .hero-text { max-width: none; width: clamp(240px, 27vw, 380px); left: 5%; bottom: 12%; z-index: 3; }
  /* Show one product and shrink the rail on the right */
  .hero-product-carousel { width: clamp(240px, 26vw, 300px); right: 5%; bottom: 12%; z-index: 3; }
  .hero-product-card { flex: 0 0 100%; min-width: 240px; margin: 0; }
}
@media (max-width: 576px) {
  .hero h1 { font-size: clamp(2rem, 11vw, 2.75rem); top: auto; }
  .hero .hero-image { height: auto; max-height: 240px; }
  .hero-product-card { min-width: 160px; }
  .hero-text p { font-size: .95rem; }
  .logo .logo-img { width: 64px; }
}

.section-title { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }

@media (max-width: 992px) {
  .products-highlights-inner { width: 92%; gap: 16px; flex-direction: column; }
  .highlight-card { width: 100%; }
  .highlight-content { padding: 20px; }
}


@media (max-width: 992px) {
  .feature-card-inner {
    width: 92%;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .feature-icon { flex: 1 1 calc(50% - 16px); min-width: 240px; }
  .feature-icon:after { display: none; }
}
@media (max-width: 576px) {
  .feature-icon { flex: 1 1 100%; min-width: 0; }
}

.product-info .price,
.shop-card .price{ justify-content: center; }
.product-details .price{ justify-content: flex-start; }

.shop-card .shop-image{
  height: clamp(280px, 82vw, 440px); /* responsive from 320px → 440px */
  display: grid;
  place-items: center;
  padding: 0; /* no inner padding -> no side gaps */
  background: #fff;
}
.shop-card .shop-image img{
  width: 100%;
  height: 100%;
  object-fit: contain;     /* do not crop the product */
  object-position: center;
}

@media (max-width: 360px) {
  .shop-card .shop-image { height: 300px; }
}

/* ==== Overrides: Product card image behavior (mobile + iPhone friendly) ==== */
/* Ensure the image area uses the full card width, clips to rounded corners,
   and shows the full product without cropping across devices. */
.shop-card {
  overflow: hidden;             /* remove inner gaps near rounded edges */
  background: #fff;
}

.shop-card .shop-image {
  width: 100%;
  height: auto;                 /* override earlier fixed heights */
  aspect-ratio: 4 / 5;          /* taller frame suits jewelry imagery */
  min-height: 300px;            /* keep generous height for iPhones */
  max-height: 520px;            /* avoid overly tall cards on desktops */
  display: grid;
  place-items: center;
  padding: 0 8px;               /* tiny side gap inside the card */
  line-height: 0;               /* kill inline-image baseline gap */
  background: #fff;
  border-radius: inherit;       /* align with card rounding */
  overflow: hidden;             /* clip any inner overflow */
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  box-sizing: border-box;
}

.shop-card .shop-image img {
  width: 100%;
  height: 97%;
  display: block;               /* eliminate whitespace below images */
  object-fit: contain;          /* show full product */
  object-position: center;
  max-height: 100%;
  box-sizing: border-box;
}

/* Small, consistent spacing above the grid from header/filters */
.shop-grid { margin-top: 12px; }



