/* style.css - Premium Rainbow & White Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.75);
    --border-color: rgba(226, 232, 240, 0.8);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    /* Vibrant Premium Rainbow Accents */
    --rainbow-red: #ff3366;
    --rainbow-orange: #ff6633;
    --rainbow-yellow: #ffcc00;
    --rainbow-green: #33cc66;
    --rainbow-blue: #3399ff;
    --rainbow-indigo: #6633ff;
    --rainbow-violet: #cc33ff;
    
    --rainbow-gradient: linear-gradient(135deg, 
        var(--rainbow-red) 0%, 
        var(--rainbow-orange) 18%, 
        var(--rainbow-yellow) 36%, 
        var(--rainbow-green) 54%, 
        var(--rainbow-blue) 72%, 
        var(--rainbow-indigo) 90%, 
        var(--rainbow-violet) 100%
    );
    
    --rainbow-gradient-hover: linear-gradient(135deg, 
        var(--rainbow-violet) 0%, 
        var(--rainbow-indigo) 18%, 
        var(--rainbow-blue) 36%, 
        var(--rainbow-green) 54%, 
        var(--rainbow-yellow) 72%, 
        var(--rainbow-orange) 90%, 
        var(--rainbow-red) 100%
    );

    --rainbow-glow: 0 8px 32px rgba(99, 102, 241, 0.15);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    --glass-blur: blur(12px);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Typography & General Utilities */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.rainbow-text {
    background: var(--rainbow-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 0.5rem;
}

.btn-rainbow {
    background: var(--rainbow-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.btn-rainbow:hover {
    background: var(--rainbow-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.5);
}

.btn-white {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.btn-white:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    transition: var(--transition);
}

header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--rainbow-gradient);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
}

.logo svg {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon-wrapper {
    position: relative;
    cursor: pointer;
    background: var(--bg-secondary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.cart-icon-wrapper:hover {
    border-color: var(--rainbow-indigo);
    box-shadow: 0 0 10px rgba(102, 51, 255, 0.2);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--rainbow-red);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    padding: 120px 5% 60px 5%;
    background: radial-gradient(circle at 80% 20%, rgba(204, 51, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(51, 204, 102, 0.05) 0%, transparent 50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--rainbow-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
    animation: rotateGlow 20s linear infinite;
}

.hero-bag-preview {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
    animation: float 6s ease-in-out infinite;
}

/* Shop Section */
.shop-section {
    padding: 80px 5%;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--text-primary);
    color: #ffffff;
    border-color: var(--text-primary);
}

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

.product-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--card-shadow);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--rainbow-gradient);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rainbow-glow);
    border-color: rgba(99, 102, 241, 0.3);
}

.product-card:hover::before {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Beautiful SVG representations of bin bags */
.bag-illustration {
    width: 120px;
    height: 150px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    transition: var(--transition);
}

.product-card:hover .bag-illustration {
    transform: scale(1.1) rotate(2deg);
}

/* realistic product photos of UK bin bags */
.bag-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 16px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.08));
    transition: var(--transition);
}

.product-card:hover .bag-image {
    transform: scale(1.06) rotate(2deg);
}

.product-size {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.product-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Shopping Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-color);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: var(--transition);
}

.cart-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

.cart-item-price {
    font-weight: 700;
    margin-top: 0.25rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    border: 1px solid var(--border-color);
    background: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--text-primary);
    color: #ffffff;
}

.qty-val {
    font-weight: 600;
    width: 24px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: var(--rainbow-red);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
}

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

/* Contact / Support Section */
.contact-section {
    padding: 80px 5%;
    background: #ffffff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.info-cards {
    display: grid;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(102, 51, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rainbow-indigo);
    border: 1px solid rgba(102, 51, 255, 0.1);
}

.contact-form {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--rainbow-indigo);
    box-shadow: 0 0 10px rgba(102, 51, 255, 0.1);
}

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

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #0f172a;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 10000;
    transform: translateY(150%);
    transition: var(--transition);
}

.toast.show {
    transform: translateY(0);
}

/* Footer Section */
footer {
    background: var(--text-primary);
    color: #ffffff;
    padding: 60px 5% 30px 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 40px;
}

.footer-logo {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

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

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 30px;
    height: 2px;
    background: var(--rainbow-gradient);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Checkout Page Specific Styles */
.checkout-container {
    max-width: 1200px;
    margin: 120px auto 60px auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.checkout-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
}

.checkout-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--bg-secondary);
    padding-bottom: 1rem;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--bg-secondary);
    padding: 1rem 0;
}

.checkout-summary-item:last-child {
    border-bottom: none;
}

.checkout-paypal-container {
    margin-top: 2rem;
}

/* Admin Dashboard Specific Styles */
.admin-container {
    max-width: 1400px;
    margin: 100px auto 60px auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
}

.admin-sidebar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.5rem;
    height: fit-content;
    box-shadow: var(--card-shadow);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.admin-nav-item:hover, .admin-nav-item.active {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.admin-nav-item.active {
    background: var(--rainbow-gradient);
    color: #ffffff;
}

.admin-content {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    min-height: 500px;
}

.admin-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.stat-card-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.admin-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.admin-table th {
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.admin-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.paid, .status-badge.completed {
    background: rgba(51, 204, 102, 0.1);
    color: var(--rainbow-green);
}

.status-badge.pending {
    background: rgba(255, 204, 0, 0.1);
    color: #cca300;
}

.status-badge.shipped {
    background: rgba(51, 153, 255, 0.1);
    color: var(--rainbow-blue);
}

.status-badge.cancelled {
    background: rgba(255, 51, 102, 0.1);
    color: var(--rainbow-red);
}

.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.admin-modal.active {
    display: flex;
}

.admin-modal-content {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Success Page Specific Styles */
.success-container {
    max-width: 600px;
    margin: 150px auto 100px auto;
    text-align: center;
    padding: 0 5%;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(51, 204, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    color: var(--rainbow-green);
    border: 2px solid rgba(51, 204, 102, 0.2);
}

.success-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.success-container p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Responsive Breakpoints */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 100px;
        gap: 2rem;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-cta {
        justify-content: center;
    }
    .contact-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .checkout-container {
        grid-template-columns: 1fr;
    }
    .admin-container {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-image-wrapper {
        display: none;
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* UK Announcement Bar (Open for Sale) */
.announcement-bar {
    background: var(--rainbow-gradient);
    color: #ffffff;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001; /* Must sit above header and modals */
    letter-spacing: 0.05em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Apply announcement offset to layout components */
header {
    top: 36px !important;
}

.hero {
    padding-top: 156px !important; /* Offset for header 70px + announcement 36px + extra safety padding */
}

.admin-container {
    margin-top: 136px !important; /* Offset for admin view */
}

/* Product Specifications Meta Row */
.product-meta-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    background: rgba(241, 245, 249, 0.6);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.5);
    text-align: center;
}

.product-meta-specs div {
    display: flex;
    flex-direction: column;
}

.product-meta-specs strong {
    color: var(--text-primary);
    font-weight: 700;
    margin-top: 0.1rem;
}

