:root {
    --primary-color: #2563eb;
    --accent-teal: #217373;
    /* Teal for Add to Cart */
    --accent-orange: #f97316;
    /* Orange for Buy Now */
    --accent-wishlist: #507d7d;
    /* Muted teal for wishlist border */
    --nav-bg: #ffffff;
    --bg-soft: #f9fafb;
    --text-main: var(--text-body, #1f2937);
    --text-muted: var(--text-muted, #6b7280);
    --glass-border: rgba(255, 255, 255, 0.3);
}

body {
    background-color: var(--bg-soft);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Typography Refresh - Now handled by typography.css */

/* Header redesign */
.glass-header {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

.nav-link-premium {
    font-weight: 600;
    color: var(--text-main) !important;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link-premium:hover {
    color: var(--primary-color) !important;
}

/* Product Showcase */
.product-hero-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    border: 1px solid #f3f4f6;
}

.img-container {
    background: white;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

@media (min-width: 992px) {
    .img-container {
        height: 100%;
    }
}

.product-main-img {
    max-height: 500px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.img-container:hover .product-main-img {
    transform: scale(1.05);
}

/* Metadata & Badges */
.badge-premium {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-display {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.price-currency {
    font-size: 1.25rem;
    vertical-align: super;
    margin-right: 0.2rem;
    color: var(--text-muted);
}

/* Redesigned Action Buttons */
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.btn-action {
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: none;
    color: white;
}

.btn-add-cart {
    background: #3d8686;
    color: white;
}

.btn-buy-now {
    background: #fb923c;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(251, 146, 60, 0.2);
}

.btn-wishlist {
    grid-column: span 2;
    background: white;
    color: #3d8686;
    border: 1px solid #3d8686;
    padding: 0.8rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.btn-action:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .action-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .btn-wishlist {
        grid-column: span 1;
        margin-top: 0;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        color: #1e293b !important;
        font-weight: 600;
        font-size: 1rem !important;
    }

    .btn-wishlist i {
        color: #f43f5e !important;
    }

    .btn-action {
        font-size: 1rem;
        padding: 0.85rem;
        gap: 0.55rem;
    }

    .btn-action i {
        font-size: 1.15rem;
    }

    .info-line-premium {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        text-align: center;
        padding: 5px 0;
    }

    .info-line-premium .mx-1 {
        display: none;
        /* Hide pipe separators on mobile when stacked */
    }

    .card-content-bottom {
        margin-bottom: 1rem !important;
        padding: 15px !important;
    }

    .action-grid {
        margin-top: 1rem !important;
    }

    .contact-bar-premium {
        margin-bottom: 5px !important;
        padding: 5px 0 !important;
        gap: 10px !important;
    }

    .social-bar-premium {
        margin-bottom: 15px !important;
        gap: 20px !important;
    }

    .contact-number-premium {
        font-size: 0.95rem;
    }

    .contact-phone-box {
        width: 28px;
        height: 26px;
        font-size: 0.85rem;
    }

    .whatsapp-icon-premium {
        font-size: 1.5rem;
    }

    .product-section {
        padding-bottom: 1rem !important;
    }

    .row.g-4.mt-4 {
        margin-top: 1rem !important;
    }
}

/* Qty Controls */
.cart-control {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}

.qty-input {
    width: 40px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: #1a1a1a;
}

/* Contact Bar Premium */
.contact-bar-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
    margin-bottom: 10px;
}

.contact-phone-box {
    background: #fb923c;
    color: white;
    width: 35px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 1.1rem;
}

.contact-number-premium {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: 0.02em;
}

.whatsapp-icon-premium {
    font-size: 2rem;
    color: #25D366;
}

/* Social Icons Area */
.social-bar-premium {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.social-bar-premium a {
    font-size: 1.4rem;
    transition: transform 0.2s ease;
}

.social-bar-premium a:hover {
    transform: scale(1.2);
}

.social-fb {
    color: #1877F2;
}

.social-yt {
    color: #FF0000;
}

.social-ig {
    color: #E4405F;
}

/* Sections */
.detail-section-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
    border: 1px solid #f3f4f6;
    height: 100%;
}

.section-title-premium {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Related Products */
.related-card {
    border: none;
    border-radius: 20px;
    transition: all 0.4s ease;
    background: white;
    padding: 1rem;
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.related-img-box {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
}

/* Modern Policy Footer */
.policy-card-modern {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.policy-header-modern {
    background: #eab308;
    /* Vivid yellow/gold */
    color: #111827;
    font-size: 1.05rem;
    padding: 12px !important;
}

.policy-body-modern {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.small-text-footer {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4b5563;
    text-align: justify;
}

.footer-bar-gray {
    background: #f3f4f6;
    /* Lighter gray for a cleaner look */
    border-top: 1px solid #e5e7eb;
}

.product-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.section-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.015) !important;
    margin: 1.5rem 0;
}

.policy-card-modern {
    height: 100%;
    border: 1px solid #f3f4f6;
    border-top: none;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.border-start-4 {
    border-left-width: 4px !important;
}

/* Breadcrumbs */
.breadcrumb-premium {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

/* Summary List Tighten */
.product-summary-premium ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.product-summary-premium li {
    padding: 0 !important;
    margin-bottom: 4px !important;
    position: relative;
    padding-left: 1.5rem !important;
    line-height: 1.4 !important;
}

.product-summary-premium li::before {
    content: "\F272";
    /* bi-check2-circle */
    font-family: Bootstrap-icons;
    position: absolute;
    left: 0;
    color: #0d9488;
    font-weight: 700;
}

/* Gold Header Bar Style */
.header-bar-gold {
    background-color: #fce8a6;
    border: 1px solid #e5e7eb;
    border-bottom: none;
    padding: 15px 15px;
    /* Increased height as requested */
    border-radius: 12px 12px 0 0;
    text-align: center;
    font-weight: 700;
    color: var(--text-heading) !important;
    font-size: 0.95rem;
    /* Smaller font as requested */
    font-family: var(--font-heading) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.card-content-bottom {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 12px 12px;
    padding: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-line-premium {
    font-size: 0.95rem;
    color: #4b5563;
    font-weight: 600;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 5px 10px;
    margin-bottom: 0px;
}

/* Custom Price & Title Refinements */
.price-red-small {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
    /* Bootstrap red */
    letter-spacing: -0.01em;
}

.price-red-small .price-currency {
    font-size: 0.9rem;
    color: #dc3545;
}

.title-center-small {
    font-size: 1.8rem !important;
    text-align: center;
    width: 100%;
    margin-bottom: 2rem !important;
}

.description-text-premium {
    line-height: 1.65 !important;
    color: var(--text-body) !important;
    text-align: left;
    /* Alignment fixed to left with better padding */
    word-spacing: 0.02em;
}

.description-text-premium h1,
.description-text-premium h2,
.description-text-premium h3,
.description-text-premium h4,
.description-text-premium h5,
.description-text-premium h6 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    color: var(--text-heading) !important;
    line-height: 1.4 !important;
}

.description-text-premium ul,
.description-text-premium ol {
    padding-left: 1.25rem !important;
    margin-bottom: 1rem !important;
}

.description-text-premium li {
    margin-bottom: 2px !important;
    padding: 0 !important;
    padding-left: 0.25rem !important;
}

/* Related Products Grid - Shopping Style */
.related-card-new {
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Slightly softer border */
    padding-bottom: 15px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    /* Even deeper shadow */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-card-new:hover {
    transform: translateY(-8px);
    /* Deeper lift */
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    /* Extreme hover shadow */
}

.related-img-box-new {
    background: #f9f9f9;
    /* Lighter background */
    height: 250px;
    padding: 20px;
    /* Set to exactly 20px as requested */
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-title-new {
    color: #3b5998;
    /* Example blue color from typical shopping sites */
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em;
    flex: 1;
}

.related-price-new {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
}

.btn-success-premium {
    background-color: #69d367;
    border-color: #69d367;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.btn-success-premium:hover {
    background-color: #5cb85c;
    border-color: #5cb85c;
    color: white;
}

/* Sync main product add to cart button */
.btn-add-cart {
    background-color: #69d367 !important;
    border-color: #69d367 !important;
    color: white !important;
}

.btn-add-cart:hover {
    background-color: #5cb85c !important;
    border-color: #5cb85c !important;
}