/* Purabi Pharma - Complete Stylesheet (Fixed)                  */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', sans-serif;
}

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --secondary: #1e40af;
    --secondary-dark: #1e3a8a;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --danger: #e11d48;
    --light: #f0fdf4;
    --white: #ffffff;
    --gray: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --shadow: 0 4px 15px rgba(16, 185, 129, 0.08);
    --shadow-lg: 0 10px 30px rgba(16, 185, 129, 0.15);
}

body {
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================ */
/* হেডার                                                        */
/* ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(16, 185, 129, 0.06);
}

.top-bar {
    background: linear-gradient(90deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-bar-content p {
    opacity: 0.95;
}

.top-bar-links {
    display: flex;
    gap: 20px;
}

.top-bar-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.top-bar-links a:hover {
    opacity: 1;
}

.main-header {
    padding: 12px 0;
    background: var(--white);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.navbar {
    display: flex;
    gap: 8px;
    flex-grow: 1;
    justify-content: center;
}

.navbar a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 10px;
    transition: all 0.3s;
    position: relative;
    font-size: 0.95rem;
}

.navbar a::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
    border-radius: 2px;
}

.navbar a:hover {
    color: var(--primary);
    background: rgba(16, 185, 129, 0.08);
}

.navbar a:hover::before,
.navbar a.active::before {
    width: 30px;
}

.navbar a.active {
    color: var(--primary);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px 4px 4px 16px;
    border: 2px solid transparent;
    transition: all 0.3s;
    min-width: 280px;
}

.search-box:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.search-icon {
    color: var(--gray);
    flex-shrink: 0;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    padding: 8px 10px;
    flex-grow: 1;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1e293b;
}

.search-box input::placeholder {
    color: #94a3b8;
}

.search-box button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 9px 18px;
    border-radius: 9px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-box button:hover {
    background: var(--primary-dark);
}

.icon-btn {
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1e293b;
    position: relative;
    transition: all 0.3s;
}

.icon-btn:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    font-family: inherit;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.cart-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.cart-info small {
    font-size: 0.7rem;
    opacity: 0.9;
    font-weight: 500;
}

.cart-count {
    font-size: 1rem;
    font-weight: 700;
}

.menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #1e293b;
}

/* ============================================================ */
/* হিরো সেকশন                                                    */
/* ============================================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
    padding: 70px 0 0;
    color: var(--white);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #fbbf24;
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: #3b82f6;
    bottom: -100px;
    right: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    padding-bottom: 60px;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #fbbf24;
    border-radius: 50%;
    position: relative;
    animation: pulse 1.5s infinite;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #fbbf24;
    animation: pulseRing 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

.hero h2 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(90deg, #fbbf24 0%, #fde047 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 35px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #1e293b;
    border: none;
    padding: 16px 36px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    max-width: fit-content;
}

.stat-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.stat-item p {
    font-size: 0.8rem;
    opacity: 0.85;
    margin: 0;
}

.stat-divider {
    width: 1px;
    height: 35px;
    background: rgba(255, 255, 255, 0.25);
}

/* হিরো ভিজুয়াল */
.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-main-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.circle-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
}

.hero-zoom-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: zoomInOut 4s ease-in-out infinite;
    display: block;
}

@keyframes zoomInOut {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.big-icon {
    font-size: 8rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* ডিসকাউন্ট ব্যাজ */
.discount-badge {
    position: absolute;
    top: calc(50% - 190px);
    right: calc(50% - 190px);
    background: linear-gradient(135deg, #e11d48, #f43f5e);
    color: var(--white);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.5);
    border: 3px solid var(--white);
    transform: rotate(-15deg);
    z-index: 3;
}

.discount-badge span {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.discount-badge small {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.95;
}

/* ফ্লোটিং কার্ড */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: #1e293b;
    z-index: 10;
    max-width: 200px;
}

.card-1 {
    top: 20px;
    left: 0;
    animation: floatCard 4s ease-in-out infinite;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 0;
    margin-top: -30px;
    animation: floatCard 4s ease-in-out infinite;
    animation-delay: 1s;
}

.card-3 {
    bottom: 30px;
    left: 30px;
    animation: floatCard 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.fc-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.fc-info p {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    color: #1e293b;
}

.fc-info span {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

/* ট্রাস্ট স্ট্রিপ */
.trust-strip {
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.trust-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.trust-item small {
    font-size: 0.75rem;
    opacity: 0.85;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================ */
/* সেকশন টাইটেল                                                  */
/* ============================================================ */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    color: #1e293b;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 40px;
    font-size: 1rem;
}

/* ============================================================ */
/* ক্যাটাগরি                                                      */
/* ============================================================ */
.categories {
    padding: 50px 0;
    background: var(--white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(-5deg);
}

.category-card h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ============================================================ */
/* পণ্য                                                          */
/* ============================================================ */
.products {
    padding: 70px 0;
    background: #f8fafc;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--border);
    padding: 10px 22px;
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s;
    color: #1e293b;
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--danger);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

.product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #1e293b;
    line-height: 1.4;
    min-height: 42px;
}

.product-rating {
    color: #fbbf24;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.product-rating span {
    color: var(--gray);
    margin-left: 4px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    margin-top: auto;
}

.price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.price-old {
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: line-through;
}

.add-to-cart {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 11px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.add-to-cart:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: translateY(-2px);
}

.add-to-cart:active {
    transform: scale(0.98);
}

.view-all-wrap {
    text-align: center;
    margin-top: 50px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    padding: 16px 45px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    transition: all 0.3s;
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6);
}

/* ============================================================ */
/* ফ্ল্যাশ সেল                                                    */
/* ============================================================ */
.flash-sale {
    padding: 70px 0;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.flash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.flash-title {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 10px;
}

.flash-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.flash-subtitle {
    color: var(--gray);
    font-size: 0.95rem;
}

.countdown {
    display: flex;
    gap: 10px;
}

.countdown-item {
    background: var(--white);
    border-radius: 12px;
    padding: 12px 16px;
    text-align: center;
    min-width: 70px;
    box-shadow: var(--shadow);
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.countdown-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.7rem;
    color: var(--gray);
    font-weight: 500;
}

.flash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.flash-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    padding: 18px;
    gap: 16px;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.flash-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.flash-image {
    position: relative;
    width: 90px;
    height: 90px;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.flash-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flash-discount {
    position: absolute;
    top: 6px;
    left: 6px;
    background: linear-gradient(135deg, var(--danger), #f43f5e);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
}

.flash-info {
    flex-grow: 1;
}

.flash-info h3 {
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 8px;
}

.flash-progress {
    width: 100%;
    height: 6px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}

.flash-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
}

.flash-stock {
    font-size: 0.72rem;
    color: var(--gray);
    margin-bottom: 8px;
}

.flash-stock strong {
    color: var(--danger);
}

.flash-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flash-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.flash-old {
    font-size: 0.8rem;
    color: var(--gray);
    text-decoration: line-through;
}

/* ============================================================ */
/* রিভিউ                                                         */
/* ============================================================ */
.reviews {
    padding: 70px 0;
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.review-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.review-card:hover {
    transform: translateY(-8px);
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.review-quote {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 5rem;
    color: rgba(16, 185, 129, 0.12);
    font-family: Georgia, serif;
    line-height: 1;
}

.review-rating {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.review-author-info h4 {
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 2px;
}

.review-author-info span {
    font-size: 0.78rem;
    color: var(--gray);
}

/* ============================================================ */
/* নিউজলেটার                                                     */
/* ============================================================ */
.newsletter {
    padding: 60px 0;
    background: #f8fafc;
}

.newsletter-box {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    border-radius: 25px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.25);
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-box::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--white);
}

.newsletter-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 550px;
    margin: 0 auto 25px;
    flex-wrap: wrap;
}

.newsletter-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 5px 5px 5px 18px;
    flex-grow: 1;
    min-width: 250px;
    transition: all 0.3s;
}

.newsletter-input-wrap:focus-within {
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.newsletter-input-icon {
    color: var(--gray);
    margin-right: 10px;
}

.newsletter-input-wrap input {
    border: none;
    background: transparent;
    outline: none;
    padding: 12px 0;
    flex-grow: 1;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1e293b;
}

.newsletter-input-wrap input::placeholder {
    color: #94a3b8;
}

.newsletter-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
    color: #1e293b !important;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
    white-space: nowrap;
    display: inline-block;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(245, 158, 11, 0.5);
}

.newsletter-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    opacity: 0.95;
}

/* ============================================================ */
/* কার্ট সাইডবার                                                 */
/* ============================================================ */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cart-header h2 {
    font-size: 1.2rem;
}

.close-cart {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    transition: transform 0.3s;
}

.close-cart:hover {
    transform: rotate(90deg);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-item-image {
    width: 70px;
    height: 70px;
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #1e293b;
}

.cart-item-price {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    background: #f1f5f9;
    border: 1px solid var(--border);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.qty-value {
    font-weight: 600;
    min-width: 25px;
    text-align: center;
    font-size: 0.9rem;
}

.remove-item {
    background: transparent;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 1.1rem;
    margin-left: auto;
    transition: transform 0.3s;
}

.remove-item:hover {
    transform: scale(1.2);
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    background: #f8fafc;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cart-total span:last-child {
    color: var(--primary-dark);
}

.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================================ */
/* মডাল                                                          */
/* ============================================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--danger);
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #1e293b;
    font-size: 1.4rem;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s;
    background: #f8fafc;
}

.modal-content input:focus,
.modal-content textarea:focus,
.modal-content select:focus {
    border-color: var(--primary);
    background: var(--white);
}

.modal-content textarea {
    resize: vertical;
    min-height: 80px;
}

/* ============================================================ */
/* ফুটার                                                         */
/* ============================================================ */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary-light);
    margin-bottom: 15px;
    font-size: 1.15rem;
}

.footer-col p {
    color: #cbd5e1;
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-col a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 10px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    padding-left: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ============================================================ */
/* টোস্ট                                                         */
/* ============================================================ */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    opacity: 0;
    transition: all 0.4s;
    z-index: 3000;
    font-size: 0.9rem;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ============================================================ */
/* প্রোডাক্ট ডিটেইলস পেজ (product.html)                          */
/* ============================================================ */
.breadcrumb-section {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb span {
    color: var(--gray);
}

.product-detail-section {
    padding: 50px 0;
    background: var(--white);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.product-gallery {
    position: sticky;
    top: 140px;
}

.main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #f1f5f9;
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.main-image:hover img {
    transform: scale(1.05);
}

.product-detail-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--danger);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

.thumbnail-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    background: #f8fafc;
}

.thumbnail:hover {
    border-color: var(--primary-light);
}

.thumbnail.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding: 10px 0;
}

.product-detail-category {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.product-detail-title {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.detail-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-rating span:first-child {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.rating-value {
    font-weight: 700;
    color: #1e293b;
}

.rating-separator {
    color: var(--border);
}

.review-count, .stock-status {
    font-size: 0.9rem;
    color: var(--gray);
}

.stock-status {
    color: var(--primary-dark);
    font-weight: 600;
}

.detail-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.detail-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.detail-old-price {
    font-size: 1.2rem;
    color: var(--gray);
    text-decoration: line-through;
}

.detail-discount {
    background: var(--danger);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.detail-description {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 25px;
}

.detail-info-box {
    background: #f0fdf4;
    border: 2px solid rgba(16, 185, 129, 0.15);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.detail-info-box h3 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.detail-info-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.detail-info-list li {
    font-size: 0.9rem;
    color: #475569;
}

.detail-info-list li strong {
    color: #1e293b;
    font-weight: 600;
}

.variant-section {
    margin-bottom: 25px;
}

.variant-label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.variant-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.variant-btn {
    background: var(--white);
    border: 2px solid var(--border);
    padding: 8px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.3s;
}

.variant-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.variant-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.quantity-cart-row {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.quantity-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    height: 50px;
}

.qty-control {
    width: 45px;
    height: 100%;
    background: transparent;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #1e293b;
    transition: all 0.3s;
    font-weight: 600;
}

.qty-control:hover {
    background: var(--primary);
    color: var(--white);
}

.quantity-box input {
    width: 60px;
    height: 100%;
    text-align: center;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    background: transparent;
}

.btn-add-to-cart-detail {
    flex-grow: 1;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 14px 25px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
    height: 50px;
    white-space: nowrap;
}

.btn-add-to-cart-detail:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-wishlist-detail {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-wishlist-detail:hover {
    border-color: var(--danger);
    background: rgba(225, 29, 72, 0.05);
    transform: scale(1.05);
}

.btn-buy-now {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%);
    color: #1e293b;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(245, 158, 11, 0.5);
}

.delivery-info {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.delivery-icon {
    width: 45px;
    height: 45px;
    background: #f0fdf4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.delivery-item strong {
    display: block;
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.delivery-item small {
    color: var(--gray);
    font-size: 0.8rem;
}

.product-tabs-section {
    padding: 60px 0;
    background: #f8fafc;
}

.tabs-header {
    display: flex;
    gap: 5px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 15px 25px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    white-space: nowrap;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s;
    border-radius: 3px 3px 0 0;
}

.tab-btn:hover, .tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-content {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-pane h3 {
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.tab-pane h4 {
    color: #1e293b;
    font-size: 1.05rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.tab-pane p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 15px;
}

.tab-pane ul {
    list-style: none;
    padding-left: 0;
}

.tab-pane ul li {
    padding: 8px 0;
    color: #475569;
    line-height: 1.7;
}

.warning-box {
    background: #fef3c7;
    border-left: 4px solid var(--accent);
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    color: #78350f;
    font-size: 0.95rem;
    line-height: 1.7;
}

.reviews-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.summary-rating {
    text-align: center;
}

.big-rating {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.summary-rating .stars {
    color: #fbbf24;
    font-size: 1.3rem;
    letter-spacing: 3px;
    margin: 10px 0;
}

.total-reviews {
    color: var(--gray);
    font-size: 0.9rem;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar-row {
    display: grid;
    grid-template-columns: 40px 1fr 50px;
    gap: 10px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gray);
}

.rating-bar {
    height: 8px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar div {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #fbbf24);
    border-radius: 10px;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item-detail {
    background: #f8fafc;
    border-radius: 15px;
    padding: 20px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar-detail {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.review-header h4 {
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 3px;
}

.review-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.review-date {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--gray);
}

.review-item-detail p {
    color: #475569;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.related-products-section {
    padding: 70px 0;
    background: var(--white);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* ============================================================ */
/* পেজ হিরো (শপ/ক্যাটাগরি/সম্পর্কে/যোগাযোগ)                     */
/* ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.page-hero p {
    font-size: 1.05rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* ============================================================ */
/* শপ পেজ                                                       */
/* ============================================================ */
.shop-section {
    padding: 60px 0;
    background: #f8fafc;
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: flex-start;
}

.shop-sidebar {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 140px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h3 {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.filter-group .filter-btn {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    color: #475569;
    transition: all 0.3s;
    margin-bottom: 5px;
}

.filter-group .filter-btn:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.filter-group .filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
    gap: 15px;
}

.shop-toolbar p {
    color: var(--gray);
    font-size: 0.9rem;
}

.shop-toolbar strong {
    color: var(--primary);
}

/* ============================================================ */
/* ক্যাটাগরি পেজ                                                  */
/* ============================================================ */
.categories-page {
    padding: 60px 0;
    background: #f8fafc;
}

/* ============================================================ */
/* সম্পর্কে পেজ                                                   */
/* ============================================================ */
.about-section {
    padding: 70px 0;
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 15px;
    margin-top: 30px;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.about-feature {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.about-feature:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.af-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.about-feature h3 {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 8px;
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* ============================================================ */
/* যোগাযোগ পেজ                                                  */
/* ============================================================ */
.contact-section {
    padding: 70px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: flex-start;
}

.contact-item {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.contact-item:hover {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: var(--shadow);
}

.ci-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-item h3 {
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
    word-break: break-word;
}

.contact-form-wrap {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
    background: var(--white);
    color: #1e293b;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================================ */
/* রেসপন্সিভ                                                     */
/* ============================================================ */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        margin: 0 auto;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-main-circle {
        width: 260px;
        height: 260px;
    }

    .big-icon {
        font-size: 6rem;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 20px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s;
        z-index: 999;
        justify-content: flex-start;
        gap: 5px;
    }

    .navbar.open {
        left: 0;
    }

    .navbar a {
        width: 100%;
        padding: 12px 15px;
    }

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-gallery {
        position: static;
    }

    .main-image {
        max-width: 500px;
        margin: 0 auto 15px;
    }

    .thumbnail-list {
        max-width: 500px;
        margin: 0 auto;
    }

    .product-detail-title {
        font-size: 1.6rem;
    }

    .detail-price {
        font-size: 1.8rem;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }

    .filter-group .filter-btn {
        display: inline-block;
        width: auto;
        margin: 3px;
        padding: 8px 15px;
        border-radius: 20px;
        background: #f1f5f9;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
        font-size: 0.78rem;
    }

    .top-bar-links {
        display: none;
    }

    .search-box {
        display: none;
    }

    .icon-btn {
        display: none;
    }

    .cart-info small {
        display: none;
    }

    .logo-img {
        height: 50px;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-visual {
        height: 340px;
    }

    .hero-main-circle {
        width: 220px;
        height: 220px;
    }

    .hero-zoom-image {
        width: 100%;
        height: 100%;
    }

    .big-icon {
        font-size: 4.5rem;
    }

    .discount-badge {
        width: 65px;
        height: 65px;
        top: calc(50% - 140px);
        right: calc(50% - 140px);
    }

    .discount-badge span {
        font-size: 1rem;
    }

    .discount-badge small {
        font-size: 0.6rem;
    }

    .floating-card {
        padding: 8px 12px;
        gap: 8px;
        max-width: 160px;
    }

    .fc-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .fc-info p {
        font-size: 0.72rem;
    }

    .fc-info span {
        font-size: 0.65rem;
    }

    .card-1 { top: 5px; left: 0; }
    .card-2 { top: 50%; right: 0; margin-top: -25px; }
    .card-3 { bottom: 5px; left: 15px; }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 18px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item h3 {
        font-size: 1.2rem;
    }

    .trust-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .trust-item {
        padding: 10px 14px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        border-left: 3px solid rgba(255, 255, 255, 0.4);
    }

    .trust-icon {
        font-size: 1.5rem;
    }

    .trust-item strong {
        font-size: 0.88rem;
    }

    .trust-item small {
        font-size: 0.7rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card {
        padding: 20px 12px;
    }

    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .category-card h3 {
        font-size: 0.9rem;
    }

    .category-card p {
        font-size: 0.72rem;
    }

    .flash-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-box {
        padding: 50px 30px;
    }

    .reviews-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-info-list {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .tab-content {
        padding: 20px;
    }

    .quantity-cart-row {
        flex-direction: column;
    }

    .quantity-box {
        width: 100%;
        justify-content: center;
    }

    .quantity-box input {
        flex-grow: 1;
    }

    .btn-add-to-cart-detail,
    .btn-wishlist-detail {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 1.6rem;
    }

    .nav-wrapper {
        gap: 10px;
    }

    .logo-img {
        height: 44px;
    }

    .cart-btn {
        padding: 8px 14px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .product-image {
        height: 160px;
    }

    .product-title {
        font-size: 0.9rem;
        min-height: 38px;
    }

    .price-current {
        font-size: 1.05rem;
    }

    .flash-title {
        font-size: 1.5rem;
    }

    .countdown {
        gap: 6px;
    }

    .countdown-item {
        min-width: 55px;
        padding: 8px 10px;
    }

    .countdown-num {
        font-size: 1.2rem;
    }

    .flash-card {
        flex-direction: column;
        text-align: center;
    }

    .flash-image {
        width: 100%;
        height: 140px;
    }

    .newsletter-content h2 {
        font-size: 1.4rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 25px;
    }
}

@media (max-width: 500px) {
    .hero {
        padding: 40px 0 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 14px;
    }

    .hero-visual {
        height: 280px;
    }

    .hero-main-circle {
        width: 180px;
        height: 180px;
    }

    .hero-zoom-image {
        width: 100%;
        height: 100%;
    }

    .discount-badge {
        width: 55px;
        height: 55px;
        top: calc(50% - 115px);
        right: calc(50% - 115px);
        border-width: 2px;
    }

    .discount-badge span {
        font-size: 0.85rem;
    }

    .discount-badge small {
        font-size: 0.55rem;
    }

    .floating-card {
        padding: 6px 10px;
        gap: 6px;
        max-width: 140px;
        border-radius: 12px;
    }

    .fc-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .fc-info p {
        font-size: 0.65rem;
    }

    .fc-info span {
        font-size: 0.58rem;
    }

    .card-1 { top: 5px; left: 0; }
    .card-2 { top: 50%; right: 0; margin-top: -20px; }
    .card-3 { bottom: 5px; left: 10px; }

    .newsletter-box {
        padding: 40px 20px;
        border-radius: 15px;
    }

    .reviews-grid, .flash-grid {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card {
        padding: 15px 8px;
        border-radius: 12px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .category-card h3 {
        font-size: 0.8rem;
    }

    .category-card p {
        font-size: 0.65rem;
    }

    .product-detail-title {
        font-size: 1.35rem;
    }

    .detail-price {
        font-size: 1.6rem;
    }

    .detail-old-price {
        font-size: 1rem;
    }

    .thumbnail-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .big-rating {
        font-size: 2.8rem;
    }

    .rating-bar-row {
        grid-template-columns: 30px 1fr 40px;
        font-size: 0.75rem;
    }

    .related-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .main-image {
        max-width: 100%;
        border-radius: 12px;
    }

    .product-detail-badge {
        top: 10px;
        right: 10px;
        padding: 5px 12px;
        font-size: 0.7rem;
    }
}