f
    /* General Styles */
 

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    body {
        font-family: 'Poppins', sans-serif;
        color: var(--dark-text);
        line-height: 1.7;
        background-color: #f8fbf8;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
    /* --- NEW YOUTUBE CARD STYLES --- */
    .video-card {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        cursor: pointer;
        background: #000;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .video-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    .video-thumbnail-wrapper {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
        height: 0;
        overflow: hidden;
    }

    .video-thumbnail {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.9;
        transition: transform 0.5s ease;
    }

    .video-card:hover .video-thumbnail {
        transform: scale(1.1);
        opacity: 0.7;
    }

    /* The Play Button Container */
    .play-btn-overlay {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }

    /* The Gradient Circle */
    .play-btn-circle {
        width: 65px;
        height: 65px;
        background: linear-gradient(135deg, var(--primary-hover-color), var(--primary-color)); /* Pink to Purple Gradient */
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 24px;
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7);
        transition: all 0.3s ease;
        animation: pulse-white 2s infinite;
    }

    .video-card:hover .play-btn-circle {
        transform: scale(1.15);
        box-shadow: 0 0 20px rgba(236, 72, 153, 0.6);
    }
    
    .play-icon {
        margin-left: 4px; /* Optically center the triangle */
    }

    @keyframes pulse-white {
        0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
        70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
        100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
    }

    .container {
        max-width: 95%;
        margin: 0 auto;
        padding: 20px 15px;
        flex-grow: 1;
    }

    /* Header */
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 5%;
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: var(--card-bg);
        border-bottom: 1px solid var(--border-color);
    }
    /* ADD THIS: Responsive Logo Base */
    .logo img {
        max-height: 65px; /* Prevents it from getting too tall on desktop */
        width: auto;      /* Keeps the aspect ratio intact */
        max-width: 100%;  /* Ensures it never breaks out of its container */
        object-fit: contain;
        transition: max-height 0.3s ease; /* Smooth scaling when resizing */
    }
    
    .qr-code img.icon {
        height: 50px;
        width: 50px;
        border-radius: 8px;
    }

    /* product Details Section */
    .product-details-section {
        background-color: var(--card-bg);
        border-radius: 18px;
        padding: 6px;
        margin-bottom: 25px;
        box-shadow: 0 6px 20px var(--shadow);
    }

    .product-name {
        font-size: 2.2em;
        font-weight: 700;
        color: var(--dark-text);
        line-height: 1.2;
    }

    .price {
        color: var(--primary-color);
        font-size: 1.6em;
        font-weight: 700;
        display: none; /* Price Hide by Mayur */
    }

    .stock {
        color: var(--primary-color);
        background-color: var(--light-green);
        padding: 8px 15px;
        border-radius: 25px;
        font-size: 0.95em;
        font-weight: 600;
    }
    .stock.low-stock {
        color: var(--red-alert);
        background-color: #fcebeb;
    }

    .quntity-container {
        display: flex;
        gap: 15px;
        color: black;
        background: #f0f0f0;
        padding: 15px 20px;
        border-radius: 15px;
        width: auto;
        align-items: center;
        box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
    }

    .quantity-btn {
        background-color: var(--primary-color);
        color: white;
        border: none;
        border-radius: 50%;
        padding: 12px;
        font-size: 1.3em;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.1s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 45px;
        height: 45px;
    }
    .quantity-btn:hover {
        background-color: var(--toggle-hover);
        transform: scale(1.08);
    }

    .quantity-input {
        width: 70px;
        text-align: center;
        border: none;
        font-size: 1.2em;
        font-weight: 600;
        color: black;
        background-color: transparent;
        -moz-appearance: textfield;
    }

    .quantity-input::-webkit-outer-spin-button,
    .quantity-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .add-to-cart-btn {
        background-color: var(--primary-color);
        color: white;
        border: none;
        padding: 15px 30px;
        border-radius: 15px;
        font-size: 1.15em;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .add-to-cart-btn:hover {
        background-color: var(--toggle-hover);
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }

    /* Accordion */
    .accordion {
        width: 100%;
        margin-top: 2rem;
    }

    .accordion-item {
        margin-bottom: 12px;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .accordion-header {
        color: black;
        padding: 18px 25px;
        width: 100%;
        text-align: left;
        border-bottom: 2px solid var(--primary-color);;
        outline: none;
        font-size: 1.15em;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: background-color 0.2s ease, border-radius 0.2s ease;
    }
    .last-header {
      border: none!important;
      background: var(--primary-color) !important;
      color:white !important;
      border-radius: 10px !important;
    }
    .gray-box{
        background: #f5f5f5!important;
    }
    .gray-box p{
        color:black!important;
    }

    .accordion-icon {
        font-size: 0.9em;
        transition: transform 0.3s ease;
    }

    .accordion-header.active .accordion-icon {
        transform: rotate(180deg);
    }

    .accordion-content {
        padding: 0 25px;
        background-color: var(--card-bg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out;
    }

    .accordion-content p {
        padding: 15px 0;
        border-top: 1px dashed var(--border-color);
        color: var(--light-text);
        font-size: 0.95em;
        line-height: 1.8;
    }
    .accordion-content p:first-child {
        border-top: none;
    }

    /* Cart Button Styles */
    #sidebar-toggle {
        position: fixed !important;
        bottom: 25px !important;
        right: 25px !important;
        width: 60px !important;
        height: 60px !important;
        border-radius: 50% !important;
        background: #047857 !important; 
        color: #fff !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        font-size: 1.6rem !important;
        border: none !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
        cursor: pointer !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
        z-index: 1000 !important;
    }

    #sidebar-toggle:hover {
        transform: scale(1.1) !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35) !important;
    }

    #cart-count {
        background: #ef4444 !important;
        color: #fff !important;
        font-size: 0.75rem !important;
        padding: 0.35em 0.55em !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
    }

    /* Sidebar Cart Styles */
    .sidebar-cart {
        position: fixed;
        top: 0;
        right: -400px; 
        width: 100%;
        max-width: 400px;
        height: 100%;
        background-color: #f8fbf8;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        padding: 20px;
        display: flex;
        flex-direction: column;
    }

    .sidebar-cart.active {
        right: 0;
    }

  /* ===== Sidebar Cart Header ===== */
    .cart-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 18px;
    }
    
    /* Back button – responsive & touch friendly */
    .cart-back-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
    
        border-radius: 50%;
        border: none;
    
        background-color: var(--toggle);
        color: #fff;
    
        display: flex;
        align-items: center;
        justify-content: center;
    
        font-size: 18px;
        cursor: pointer;
    
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        transition: background-color 0.2s ease, transform 0.15s ease;
    }
    
    .cart-back-btn:hover {
        background-color: var(--toggle-hover);
        transform: scale(1.05);
    }
    
    /* Cart title */
    .cart-title {
        font-size: 1.75rem;
        font-weight: 700;
        color: #016737;
        margin: 0;
        line-height: 1.2;
    }
    .cart-items-scroll {
        flex-grow: 1;
        overflow-y: auto;
        padding-right: 10px;
        margin-bottom: 20px;
    }
    
    /* Cart Item Styles */
    .cart-item-wrapper {
        background-color: #EEEEEE;
        padding: 15px 20px;
        border-radius: 15px;
        margin-bottom: 15px;
        display: grid;
        grid-template-areas:
            "details remove"
            "quantity .";
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        align-items: start;
        gap: 8px 10px;
        position: relative;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .item-name {
        font-size: 1.0em;
        font-weight: bold;
        color: #333;
        margin-bottom: 5px;
    }
    
    .item-price {
        display: block;
        font-size: 0.9em;
        margin-top: 2px;
    }

    .quantity-controls-bottom {
        grid-area: quantity;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 5px;
        justify-self: start;
    }

    .quantity-button {
        background-color: var(--toggle);
        color: white;
        border: none;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.4em;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.2s ease;
        flex-shrink: 0;
        padding: 0;
        line-height: 1;
    }

    .quantity-button:hover {
        background-color: var(--toggle-hover);
    }

    .quantity-input[readonly] {
        width: 50px;
        text-align: center;
        border: 1px solid #D4EDDA;
        border-radius: 8px;
        padding: 6px 0;
        font-size: 1em;
        color: #333;
        background-color: #fdfdfd;
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    }

    .remove-item-top {
        grid-area: remove;
        background-color: var(--toggle);
        border: none;
        border-radius: 50%;
        width: 28px;
        height: 28px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        font-size: 1.2em;
        color: #fff;
        font-weight: bold;
        padding: 0;
        transition: background-color 0.2s ease;
        justify-self: end;
    }

    .remove-item-top:hover {
        background-color: var(--toggle-hover);
    }
 
    /* Translator Styles */
    #google_translate_element {
        display: none !important;
    }
    body > .skiptranslate {
        display: none !important;
    }
    body {
        top: 0px !important;
    }

    .custom-language-switcher {
        position: fixed;
        bottom: 100px;
        right: 25px;
        z-index: 1000;
    }

    .custom-language-switcher .translator-toggle {
        background-color: var(--primary-color);
        color: white;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.5em;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        margin-bottom: 35px;
        border: none;
    }
    .custom-language-switcher .translator-toggle:hover {
        background-color: var(--button-hover);
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    }

    .custom-translator-box {
        display: none;
        position: absolute;
        bottom: 65px;
        right: 0;
        min-width: 180px;
        background-color: #fff;
        border: 1px solid #eee;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        padding: 8px;
        overflow: hidden;
    }

    .custom-translator-box a {
        display: block;
        padding: 10px 15px;
        color: var(--dark-text);
        text-decoration: none;
        border-radius: 6px;
        transition: background-color 0.2s ease;
        font-size: 15px;
        font-weight: 500;
    }

    .custom-translator-box a:hover {
        background-color: #f5f5f5;
        color: var(--primary-color);
    }

    /* TTS Icon Styles */
    .tts-icon { margin-left: 10px; cursor: pointer; color: var(--primary-color); font-size: 1.1em; transition: color 0.2s ease, transform 0.2s ease; display: inline-block; vertical-align: middle; }
    .tts-icon:hover { color: var(--button-hover); transform: scale(1.1); }
    .accordion-content p.has-tts {
        padding-right: 30px;
        position: relative;
    }
    .accordion-content p .tts-icon { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
    
    /* Swal Button Style */
    .swal-confirm-btn {
        background-color: var(--primary-color) !important;
        color: #fff !important;
        border-radius: 6px;
        padding: 8px 20px;
        font-weight: 600;
        border: none;
        transition: background-color 0.3s ease;
    }

    .swal-confirm-btn:hover {
        background-color: var(--secondary-color) !important;
    }
    /* product Video Section */
    .product-video-section {
        margin: 25px 0;
        background: #fff;
        padding: 15px;
        border-radius: 14px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    
    .video-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 12px;
        color: var(--dark-text);
    }
    
    .product-video {
        width: 100%;
        border-radius: 12px;
        max-height: 320px;
        object-fit: cover;
    }
    
    /* Ensure the mobile bar shows when needed */
    #sidebar-toggle-mobile {
        display: none; 
        justify-content: space-between;
        align-items: center;
        position: fixed;
        bottom: 10px;
        left: 10px;
        right: 10px;
        background-color: #047857;
        color: #fff;
        font-weight: 600;
        font-size: 16px;
        border-radius: 10px;
        padding: 14px 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        z-index: 9999;
    }
        /* Share button – top right corner (non-intrusive) */
    
   /* Card */
    
    /* Share icon button – responsive */
    .share-btn {
        position: absolute;
        top: -140px;
        right: -30px;
    
        width: 32px;
        height: 32px;
        border-radius: 50%;
    
        background: #ffffff;
        border: 1px solid #e5e7eb;
    
        display: flex;
        align-items: center;
        justify-content: center;
    
        cursor: pointer;
        z-index: 10;
    
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
    
    .share-btn i {
        font-size: 13px;
        color: #374151;
    }
    
    .share-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    }
    .product-img{
        border-radius: 25px;
    }


    /* Section wrapper */
    .product-image-section {
        width: 100%;
        max-width: 560px;   /* optional – remove if not needed */
    }
    
    /* Square container */
    .product-image-container {
        width: 100%;
        aspect-ratio: 1 / 1;        /* Forces perfect square */
        background-color: #eaf2f8;  /* fallback background */
        border-radius: 16px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Image behavior */
    .product-img {
        width: 100%;
        height: 100%;
        object-fit: cover;   /* 🔥 KEY: fills square for all image sizes */
        object-position: center;
        display: block;
    }
    /* --- Modern Product UI --- */
    .action-card {
        position: relative;
        background: #ffffff;
        border-radius: 18px;
        padding: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }
    
    /* Share button top-right */
    .share-btn-top {
        position: absolute;
        top: 16px;
        right: 16px;
    
        display: inline-flex;
        align-items: center;
        gap: 6px;
    
        padding: 6px 14px;
        font-size: 0.85rem;
        font-weight: 600;
    
        color: #15803d;
        background: #ecfdf5;
        border: 1px solid #86efac;
        border-radius: 999px;
    
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .share-btn-top:hover {
        background: #15803d;
        color: #ffffff;
    }
    
    
    /* Hover effect */
    .share-btn-top:hover {
        background: #198754;
        color: #fff;
    }
    /* Variant Buttons (Default Pill) */
    .attr-btn {
        border: 2px solid #e5e7eb;
        background: #fff;
        color: #374151;
        font-weight: 600;
        padding: 8px 16px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 0.95rem;
        min-width: 50px;
    }
    
    .attr-btn:hover {
        border-color: var(--primary-color);
    }
    
    .attr-btn.active {
        border-color: var(--primary-color);
        background-color: var(--primary-color);
        color: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    
    .attr-btn.disabled {
        opacity: 0.5;
        cursor: not-allowed;
        background: #f3f4f6;
        border-color: #e5e7eb;
        color: #9ca3af;
    }
    
    /* Color Swatches (Circular) */
    .attr-btn.color-swatch {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        padding: 0;
        border: 2px solid #e5e7eb;
        position: relative;
    }
    
    .attr-btn.color-swatch.active {
        border-color: var(--primary-color); /* Ring effect */
        transform: scale(1.1);
        background-color: transparent !important; /* Keep swatch color */
    }
    /* Inner circle for color swatch active state to show selection clearly */
    .attr-btn.color-swatch.active::after {
        content: '✓';
        color: white;
        font-size: 14px;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .product-header {
        margin-bottom: 12px;
    }
    
    .product-title {
        font-size: 2.1rem;
        font-weight: 800;
        color: #0f172a; /* dark slate */
        margin: 0;
        letter-spacing: -0.4px;
    }
    .product-category {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 6px;
    
        font-size: 0.95rem;
        font-weight: 600;
        color: #16a34a;
    
        background: #ecfdf5;
        padding: 6px 14px;
        border-radius: 999px;
    }
    .price-display {
        font-size: 2rem;
        font-weight: 800;
        color: #15803d;
    }
    
    .stock-badge {
        display: inline-block;
        margin-top: 6px;
    
        font-size: 0.75rem;
        font-weight: 600;
    
        color: #065f46;
        background: #d1fae5;
        padding: 4px 10px;
        border-radius: 999px;
    }
    
    
    /* Quantity & Action Row */
    .action-row {
        display: flex;
        gap: 15px;
        margin-top: 25px;
        align-items: stretch;
    }
    
    .quantity-wrapper {
        display: flex;
        align-items: center;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        overflow: hidden;
        height: 50px;
    }
    
    .qty-btn {
        width: 40px;
        height: 100%;
        background: transparent;
        border: none;
        font-size: 1.2rem;
        font-weight: bold;
        color: #374151;
        cursor: pointer;
        transition: background 0.2s;
    }
    
    .qty-btn:hover {
        background: #f3f4f6;
    }
    
    #page-qty {
        width: 50px;
        text-align: center;
        border: none;
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--dark-text);
        background: transparent;
        -moz-appearance: textfield;
    }
    
    /* Big Add to Cart Button */
    .btn-add-cart {
        flex-grow: 1;
        background-color: var(--primary-color);
        color: white;
        font-weight: 700;
        font-size: 1.1rem;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .btn-add-cart:hover:not(:disabled) {
        background-color: var(--button-hover);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    }
    
    .btn-add-cart:disabled {
        background-color: #9ca3af;
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
    }
    
    /* --- Media Queries --- */
    @media (min-width: 769px) {
        .container {
            max-width: 1280px;
            padding: 30px 20px;
            display: grid;
            grid-template-columns: 1fr 1.6fr;
            gap: 40px;
        }
        .product-image-container {
            position: sticky;
            top: 100px;
            margin-bottom: 2rem;
        }
        .product-name { font-size: 2.8em; margin-bottom: 25px; }
        .product-details-section { padding: 35px; }
        .social-media-section, .address-section { grid-column: 1 / -1; }
        .social-media-section { padding: 35px; }
        .address-card { padding: 35px; }
        .mobile-cart-bar { display: none !important; }
    }

    @media (max-width: 768px) {
        .container { padding: 15px 0px; }
        .header { padding: 10px 15px; }
        .product-name { font-size: 1.8em; }
        .quntity-container { width: 100%; justify-content: space-between; padding: 12px 15px; }
        .add-to-cart-btn { width: 100%; padding: 12px 25px; font-size: 1.05em; }
        .sidebar-cart { max-width: 100%; }
         #sidebar-toggle-mobile {
            display: none !important;
        }
        .logo img {
            max-height: 50px; /* Shrinks logo for tablets/mobile */
        }
        
    }


    /* Additional Mobile Adjustments (480px) */
    @media (max-width: 480px) {
        .product-name { font-size: 1.6em; margin-top: 4%; }
        .social-icon { width: 48px; height: 48px; font-size: 1.6em; }
        .address-card { padding: 20px; }
         .share-btn {
            top: -55px;
            right: 0px;
            width: 30px;
            height: 30px;
        }
        .logo img {
            max-height: 40px; /* Shrinks logo further for small phones */
        }
    }
    /* Hide desktop cart on tablet & mobile */
    @media (max-width: 991px) {
        #sidebar-toggle {
            display: none !important;
        }
         .share-btn {
            top: -55px;
            right: 0px;
            width: 30px;
            height: 30px;
        }
    }
    @media (max-width: 576px) {
        .share-btn-top {
            top: 12px;
            right: 12px;
            font-size: 12px;
            padding: 5px 10px;
        }
    }
        
