@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0F172A;
    /* Midnight Blue */
    --accent-color: #D4AF37;
    /* Elegant Gold */
    --bg-color: #FFFFFF;
    --section-bg: #F8FAFC;
    --border-color: #E2E8F0;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    padding-top: var(--header-height);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.store-header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--primary-color);
    flex-shrink: 0;
    text-transform: uppercase;
}

.search-bar {
    flex-grow: 1;
    max-width: 600px;
    position: relative;
}

.search-bar input {
    width: 100%;
    background: var(--section-bg);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    padding-left: 3rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-bar input:focus {
    outline: none;
    background: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.search-bar i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.action-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
}

.action-btn i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.action-btn:hover {
    background: var(--section-bg);
    color: var(--accent-color);
}

.action-btn:hover i {
    color: var(--accent-color);
}

.cart-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    position: relative;
    font-size: 0.9rem;
}

.cart-btn i {
    color: #fff;
}

.cart-count {
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Layout */
.main-wrapper {
    display: flex;
    min-height: calc(100vh - var(--header-height));
    width: 100%;
}

.sidebar {
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
    border-right: 1px solid var(--border-color);
    padding: 2.5rem 1.5rem;
    background: #fff;
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.02);
    z-index: 100;
    align-self: flex-start;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--header-height));
    background: #fff;
}

.content-container {
    flex-grow: 1;
    padding: 2.5rem;
}

/* Sidebar Nav */
.sidebar-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.sidebar-menu {
    list-style: none;
}

.menu-item {
    margin-bottom: 0.5rem;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    border-radius: 1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
    border: 1px solid transparent;
}

.menu-link i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.menu-link:hover,
.menu-link.active {
    background: var(--section-bg);
    color: var(--primary-color);
    border-color: var(--border-color);
}

.menu-link:hover i,
.menu-link.active i {
    color: var(--accent-color);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 1.5rem;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.hero-content {
    max-width: 50%;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94A3B8;
    margin-bottom: 2.5rem;
}

.hero-image {
    max-width: 40%;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* Department Section */
.department-section {
    margin-bottom: 4rem;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
}

.view-all {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.95rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

/* Product Card */
.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-img {
    width: 100%;
    aspect-ratio: 1;
    background: var(--section-bg);
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-info {
    flex-grow: 1;
}

.p-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    display: block;
}

.p-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: block;
}

.p-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cart-add-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-add-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.cart-add-btn.success {
    background: #10b981;
}

/* Mobile Toggle & Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    order: -1;
    /* Place before logo if needed */
}

.mobile-close-btn {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--section-bg);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 101;
    transition: var(--transition);
}

.mobile-close-btn:hover {
    background: var(--border-color);
    transform: rotate(90deg);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

/* Responsive */


/* Footer */
.store-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 5rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-brand .logo {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
}

.footer-brand p {
    color: #94A3B8;
    line-height: 1.8;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 0.5rem;
}

.footer-newsletter p {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: #fff;
    font-size: 0.9rem;
}

.newsletter-form button {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.footer-bottom {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748B;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.25rem;
    color: #94A3B8;
}

.social-links a:hover {
    color: var(--accent-color);
}



/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.modal-content {
    background: #fff;
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    border-radius: 2rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: auto;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--section-bg);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--border-color);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Premium Product Features */
.p-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    display: block;
}

/* Accords */
.p-accords-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}

.accords-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accord-item {
    width: 100%;
}

.accord-bar {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.accord-bar:hover {
    transform: translateX(10px);
}

/* Variant Grid */
.p-variants-section {
    margin-top: 2.5rem;
}

.variant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.variant-card {
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.25rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    background: #fff;
    text-align: center;
}

.variant-card:hover {
    border-color: var(--primary-color);
    background: var(--section-bg);
}

.variant-card.active {
    border-color: var(--primary-color);
    background: #F8FAFC;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
}

.bottle-icon {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.active .bottle-icon {
    color: var(--primary-color);
}

.v-size {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.v-price {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Concentration Guide */
.p-concentration-guide {
    margin-top: 3rem;
    background: var(--section-bg);
    padding: 2rem;
    border-radius: 1.5rem;
}

.concentration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.conc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0.5;
    transition: var(--transition);
}

.conc-item.active {
    opacity: 1;
    transform: scale(1.05);
}

.conc-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.conc-name {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.conc-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Refined Product Actions */
.p-actions-lg {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    align-items: stretch;
}

.p-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 0 1rem;
    background: #fff;
    gap: 1.5rem;
}

.p-qty-selector button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.p-qty-selector button:hover {
    color: var(--primary-color);
}

#page-qty {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
}

.add-to-cart-lg {
    flex-grow: 1;
    height: 60px;
    border-radius: 1rem;
    font-size: 1.1rem !important;
}

.wishlist-btn-lg {
    width: 60px;
    height: 60px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.wishlist-btn-lg:hover {
    border-color: #EF4444;
    color: #EF4444;
    background: #FEF2F2;
}

/* Polished Concentration Guide */
.p-concentration-guide {
    margin-top: 2.5rem;
    background: #F8FAFC;
    padding: 1.75rem;
    border-radius: 1.25rem;
    border: 1px solid #F1F5F9;
}

.concentration-grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.conc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.3;
    transition: var(--transition);
}

.conc-item.active {
    opacity: 1;
}

.conc-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.conc-icon {
    font-size: 1.25rem;
    margin-bottom: 0;
}

/* Perfection Tweaks */
.accord-bar {
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.variant-card {
    border-radius: 1.25rem;
    padding: 1.5rem 1rem;
}

.variant-card.active {
    border-width: 2px;
}

.p-tabs {
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.tab-headers {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    padding-bottom: 0.75rem;
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
    border-radius: 99px;
}

.tab-content p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Sticky Gallery and Layout Perfection */
.product-core-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    /* Crucial for sticky */
}

.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    height: fit-content;
}

/* Action Bar Fixes */
.p-actions-lg {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    width: 100%;
}

.p-qty-selector {
    flex: 0 0 150px;
    /* Fixed width for qty */
    height: 60px;
    justify-content: space-between;
}

.add-to-cart-lg {
    flex: 1;
    /* Take remaining space */
    height: 60px;
    white-space: nowrap;
    padding: 0 1.5rem;
    font-size: 1rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.wishlist-btn-lg {
    flex: 0 0 60px;
    /* Fixed width for heart */
    height: 60px;
}

/* Adjustments for mobile-like squeezing */

.btn-divider {
    width: 1px;
    height: 20px;
    background: rgba(15, 23, 42, 0.15);
    margin: 0 1rem;
}

/* Quick Add Badge at Top */
.p-quick-add-badge {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-left: auto;
}

.p-quick-add-badge:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--primary-color);
    color: var(--accent-color);
}

/* Success Feedback */
.success-btn {
    background: #10B981 !important;
    color: white !important;
    border-color: #10B981 !important;
}

/* Enhanced Add to Cart Hover */
.add-to-cart-lg:hover {
    background: var(--primary-color) !important;
    color: var(--accent-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

.add-to-cart-lg:active {
    transform: translateY(-1px);
}

.add-to-cart-lg:hover .btn-divider {
    background: rgba(212, 175, 55, 0.3);
}

/* Video Showcase */
.video-section {
    padding: 6rem 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.video-card {
    background: #fff;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-info {
    padding: 1.5rem;
    text-align: center;
    background: #fff;
}

.video-btn {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--transition);
}

.video-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.video-container {
    position: relative;
    padding-bottom: 177.77%;
    /* 9:16 Aspect Ratio for Shorts */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none; /* Make it feel like a native video background */
}

/* ==========================================================================
   Responsive Queries (Moved to bottom for reliable overrides)
   ========================================================================== */

/* USP Bar */
.usp-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    margin: 2rem 0 4rem;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.usp-item i {
    font-size: 2rem;
    color: var(--accent-color);
    background: var(--section-bg);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    transition: var(--transition);
}

.usp-item:hover i {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: var(--accent-color);
}

.usp-title {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
}

.usp-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer Trust */
.footer-trust {
    margin-top: 2rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    color: #94A3B8;
    margin-bottom: 1rem;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.secure-badge i {
    color: #10B981;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--section-bg);
    padding: 4rem 4rem;
    border-radius: 2rem;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--accent-color);
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.newsletter-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.newsletter-input-group {
    display: flex;
    gap: 0.75rem;
    background: #fff;
    padding: 0.5rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    max-width: 550px;
    margin: 0 auto;
}

.newsletter-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.newsletter-input:focus {
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-btn {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

@media (max-width: 1200px) {
    .product-core-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .p-actions-lg {
        flex-wrap: wrap;
    }

    .p-qty-selector {
        flex: 1 1 100%;
    }
}

@media (max-width: 1024px) {
    .mobile-toggle {
        display: block;
    }

    .sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        bottom: 0;
        width: 300px;
        z-index: 1000;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: block !important;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
        height: 100vh;
    }

    .sidebar.active {
        transform: translateX(300px);
    }

    .mobile-close-btn {
        display: flex;
    }

    .main-wrapper {
        display: block;
    }

    .content-container {
        padding: 1.5rem;
    }

    /* Hero Section Mobile */
    .hero-banner {
        flex-direction: column;
        padding: 2.5rem 1rem;
        text-align: center;
        gap: 2rem;
        border-radius: 1rem;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-image {
        display: block !important;
        max-width: 100%;
        margin: 0 auto;
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .usp-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {

    .container,
    .header-container,
    .footer-content-wrapper {
        padding: 0 1rem;
    }

    .store-footer {
        padding: 4rem 0 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 1.5rem;
    }

    .footer-brand,
    .footer-newsletter {
        grid-column: span 2;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-heading {
        margin-bottom: 1.25rem;
        font-size: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .search-bar {
        display: none;
    }

    .logo {
        font-size: 1rem;
        letter-spacing: -0.02em;
    }

    .action-text {
        display: none;
    }

    .action-btn {
        padding: 0.5rem;
        gap: 0;
    }

    .cart-btn {
        padding: 0.5rem 0.75rem;
    }

    /* Grid 3 Columns - Extremely compact for mobile */
    .product-grid, .product-grid.grid-cols-mobile-2, .product-grid.grid-cols-mobile-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

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

    .product-card {
        padding: 0.4rem;
        border-radius: 0.5rem;
    }
    
    .product-card .card-info {
        padding: 0.25rem !important;
        gap: 0.1rem !important;
    }

    .product-card .p-price {
        font-size: 0.85rem !important;
    }

    .product-card .p-name {
        font-size: 0.7rem !important;
        line-height: 0.9rem !important;
        height: 2.7rem !important; /* 3 lines max */
        margin-bottom: 0.25rem !important;
    }
    
    .product-card .p-meta {
        font-size: 0.6rem !important;
    }

    .product-action-wrapper .inline-add-btn {
        width: 28px !important;
        height: 28px !important;
    }
    
    .product-action-wrapper .qty-controller {
        width: 70px !important;
        height: 28px !important;
    }
    
    .product-action-wrapper .qty-btn-minus, 
    .product-action-wrapper .qty-btn-plus {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.7rem !important;
    }
    
    .product-action-wrapper .qty-value {
        font-size: 0.75rem !important;
    }

    .card-img {
        margin-bottom: 0.5rem;
    }

    .card-info {
        /* overridden above */
    }

    .cart-add-btn {
        width: 28px;
        height: 28px;
        bottom: 0.5rem;
        right: 0.5rem;
        font-size: 0.75rem;
    }

    .content-container {
        padding: 1rem;
    }

    .newsletter-section {
        padding: 3rem 1.5rem;
        margin: 2rem 0;
        border-radius: 1.5rem;
    }

    .newsletter-title {
        font-size: 2rem;
    }

    .newsletter-input-group {
        flex-direction: column;
        background: none;
        border: none;
        padding: 0;
        backdrop-filter: none;
    }

    .newsletter-input {
        background: #fff;
        border: 1px solid var(--border-color);
        border-radius: 9999px;
        margin-bottom: 0.75rem;
        padding: 0.85rem 1.5rem;
    }

    .newsletter-btn {
        width: 100%;
    }

    .usp-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2.5rem 0;
    }

    .usp-item i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .usp-title {
        font-size: 0.95rem;
    }

    .usp-desc {
        font-size: 0.75rem;
    }

    .video-section {
        padding: 4rem 0;
    }

    .video-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        margin-left: -1rem;
        margin-right: -1rem;
        padding: 0 1rem 1.5rem;
        scrollbar-width: none;
    }

    .video-grid::-webkit-scrollbar {
        display: none;
    }

    .video-card {
        flex: 0 0 75%;
        scroll-snap-align: center;
    }
}
/* Pagination Styles */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: var(--text-main);
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.page-link:hover {
    z-index: 2;
    color: var(--primary-color);
    background-color: var(--section-bg);
    border-color: var(--accent-color);
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.page-item.disabled .page-link {
    color: var(--text-muted);
    pointer-events: none;
    background-color: #fff;
    border-color: var(--border-color);
    opacity: 0.6;
}

.d-flex.justify-content-between.flex-fill.d-sm-none {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

@media (max-width: 768px) {
    .bundle-badge-container {
        font-size: 0.5rem !important;
        padding: 2px 5px !important;
        top: 6px !important;
        right: 6px !important;
    }
    
    .social-proof-tag {
        font-size: 0.5rem !important;
        padding: 2px 4px !important;
        bottom: 5px !important;
        left: 5px !important;
    }
}
