
        /* -------------------- MAIN SETUP -------------------- */
       
        body {
          height: 100%;
          margin: 0;
          overflow-x: hidden;
          background-color: #ffffff;
          font-family: 'Poppins', sans-serif;
          color: #2b2b2b;
        }

        :root {
          --primary: #832422;
          --text-dark: #2b2b2b;
          --text-light: #555;
          --font-heading: 'Lora', serif;
          --border-color: #EAEAEA;
          --bg-light-gray: #F7F7F7;
          --bg-light-tan: #FBF6EB;
        }


        /* ---------------- MAIN PRODUCT CONTAINER ---------------- */
        .product-container {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
          max-width: 1400px;
          margin: 40px auto;
          gap: 40px;
          padding: 0 20px;
        }

        /* Left side (Main Images) */
        .product-image {
          background: #fff;
          display: flex;
          flex-direction: column;
          justify-content: flex-start;
          align-items: center;
        }

        .product-image #main-product-image {
          width: 100%;
          max-height: 600px;
          object-fit: contain;
          border-radius: 0;
        }

        /* Gallery Thumbnails */
        .product-gallery-thumbnails {
          display: flex;
          justify-content: center;
          gap: 10px;
          margin-top: 20px;
          flex-wrap: wrap;
        }

        .thumbnail-img {
          width: 80px;
          height: 80px;
          object-fit: cover;
          border-radius: 4px;
          border: 1px solid #ddd;
          cursor: pointer;
          transition: border-color 0.3s;
        }

        .thumbnail-img:hover,
        .thumbnail-img.active {
          border-color: var(--primary);
          opacity: 0.8;
        }

        /* Right side (Info) */
        .product-info {
          padding: 0 20px;
        }

        .product-header {
          display: flex;
          justify-content: space-between;
          align-items: flex-start;
          margin-bottom: 10px;
        }

        .product-title {
          font-family: 'Inter', sans-serif;
          font-size: 2.2rem;
          font-weight: 600;
          color: black;
          line-height: 1.1;
          padding-bottom: 0%;

        }

        .product-description {
          font-size: 0.95rem;
          color: var(--text-light);
          line-height: 1.6;
          padding-top: 0px;
          margin-bottom: 25px;
          border-bottom: 1px solid var(--border-color);
          padding-bottom: 25px;
        }

        /* Header Icons */
        .product-header-icons {
          display: flex;
          gap: 20px;
          font-size: 1.6rem;
          color: var(--text-light);
          padding-top: 5px;
        }

        .product-header-icons i {
          cursor: pointer;
          transition: transform 0.2s, color 0.2s;
        }

        .product-header-icons i:hover {
          color: var(--primary);
          transform: scale(1.1);
        }

        .product-header-icons i.liked {
          color: #d32f2f;
        }

        /* Price */
        .product-price-box {
          margin-bottom: 0px;
        }

        .price {
          font-size: 2rem;
          font-weight: 600;
          color: black;
        }

        .mrp {
          text-decoration: line-through;
          color: #999;
          font-size: 1.1rem;
          margin-left: 10px;
        }

        .product-price-mrp-text {
          font-size: 0.85rem;
          color: var(--text-light);
        }

        /* Variants */
        .variant-selectors {
          display: flex;
          gap: 15px;
          padding: 20px 0;
          margin-bottom: 20px;
          flex-wrap: wrap;
        }

        .variant-option {
          font-size: 0.8rem;
          color: var(--text-light);
        }

        .variant-option strong {
          display: block;
          color: var(--text-dark);
          font-size: 1rem;
          margin-top: 2px;
        }

        /* Action Buttons */
        .action-buttons {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 15px;
          margin-bottom: 25px;
        }

        .btn-action {
          padding: 15px;
          font-size: 1rem;
          font-weight: 600;
          border-radius: 5px;
          cursor: pointer;
          transition: 0.2s ease;
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 8px;
        }

        .btn-add-to-cart {
          background: #fff;
          border: 1px solid #111;
          color: #111;
        }

        .btn-add-to-cart:hover {
          background: #f5f5f5;
        }
        

        .btn-buy-now {
          background: #832422;
          border: 1px solid #832422;
          color: #fff;
        }

        .btn-buy-now:hover {
          background: #601b1a;
        }

        /* Stock & Extras */
        .stock-info {
          background: #fff4f4;
          color: #d32f2f;
          font-weight: 600;
          text-align: center;
          padding: 10px;
          border-radius: 4px;
          margin-bottom: 20px;
          font-size: 0.9rem;
        }

        .chat-banner {
          background: #f9f9f9;
          border-radius: 8px;
          padding: 15px 20px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 30px;
        }

        .chat-banner-text strong {
          display: block;
          font-size: 1rem;
        }

        .chat-banner-text span {
          font-size: 0.85rem;
          color: var(--text-light);
        }

        .btn-chat {
          background: #fff;
          border: 1px solid #ddd;
          border-radius: 25px;
          padding: 8px 15px;
          font-weight: 600;
          cursor: pointer;
          display: flex;
          align-items: center;
          gap: 5px;
        }

        /* Details Grid */
        .details-box {
          background: #fdfdfd;
          border: 1px solid #eee;
          border-radius: 8px;
          padding: 20px;
          margin-top: 20px;
        }

        .details-grid {
          display: flex;
          justify-content: flex-start;
          align-items: flex-start;
          gap: 60px;
          flex-wrap: wrap;
        }

        .details-grid div {
          font-size: 0.9rem;
          color: var(--text-light);
        }

        .details-grid div strong {
          display: block;
          color: var(--text-dark);
          font-size: 1.1rem;
          margin-top: 5px;
        }

        /* ---------------- RECOMMENDED / GRID SECTION ---------------- */
        .recommended-section {
          max-width: 1400px;
          margin: 60px auto;
          padding: 0 20px;
        }

        .recommended-section pre {
          font-family: 'Castoro', serif;
          font-size: 2.0rem;
          color: #1a1a1a;
          margin-bottom: 40px;
          font-weight: 500;
          letter-spacing: 0.8px;
          text-align: center;
        }

        /* Grid Layout */
        .product-grid {
          display: grid;
          grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
          gap: 40px;
          width: 100%;
        
        }

        .product-link {
          text-decoration: none;
          color: inherit;
          display: block;
        }

        /* Minimalist Card */
        .product-card {
            background: #fff;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-radius: 4px;
            overflow: hidden;
            border: 1px solid #f1f1f1;
            display: flex;
            flex-direction: column;
            text-decoration: none;
            /* Removes underline from link */
            color: inherit;
            position: relative;
        }

        /* Image Area */
        .product-image-area {
          position: relative;
          background-color: #f9f9f9;
          width: 100%;
          padding-top: 100%;
          overflow: hidden;
        }

        .card-image {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          padding: 0;
          transition: transform 0.5s ease, opacity 0.5s ease;
          backface-visibility: hidden;
        }

        .img-main {
          opacity: 1;
          z-index: 1;
        }

        .img-secondary {
          opacity: 0;
          z-index: 2;
        }

        /* Hover Effects */
        .product-card:hover .card-image {
          transform: scale(1.05);
        }

        .product-card:hover .img-main {
          opacity: 0;
        }

        .product-card:hover .img-secondary {
          opacity: 1;
        }

        /* Card Info */
        .card-info {
          padding: 15px 0 0 0;
          text-align: left;
        }

        .card-title {
          font-family: 'Inter', sans-serif;
          font-size: 1.2rem;
          font-weight: 400;
          color: #1e1e1e;
          margin: 0 0 5px 0;
          line-height: 1.4;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          text-align: center;
        }

        .card-price {
            font-family: 'Inter', sans-serif;
            color: #000;
            font-weight: 400;
            font-size: 1.2rem;
            margin: 5px 0 15px 0;
            text-align: center;
        }

        /* Responsive */
        @media (max-width: 768px) {
          .product-container {
            margin: 20px 0;
            gap: 30px;
          }

          
         

          .details-grid {
            gap: 20px;
          }

          .action-buttons {
            grid-template-columns: 1fr;
          }

          .reviews-header h2 {
            font-family: 'Castoro', serif;
            font-size: 2.0rem;
            color: #1a1a1a;
            margin-bottom: 0px;
            margin-top: 0px;
            font-weight: 500;
            text-align: center;
            letter-spacing: 0.8px;
          }
        }


        /* ---------------- CUSTOMER REVIEWS SECTION ---------------- */
        .reviews-wrapper {
          max-width: 1400px;
          margin: 0 auto 60px auto;
          padding: 60px 20px 0 20px;
          border-top: 1px solid #eee;
          display: grid;
          grid-template-columns: 1.5fr 1fr;
          /* Left: List, Right: Form */
          gap: 60px;
        }

        .reviews-header {
          grid-column: 1 / -1;
          margin-bottom: 10px;
        }

        .reviews-header h2 {
          font-family: 'Castoro', serif;
          font-size: 2.0rem;
          color: #1a1a1a;
          margin-bottom: 0px;
          margin-top: 0px;
          font-weight: 500;
          text-align: center;
          letter-spacing: 0.8px;
        }


        /* Review List Styling */
        .reviews-list {
          max-height: 600px;
          overflow-y: auto;
          padding-right: 20px;
        }

        .review-card {
          background: #f9f9f9;
          padding: 20px;
          border-radius: 8px;
          margin-bottom: 20px;
          border: 1px solid #eee;
        }

        .review-stars {
          color: #FFD700;
          margin-bottom: 8px;
          font-size: 1.1rem;
        }

        .review-body {
          font-size: 0.95rem;
          color: #555;
          line-height: 1.6;
          font-style: italic;
          margin-bottom: 10px;
        }

        .review-meta {
          font-size: 0.85rem;
          font-weight: 600;
          color: #333;
        }

        .review-date {
          font-weight: 400;
          color: #888;
          margin-left: 10px;
          font-size: 0.8rem;
        }

        /* Review Form Styling */
        .review-form-container {
          background: #fff;
          border: 1px solid #e0e0e0;
          border-radius: 8px;
          padding: 30px;
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
          height: fit-content;
        }

        .review-form-container h3 {
          margin-top: 0;
          font-family: 'Castoro', serif;
          margin-bottom: 20px;
        }

        .form-group {
          margin-bottom: 15px;
        }

        .form-group label {
          display: block;
          font-weight: 500;
          font-size: 0.9rem;
          margin-bottom: 5px;
          color: #333;
        }

        .form-input,
        .form-select,
        .form-textarea {
          width: 100%;
          padding: 12px;
          border: 1px solid #ddd;
          border-radius: 5px;
          font-family: 'Poppins', sans-serif;
          font-size: 0.9rem;
          background: #fbfbfb;
          transition: 0.2s;
          box-sizing: border-box;
          /* Fixes padding width issues */
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
          background: #fff;
          border-color: var(--primary);
          outline: none;
        }

        .form-textarea {
          resize: vertical;
          height: 120px;
        }

        .btn-submit-review {
          width: 100%;
          background-color: var(--primary);
          color: #fff;
          border: none;
          padding: 14px;
          font-weight: 600;
          font-size: 1rem;
          border-radius: 5px;
          cursor: pointer;
          transition: background 0.3s;
        }

        .btn-submit-review:hover {
          background-color: #601b1a;
        }

        @media (max-width: 900px) {
          .reviews-wrapper {
            grid-template-columns: 1fr;
            gap: 40px;
          }
        }

        /* =========================================
   Responsive Adjustments (Mobile/Tablet)
   ========================================= */
        @media (max-width: 992px) {
          .footer-links {
            justify-content: flex-start;

          }

          .review-form-container h3 {
            font-family: 'Castoro', serif;
            margin-top: 0;
            margin-bottom: 20px;
            font-weight: 400;
          }
        }

        @media (max-width: 768px) {
          .site-footer {
            padding: 40px 15px;
          }

          .footer-container {
            flex-direction: column;
            gap: 40px;
          }

          .footer-logo {
            text-align: center;
            max-width: 100%;
          }

          .footer-links {
            justify-content: space-between;
          }

          .footer-column {
            flex: 1 1 45%;
          }

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

          .footer-legal {
            justify-content: center;
          }
        }

        @media (max-width: 480px) {
          .footer-column {
            flex: 1 1 100%;
            text-align: center;
          }

          .footer-column h3::after {
            margin: 10px auto 0;
          }
        }

        /* --- RICH CONTENT TYPOGRAPHY SYNC --- */

        .rich-content {
          max-width: 1400px;
          /* Matching wedding-content max-width */
          margin: 120px auto;
          /* Matching wedding-content margin */
          padding: 0 20px;
          font-family: 'Playfair Display', serif;
          /* Matching var(--font-body) */
          color: #333;
          background: #ffffff;
          /* Removed beige background for clean look */
        }

        /* Main Dynasty Header */
        .dynasty-main-title {
          font-family: 'Castoro', serif;
          font-size: 2.0rem;
          color: #1a1a1a;
          margin-bottom: 5px;
          font-weight: 500;
          letter-spacing: 0.7px;
          text-align: center;
        }

        /* Subsection headings (H2, H3) */
        .rich-container h2,
        .rich-container h3,
        .rich-container h4 {
          font-size: 1.5rem;
          margin-top: 50px;
          margin-bottom: 20px;
          font-family: 'figtree', sans-serif;
          font-weight: 500;
          text-align: left;
        }

        /* Body Paragraphs */
        .rich-container p {
          font-size: 1rem;
          line-height: 1.8;
          color: #555;
          margin-bottom: 1.5rem;
        }

        /* List Items (Checks) */
        .rich-container ul li {
          font-size: 1rem;
          line-height: 1.8;
          color: #555;
          margin-bottom: 10px;
          list-style: none;
          /* Keeps your custom checkmark style */
        }

        /* --- RESPONSIVE MOBILE SYNC --- */
        @media (max-width: 600px) {
          .rich-content {
            margin: 60px 0;
            padding: 0 16px;
          }

          .rich-container p,
          .rich-container ul li {
            font-size: 0.88rem;
            line-height: 1.6;
          }

          .rich-container h2 {
            font-size: 1.4rem;
          }

          .rich-container h3 {
            font-size: 1.15rem;
          }

          .rich-container h4 {
            font-size: 1rem;
          }
        }

        @media (max-width: 768px) {
          .dynasty-main-title {
            font-size: 2rem;
          }
        }

       

        @media (max-width: 768px) {

         
          .mobile-menu-btn,
          .close-drawer {
            background: none;
            border: none;
            color: #fff;
            font-size: 1.8rem;
          }

          

          .mobile-drawer {
            position: fixed;
            top: 0;
            left: -100%;
            
    width: 80%;
    max-width: 300px;

            height: 100%;
            background: #fff;
            padding: 25px;
            z-index: 2000;
            transition: left 0.3s ease;
          }

          .mobile-drawer.active {
            left: 0;
          }

          .drawer-links {
            margin-top: 50px;
            display: flex;
            flex-direction: column;
            gap: 20px;
          }

          .drawer-links a {
            text-decoration: none;
            font-size: 1rem;
            color: #333;
            font-weight: 500;
          }

          .drawer-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
            display: none;
            z-index: 1500;
          }

          .drawer-overlay.active {
            display: block;
          }

          .product-container {
            grid-template-columns: 1fr;
          }

          .product-image #main-product-image {
            max-height: 350px;
          }

          

          

          .action-buttons {
            position: sticky;
            bottom: 0;
            background: #fff;
            padding: 10px;
            border-top: 1px solid #eee;
            z-index: 500;
          }

          .btn-action {
            font-size: 0.9rem;
            padding: 12px;
          }
           

          .rich-container p,
          .rich-container li {
            font-size: 0.9rem;
          }

          .reviews-wrapper {
            padding-top: 30px;
          }
        }

        .mobile-drawer {
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-drawer.active {
    transform: translateX(0);
}
        /* ================= MOBILE OPTIMIZATION ================= */
        @media (max-width: 768px) {

         

          /* Product layout */
          .product-container {
            grid-template-columns: 1fr;
            gap: 20px;
            margin: 15px 0;
          }

          .product-image img {
            max-height: 320px;
            object-fit: contain;
          }

          .thumbnail-img {
            width: 60px;
            height: 60px;
          }

         

          

          

          .mrp {
            font-size: 0.9rem;
          }

          .product-price-mrp-text {
            font-size: 0.75rem;
          }

          .variant-option {
            font-size: 0.7rem;
          }

          .variant-option strong {
            font-size: 0.85rem;
          }

         
          


          .chat-banner {
            padding: 12px 15px;
            font-size: 0.8rem;
          }

          .details-grid {
            gap: 25px;
          }

          .details-grid div {
            font-size: 0.75rem;
          }

          .details-grid div strong {
            font-size: 0.9rem;
          }

          /* Rich content */
          .rich-container h2 {
            font-size: 1.4rem;
          }

          .rich-container h3 {
            font-size: 1.1rem;
          }

          .rich-container p,
          .rich-container ul li {
            font-size: 0.85rem;
          }

          /* Reviews */
          .reviews-wrapper {
            padding: 40px 15px 0 15px;
          }

          .review-body {
            font-size: 0.8rem;
          }

          .review-meta {
            font-size: 0.75rem;
          }

          .review-form-container {
            padding: 20px;
          }

          /* Horizontal swipe sections */
          .recommended-section .product-grid {
            display: flex;
            overflow-x: auto;
            gap: 12px;
            padding-bottom: 10px;
            scroll-snap-type: x mandatory;
          }
          .recommended-section{
            margin-top: 5px;
          }
          .recommended-section pre{
            font-size: 1.8rem;
            padding: 0 10px;
            margin-bottom: 10px;
            margin-bottom: 18px;
          }

          .recommended-section .product-grid::-webkit-scrollbar {
            display: none;
          }

          .recommended-section .product-card {
            min-width: 180px;
            min-height: 250px;
            scroll-snap-align: start;
          }

          .card-title {
            font-size: 0.8rem;
          }

          .card-price {
            font-size: 0.9rem;
          }
        }

        /* ===== ULTRA COMPACT PRODUCT INFO (MOBILE ONLY) ===== */
        @media (max-width: 768px) {

          .product-info {
            padding: 0 8px;
          }

          .product-header {
            margin-bottom: 4px;
          }

          .product-title {
            font-size: 1.8rem;
            font-weight: 600;
          }

          .product-header-icons {
            font-size: 1.15rem;
            gap: 10px;
          }

          .product-description {
            font-size: 1rem;
            margin-bottom: 8px;
            padding-bottom: 8px;
             line-height: 1.5;
          }
          

          .product-price-box {
            margin-bottom: 8px;
          }

          .mrp {
            font-size: 0.8rem;
          }

          .product-price-mrp-text {
            font-size: 0.7rem;
          }

          .variant-selectors {
            gap: 8px;
            padding: 8px 0;
            margin-bottom: 8px;
          }

          .variant-option {
            font-size: 0.7rem;
          }

          .variant-option strong {
            font-size: 0.82rem;
          }

          .action-buttons {
            gap: 8px;
            margin-bottom: 10px;
          }

          
          .stock-info {
            font-size: 0.7rem;
            padding: 6px;
            margin-bottom: 8px;
          }

          .chat-banner {
            padding: 8px 10px;
            margin-bottom: 10px;
          }

          .chat-banner-text strong {
            font-size: 0.8rem;
          }

          .chat-banner-text span {
            font-size: 0.7rem;
          }

          .details-box {
            padding: 10px;
          }

          .details-grid {
            gap: 18px;
          }

          .details-grid div {
            font-size: 0.7rem;
          }

          .details-grid div strong {
            font-size: 0.8rem;
          }

        }

        /* ===============================
   MOBILE FONT SIZE CONTROL
   Applies only on screens ≤ 768px
   =============================== */

        @media (max-width: 768px) {

          /* Root scaling — affects all rem/em units */
          html {
            font-size: 12px;
            /* ↓ Default is 16px — this shrinks everything globally */
          }

          /* Base text */
          body {
            font-size: 12px;
            /* Main paragraph & general text */
            line-height: 1.4;
            /* Vertical spacing between lines */
          }

          /* Headings */
          h1 {
            font-size: 20px;
          }

          /* Main page title */
          h2 {
            font-size: 18px;
          }

          /* Section headings */
          h3 {
            font-size: 16px;
          }

          /* Sub-section headings */
          h4 {
            font-size: 15px;
          }

          /* Card titles */
          h5 {
            font-size: 14px;
          }

          /* Minor headings */
          h6 {
            font-size: 13px;
          }

          /* Very small headings */

          /* Normal text */
          p {
    font-size: 12px;
            /* Paragraph text */
          }

          span {
    font-size: 12px;
            /* Inline text */
          }

          li {
    font-size: 12px;
            /* List items */
          }


          /* Buttons & form */
          button {
    font-size: 12px;
            /* Buttons text */
          }

        
          label {
            font-size: 12px;
            /* Form labels */
          }

          /* Small helper text */
          small {
    font-size: 12px;
            /* Captions, hints */
          }

          /* Price / highlight text */
          .price {
            font-size: 1.8rem;
            /* Product prices */
            font-weight: 600;
          }

         

          /* Footer */
          footer {
            font-size: 11px;
            /* Footer text */
          }
        }



        .ring-size-selector-group {
          margin-bottom: 20px;
          width: 100%;
        }

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

        .size-drawer-input {
          width: 100%;
          max-width: 220px;
          padding: 10px;
          border: 1px solid #832422;
          /* Matches your brand color */
          border-radius: 4px;
          font-family: inherit;
          cursor: pointer;
        }

        .size-guide-btn {
          font-size: 0.85rem;
          color: #832422;
          text-decoration: none;
          cursor: pointer;
          white-space: nowrap;
        }

        /* Adjusting action buttons to stack below the selector */
        .action-buttons-container {
          display: flex;
          flex-direction: column;
        }

    

        .variant-label {
          display: block;
          font-family: 'Inter', sans-serif;
          font-size: 0.9rem;
          font-weight: 600;
          margin-bottom: 8px;
          color: var(--text-dark);
          text-transform: uppercase;
          letter-spacing: 1px;
        }

        .ring-size-selector-group {
          margin-bottom: 25px;
          padding-bottom: 15px;
          border-bottom: 1px solid var(--border-color);
        }
.size-drawer-input {
  padding: 14px !important;      
  font-size: 13px!important;      
  max-width: 100%;      
}



        /* Policy Grid Styling */
        .policy-grid {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          /* 3 columns */
          gap: 8px;
          margin-top: 15px;
          border-top: 1px solid #eee;
          padding-top: 0px;
        }

        .policy-item {
          text-decoration: none;
          color: var(--text-dark);
          display: flex;
          flex-direction: column;
          align-items: center;
          text-align: center;
          padding: 10px;
          transition: transform 0.2s ease;
        }

        .policy-item {
  transition: transform 0.3s ease;
}

.policy-item:hover {
  transform: scale(1.08);
}

        .policy-item i {
          font-size: 2rem;
          color: var(--primary);
          /* Using your #832422 color */
          margin-bottom: 8px;
        }

        .policy-item span {
          font-size: 0.85rem;
          font-weight: 500;
          line-height: 1.2;
          text-transform: uppercase;
          letter-spacing: 0.5px;
        }



        /* Mobile Responsive: 2 columns for policies */
        @media (max-width: 480px) {
          .policy-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
          }
        }

        @media (max-width: 768px) {
          .policy-grid {
            grid-template-columns: repeat(3, 1fr);
            /* Keep 3 for icons */
            gap: 15px 5px;
            padding-top: 15px;
          }

          .policy-item i {
            font-size: 1.8rem;
            /* Scale down icons slightly for mobile */
          }

          .policy-item span {
            font-size: 0.8rem;
            /* Ultra-compact text for mobile to prevent overlap */
            white-space: normal;
            /* Allow text to wrap if it's too long */
          }

          /* Detailed Description Box Mobile tweaks */
          .detailed-description-box {
            margin-top: 15px;
            padding: 12px;
          }

          .detailed-description-box h4 {
            font-size: 1rem;
            margin-bottom: 5px;
          }

          .detailed-description-box p {
            font-size: 0.8rem;
            line-height: 1.4;
          }
        }

        /* Zoom Overlay Layout */
        .zoom-overlay {
          display: none;
          position: fixed;
          z-index: 10000;
          left: 0;
          top: 0;
          width: 100%;
          height: 100%;
          background-color: rgba(255, 255, 255, 0.95);
          /* Deep dark for focus */
          backdrop-filter: blur(12px);
          cursor: zoom-out;
          flex-direction: column;
        }

        .zoom-header {
          width: 100%;
          display: flex;
          justify-content: flex-end;
          padding: 20px 30px;
          box-sizing: border-box;
        }

        .zoom-close {
          color: #303030;
          font-size: 45px;
          font-weight: 200;
          cursor: pointer;
          line-height: 0.8;
        }

        .zoom-img-container {
          flex-grow: 1;
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 10px;
        }

        .zoom-img {
          max-width: 95%;
          max-height: 85vh;
          object-fit: contain;
          box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
          animation: zoomFade 0.3s ease-out;
        }

        @keyframes zoomFade {
          from {
            opacity: 0;
            transform: scale(0.9);
          }

          to {
            opacity: 1;
            transform: scale(1);
          }
        }

        /* Mobile Specific Tweaks */
        @media (max-width: 768px) {
          .zoom-header {
            padding: 15px 20px;
          }

          .zoom-close {
            font-size: 40px;
          }

          .zoom-img {
            max-width: 100%;
            max-height: 75vh;
          }
        }

        /* Cursor for the main image */
        #main-product-image {
          cursor: zoom-in;
        }

        /* --- IMAGE CONTAINER FIX --- */



        /* --- BIG WINDOW OVERLAY (MOBILE & LAPTOP) --- */
        .zoom-overlay {
          display: none;
          position: fixed;
          inset: 0;
          background: rgba(255, 255, 255, 0.9);
          backdrop-filter: blur(8px);
          z-index: 9999;
          justify-content: center;
          align-items: center;
        }

        .zoom-overlay img {
          max-width: 95%;
          max-height: 90vh;
          object-fit: contain;
          animation: zoomIn 0.3s ease;
        }

        .close-zoom {
          position: absolute;
          top: 20px;
          right: 30px;
          color: #303030;
          font-size: 40px;
          cursor: pointer;
        }

        @keyframes zoomIn {
          from {
            opacity: 0;
            transform: scale(0.8);
          }

          to {
            opacity: 1;
            transform: scale(1);
          }
        }

        /* Update this class to force matching widths */
        .size-drawer-input {
          width: 100%;
          /* Occupies full width of the container */
          max-width: 300px;
          /* Set a fixed max-width that looks good on your page */
          padding: 12px;
          /* Consistent internal spacing */
          border: 1px solid #832422;
          border-radius: 4px;
          font-family: inherit;
          box-sizing: border-box;
          /* CRITICAL: Ensures padding doesn't add to width */
          display: block;
          /* Forces them to stack properly */
          margin-bottom: 10px;
          /* Space between the two boxes */
        }

        /* Ensure the custom input matches the dropdown perfectly */
        #custom-size-input {
          border-style: solid;
          /* Keeps your dashed look for custom input */
        }

        .size-drawer-input:focus {
          border-color: #601b1a;
          /* Slightly darker on click */
        }

        .product-stamps {
    display: flex;
    justify-content: center;
    gap: 90px;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* Remove heavy borders → let PNG shine */
.stamp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100px;
    text-align: center;

    transition: transform 0.25s ease;
}

.stamp img {
    width: 180px;   /* control logo size */
    height: 180px;
    object-fit: contain;
    margin-bottom: 8px;
}







@media (max-width: 768px) {

    .product-stamps {
        position: relative;
        margin-top: 20px;
        order: 3; /* helps in flex layouts */
        justify-content: center;
    }

    /* Hide from left section */
    .product-image .product-stamps {
        display: none;
    }

    /* Show in right section */
    .product-info::after {
        content: "";
        display: block;
    }

}
/* Default (desktop) */
.mobile-stamps {
    display: none;
}

/* Mobile view */
@media (max-width: 768px) {

    .product-image .product-stamps {
        display: none; /* hide left */
    }

    .mobile-stamps {
        display: flex; /* show right */
        justify-content: space-around;
        margin-top: 20px;
    }
}
@media (max-width: 768px) {

    .product-stamps {
        gap: 15px;               /* tighter spacing */
        margin-top: 15px;
        justify-content: space-around; /* better alignment */
    }

    .stamp {
        width: 80px;             /* smaller width */
    }

    .stamp img {
        width: 90px;             /* smaller icons */
        height: 90px;
    }

    .stamp span {
        font-size: 10px;         /* compact text */
        line-height: 1.2;
    }

}

/* 🖥 DESKTOP */
.mobile-stamps {
    display: none;
}

/* 📱 MOBILE */
@media (max-width: 768px) {

    /* hide left */
    .product-image .product-stamps {
        display: none;
    }

    /* show right */
    .mobile-stamps {
        display: flex;
        justify-content: space-around;
        margin-top: 20px;
    }
}
      /* ==========================================
   SIMILAR PRODUCTS SECTION
   Same Premium Design as "OUR BEST SELLERS"
   ========================================== */

/* Main Section */
.recommended-section {
    padding: 40px 0 60px;
    background: #ffffff;
}

/* Section Title */
.recommended-section pre {
    font-family: 'Castoro', serif;
    font-size: 2.7rem;
    font-weight: 500;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 40px;
    letter-spacing: 0.7px;
    white-space: normal;
    background: none;
    border: none;
    padding: 0;
    line-height: 1.2;
}

/* Slider Viewport (optional wrapper if you add one later) */
.recommended-section .slider-viewport {
    width: 100%;
    overflow: hidden;
}

/* Product Grid - Horizontal Auto Scroll */
.recommended-section .product-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    overflow-x: auto;
    padding: 10px 0 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.recommended-section .product-grid::-webkit-scrollbar {
    display: none;
}

/* Product Link */
.recommended-section .product-link {
    flex: 0 0 auto;
    width: 280px;
    text-decoration: none;
    color: inherit;
}

/* Product Card */
.recommended-section .product-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.recommended-section .product-card:hover {
    border-color: #e0e0e0;
}

/* Image Area */
.recommended-section .product-image-area {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

/* Images */
.recommended-section .card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.6s ease;
}

/* Main Image */
.recommended-section .img-main {
    opacity: 1;
    z-index: 1;
}

/* Secondary Image */
.recommended-section .img-secondary {
    opacity: 0;
    z-index: 2;
}

/* Hover Effects */
.recommended-section .product-card:hover .img-main {
    opacity: 0;
    transform: scale(1.05);
}

.recommended-section .product-card:hover .img-secondary {
    opacity: 1;
    transform: scale(1.05);
}

/* Product Info */
.recommended-section .card-info {
    padding: 12px 10px 20px;
    text-align: center;
    background: #ffffff;
}

/* Product Title */
.recommended-section .card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price */
.recommended-section .card-price {
    margin: 0;
    color: #1a1a1a;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Empty State */
.recommended-section p {
    text-align: center;
    color: #777;
    font-size: 1rem;
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .recommended-section {
        padding: 20px 0 30px;
    }

    .recommended-section pre {
        font-size: 1.8rem;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .recommended-section .product-grid {
        gap: 15px;
        padding: 5px 15px 20px;
    }

    .recommended-section .product-link {
        width: 180px;
        min-width: 180px;
    }

    .recommended-section .card-info {
        padding: 10px;
    }

    .recommended-section .card-title {
        font-size: 0.85rem;
        margin-bottom: 5px;
        text-align: center;
    }

    .recommended-section .card-price {
        font-size: 0.95rem;
        text-align: center;
    }
}



.reviews-wrapper {
  max-width: 1400px;
  margin: 0 auto 60px auto;
  padding: 60px 20px 0 20px;
  border-top: 1px solid #dcdcdc;
  background: #f3f3f3; /* Light Gray Background */
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}

.reviews-header {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.reviews-header h2 {
  font-family: 'Castoro', serif;
  font-size: 2rem;
  font-weight: 500;
  color: #111111; /* Black */
  margin: 0;
  text-align: center;
  letter-spacing: 0.8px;
}

/* ==========================================
   REVIEWS LIST
   ========================================== */

.reviews-list {
  max-height: 600px;
  overflow-y: auto;
  padding-right: 20px;
}

/* Scrollbar */
.reviews-list::-webkit-scrollbar {
  width: 6px;
}

.reviews-list::-webkit-scrollbar-track {
  background: #e5e5e5;
  border-radius: 10px;
}

.reviews-list::-webkit-scrollbar-thumb {
  background: #999999;
  border-radius: 10px;
}

.reviews-list::-webkit-scrollbar-thumb:hover {
  background: #666666;
}

/* Review Card */
.review-card {
  background: #ffffff; /* White Box */
  border: 1px solid #dddddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* Stars */
.review-stars {
  color: #f4b400;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* Review Text */
.review-body {
  font-size: 0.95rem;
  color: #333333; /* Dark Gray */
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
}

/* Customer Name */
.review-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111111;
}

/* Review Date */
.review-date {
  font-size: 0.8rem;
  font-weight: 400;
  color: #888888;
  margin-left: 10px;
}

/* ==========================================
   REVIEW FORM
   ========================================== */

.review-form-container {
  background: #ffffff; /* White Box */
  border: 1px solid #dddddd;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  height: fit-content;
}

.review-form-container h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: 'Castoro', serif;
  font-weight: 500;
  color: #111111;
}

/* Form Groups */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: #111111;
}

/* Inputs */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #111111;
  background: #ffffff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #888888;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #555555;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
.btn-submit-review {
  width: 100%;
  background: #601b1a;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit-review:hover {
  background: #333333;
}

/* ==========================================
   NO REVIEWS BOX
   ========================================== */

.reviews-list > div[style] {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #dddddd;
  border-radius: 8px;
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */

@media (max-width: 900px) {
  .reviews-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .reviews-wrapper {
    padding: 40px 15px 0;
    gap: 30px;
  }

  .reviews-header h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .review-card {
    padding: 16px;
  }

  .review-body {
    font-size: 0.85rem;
  }

  .review-meta {
    font-size: 0.75rem;
  }

  .review-form-container {
    padding: 20px;
  }

  .review-form-container h3 {
    font-size: 1.4rem;
    text-align: center;
  }
}

#main-media-container {
    position: relative;
}

#main-media-container img,
#main-media-container video {
    width: 100%;
    border-radius: 12px;
    display: block;
    
   
    width: 800px;
    height: 800px;
}

.thumbnail-video {
    position: relative;
    width: 80px;
    height: 80px;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.thumbnail-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 24px;
}

.thumbnail-video.active {
    border-color: #832422;
}
/* Main media container */
#main-media-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;   /* Keeps square ratio */
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

/* Main image and video */
#main-media-container img,
#main-media-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* Fills square perfectly */
    border-radius: 12px;
    display: block;
}

/* Video thumbnail */
.thumbnail-video {
    position: relative;
    width: 80px;
    aspect-ratio: 1 / 1;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.thumbnail-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Play icon overlay */
.video-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 24px;
}

/* Active thumbnail border */
.thumbnail-video.active {
    border-color: #832422;
}

/* Hide native controls */
#main-product-video::-webkit-media-controls {
    display: none !important;
}

/* Prevent clicking video and showing controls */
#main-product-video {
    pointer-events: none;
}

@media (max-width: 768px) {
    .selector-flex {
        width: 100%;
    }

    .size-drawer-input {
        width: 100% !important;
        max-width: 50% !important;   /* Full width on mobile */
        height: 42px !important;      /* Control box height */
        padding: 0 12px !important;   /* Left/right padding only */
        font-size: 13px !important;
        border-radius: 4px;
        margin-bottom: 8px;
        box-sizing: border-box;
    }

    #custom-size-input {
        height: 42px !important;
    }
}


@media (max-width: 768px) {
    /* Form wrapper */
    .action-buttons-container {
        width: 100%;
        box-sizing: border-box;
    }

    /* Container for Add to Cart + Buy Now */
    .action-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
        margin: 0 0 12px 0;
        padding: 0 !important;      /* Remove extra padding */
        box-sizing: border-box;
        position: static;           /* Disable sticky behavior */
    }

    /* Both buttons use the same base class */
    .btn-action {
        width: 100%;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 12px !important;
        margin: 0 !important;
        font-size: 12px !important;
        font-weight: 600;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        border-radius: 4px;
        line-height: 1;
        box-sizing: border-box;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    /* Icon size inside buttons */
    .btn-action i {
        font-size: 14px;
        line-height: 1;
    }

    /* Ensure both buttons always have the same height */
    .btn-add-to-cart,
    .btn-buy-now {
        height: 42px !important;
        min-height: 42px !important;
    }
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    #main-media-container,
    #main-media-container img,
    #main-media-container video {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .product-container,
    .product-image,
    .product-info {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
}

/* =========================================
   MAKE VIDEO THUMBNAIL EXACTLY SAME AS IMAGE THUMBNAILS
   ========================================= */
@media (max-width: 768px) {
    /* Thumbnail container row */
    .product-gallery-thumbnails {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
    }

    /* Image thumbnails */
    .thumbnail-img {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        object-fit: cover;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-sizing: border-box;
        display: block;
        flex-shrink: 0;
    }

    /* Video thumbnail container */
    .thumbnail-video {
        position: relative;
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        overflow: hidden;
        box-sizing: border-box;
        flex-shrink: 0;
        display: block;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Video inside thumbnail */
    .thumbnail-video video {
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
        display: block;
        border-radius: 4px;
    }

    /* Play icon overlay */
    .video-play-icon {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.35);
        color: #fff;
        font-size: 16px !important;
        border-radius: 4px;
        pointer-events: none;
    }

    /* Active state */
    .thumbnail-video.active,
    .thumbnail-img.active {
        border: 1px solid #832422 !important;
        opacity: 0.85;
    }
}

.ring-size-guide {
  margin-top: 0px;
}

.ring-size-guide a {
  font-size: 16px;
  color: #bdbdbd;
  text-decoration: none;
  font-weight: 500;
}

.ring-size-guide a:hover {
  color: #bdbdbd;
}
/* Mobile View Only */
@media (max-width: 768px) {
  .ring-size-guide {
    margin-top: 4px;
    width: 100%;
    text-align: left;
  }

  .ring-size-guide a {
    display: inline-block;
    font-size: 13px;
    color: #bdbdbd;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
  }

  .ring-size-guide a:hover {
    color: #bdbdbd;
  }
}