@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Global Styles */
:root {
    --primary-blue: #00264d;
    --primary-gradient: linear-gradient(135deg, #00264d 0%, #004080 100%);
    --accent-gold: #D4AF37;
    --accent-yellow: #ffcc00;
    --accent-red: #cc0000;
    --accent-teal: #008080;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.1);
    --font-heading: 'Outfit', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 25px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    background-color: var(--white);
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 38, 77, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 38, 77, 0.4);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-teal);
    color: var(--accent-teal);
}

.btn-outline:hover {
    background: var(--accent-teal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85em;
    background-color: var(--text-dark);
    color: var(--white);
}

/* Top Bar (Petstock Style) */
.top-bar {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85em;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-links a,
.user-actions a {
    margin-right: 20px;
    opacity: 0.8;
}

.top-links a:hover,
.user-actions a:hover {
    opacity: 1;
    color: var(--accent-yellow);
}

/* Main Header (Petbarn Style Hybrid) */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
}

.logo {
    font-size: 2em;
    font-weight: bold;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
}

.logo-icon {
    color: var(--accent-yellow);
    /* Fun pop of color */
    margin-right: 10px;
}

.logo span {
    color: var(--accent-teal);
}

.search-bar {
    flex: 1;
    margin: 0 40px;
    position: relative;
    max-width: 500px;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1em;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: var(--accent-yellow);
    /* Yellow search button like Petbarn */
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--primary-blue);
    z-index: 10;
}

.search-results-panel {
    position: absolute;
    top: 100%;
    left: 10px;
    right: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
    z-index: 999;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    border: 1px solid #eee;
}

.search-result-item {
    display: flex;
    padding: 12px 20px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f9f9f9;
}

.search-result-item:last-child {
    border-bottom: none;
}

.result-info {
    display: flex;
    flex-direction: column;
}

.result-title {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.95em;
    margin-bottom: 2px;
}

.result-cat {
    font-size: 0.8em;
    color: var(--text-light);
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #999;
    font-style: italic;
}

.cart-action {
    display: flex;
    align-items: center;
    position: relative;
}

.cart-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-blue);
    font-weight: 700;
    transition: transform 0.3s;
}

.cart-btn:hover {
    transform: scale(1.05);
}

.cart-btn i {
    font-size: 1.6em;
    margin-bottom: 3px;
    color: var(--primary-blue);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: 8px;
    background-color: var(--accent-red);
    color: var(--white);
    font-size: 0.75em;
    padding: 3px 7px;
    border-radius: 50%;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(204, 0, 0, 0.3);
}

/* Micro-animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Category Nav (Petbarn yellow/colorful nav simulation but cleaner) */
.category-nav {
    border-top: 1px solid #eee;
}

.category-nav ul {
    display: flex;
    justify-content: center;
    /* Centered like Petstock */
    gap: 30px;
    padding: 10px 0;
}

.category-nav a {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-blue);
    padding: 10px 15px;
    border-radius: 20px;
}

.category-nav a i {
    margin-right: 8px;
    font-size: 1.1em;
}

.category-nav a:hover {
    background-color: var(--light-bg);
    color: var(--accent-teal);
}

.category-nav .active a {
    background-color: var(--primary-blue);
    color: var(--white);
}

.category-nav .sale-link a {
    color: var(--accent-red);
}

/* Hero Section (Petstock Style - Emotive) */
.hero-section {
    background: var(--primary-gradient);
    height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1450778869180-41d0601e046e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-decoration i {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 100px;
    bottom: -50px;
    right: -50px;
}

/* Benefit Strip (Petbarn Style) */
.benefit-strip {
    background-color: var(--light-bg);
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.benefit-item i {
    font-size: 2em;
    color: var(--accent-teal);
    margin-right: 15px;
}

.benefit-item strong {
    display: block;
    color: var(--primary-blue);
}

.benefit-item p {
    font-size: 0.85em;
    color: var(--text-light);
}

/* Promo Banners */
.promo-banners {
    margin-top: 40px;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.promo-card {
    height: 240px;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s;
}

.promo-card:hover {
    transform: scale(1.02);
}

.dog-promo {
    background-image: linear-gradient(to right, rgba(255, 204, 0, 0.9), rgba(255, 204, 0, 0.2)), url('https://images.unsplash.com/photo-1534361960057-19889db9621e?ixlib=rb-1.2.1&auto=format&fit=crop');
}

.cat-promo {
    background-image: linear-gradient(to right, rgba(0, 128, 128, 0.9), rgba(0, 128, 128, 0.2)), url('https://images.unsplash.com/photo-1514888286974-6c03e2ca1dba?ixlib=rb-1.2.1&auto=format&fit=crop');
    color: var(--white);
}

.dog-promo .promo-text {
    color: var(--primary-blue);
}

.promo-text h3 {
    font-size: 1.8em;
    margin-bottom: 5px;
}

.promo-text p {
    font-size: 1.1em;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Products Section (Integration Point) */
.products-section {
    padding: 60px 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2em;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 i {
    color: var(--accent-red);
}

.view-all {
    color: var(--accent-teal);
    font-weight: bold;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.product-card {
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--white);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
}

.product-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-8px);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    z-index: 10;
}

.product-badge.sale {
    background-color: var(--accent-red);
    color: var(--white);
}

.product-image {
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category {
    font-size: 0.8em;
    color: var(--text-light);
    margin-bottom: 5px;
}

.product-info h4 {
    font-size: 1em;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
    flex: 1;
}

.rating {
    color: #ffc107;
    font-size: 0.8em;
    margin-bottom: 10px;
}

.rating span {
    color: var(--text-light);
    margin-left: 5px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--accent-red);
}

.old-price {
    text-decoration: line-through;
    color: #ccc;
    font-size: 0.9em;
    margin-left: 10px;
}

.add-cart {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.add-cart:hover {
    background-color: var(--accent-teal);
}

/* Brand Story (Petstock Style) */
.brand-story {
    background-color: var(--light-bg);
    padding: 60px 20px;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.fake-video-player {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.fake-video-player img {
    width: 100%;
    display: block;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--accent-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(204, 0, 0, 0.5);
}

.story-text h2 {
    font-size: 2.5em;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.story-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.story-cards {
    display: flex;
    gap: 20px;
}

.story-cards .card {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 150px;
}

.story-cards img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-white {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* News Section */
.news-section {
    padding: 60px 20px;
}

.news-section h2 {
    margin-bottom: 40px;
    color: var(--primary-blue);
    text-align: center;
    font-size: 2em;
    position: relative;
}

.news-section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-teal);
    margin: 10px auto 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-content h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.news-content p {
    font-size: 0.9em;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-content a {
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 0.9em;
}

/* Footer (Premium Dark Mode) */
.main-footer {
    background: #111827;
    /* Very dark navy/charcoal */
    color: var(--white);
    padding: 80px 0 0;
    font-family: var(--font-body);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-column h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background: var(--accent-yellow);
}

.footer-brand .logo {
    margin-bottom: 25px;
}

.footer-brand .slogan {
    font-size: 1em;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 25px;
}

.contact-info-footer p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
    margin-bottom: 15px;
    font-size: 0.95em;
    transition: color 0.3s;
}

.contact-info-footer p i {
    color: var(--accent-yellow);
    width: 20px;
}

.contact-info-footer p:hover {
    color: var(--white);
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-list a:hover {
    color: var(--accent-yellow);
    transform: translateX(5px);
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--white);
}

.newsletter-text p {
    color: #9ca3af;
    font-size: 0.95em;
}

.newsletter-form {
    flex: 1;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--accent-yellow);
}

.newsletter-form button {
    background: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 0 30px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    background: #0f172a;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9em;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #9ca3af;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent-yellow);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-newsletter {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}


/* Page Header Generic Style */
/* Internal Page Header & Typography Extension */
.page-header {
    background-color: var(--primary-blue);
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 40px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 38, 77, 0.85), rgba(0, 38, 77, 0.6));
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5em;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9em;
    opacity: 0.8;
}

.breadcrumb a:hover {
    color: var(--accent-yellow);
    opacity: 1;
}

/* Premium Content Structure */
.pro-article {
    line-height: 1.8;
    color: #444;
    font-size: 1.1em;
}

.pro-article h2 {
    font-family: var(--font-heading);
    font-size: 2em;
    color: var(--primary-blue);
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.pro-article h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

.pro-article p {
    margin-bottom: 25px;
}

.quote-box {
    background: #f0f7ff;
    border-left: 5px solid var(--primary-blue);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--primary-blue);
    font-size: 1.1em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-teal);
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5em;
    color: var(--accent-teal);
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.info-sidebar {
    background: #fdfdfd;
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px dashed #ccc;
}

.sidebar-title {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
}

.page-content {
    padding-bottom: 80px;
}

/* Product Detail Page Styles */
.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-wrapper {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
}

.main-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid #eee;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--accent-teal);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info-panel h1 {
    font-size: 2em;
    color: var(--primary-blue);
    margin: 15px 0;
}

/* Informational Grid / Zone Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-teal);
}

/* Ecosystem & Partners (Extracted from partners.html) */
.ecosystem-grid {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, #1e2a38 0%, #1565c0 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
    border-radius: var(--radius-md);
    margin: 60px 0;
    box-shadow: var(--shadow-medium);
}

.eco-item i {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--accent-yellow);
    display: block;
}

.eco-item h4 {
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 5px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.partner-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-blue);
}

.partner-card.retailer::before {
    background: var(--accent-teal);
}

.partner-quote {
    margin-top: 20px;
    font-style: italic;
    color: #666;
    padding-left: 20px;
    border-left: 2px solid #eee;
}

.info-card h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-card .card-value {
    font-size: 1.8em;
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: 15px;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card ul li {
    padding: 8px 0;
    color: #666;
    font-size: 0.95em;
    display: flex;
    gap: 10px;
}

.info-card ul li::before {
    content: '→';
    color: var(--accent-teal);
    font-weight: bold;
}

.info-box {
    background: #f8f9fa;
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
    margin: 40px 0;
}

.category-tag {
    background: var(--light-bg);
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
}

.price-box {
    margin: 25px 0;
    padding: 20px;
    background: #fff9e6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-box .price {
    font-size: 1.8em;
    color: var(--accent-red);
    font-weight: bold;
}

.stock-status {
    color: #2e7d32;
    font-weight: bold;
    margin-bottom: 25px;
    font-size: 0.9em;
}

.stock-status i {
    margin-right: 5px;
}

.btn-buy {
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 30px;
}

.btn-buy:hover {
    background: var(--accent-teal);
}

.wholesale-notice {
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.wholesale-notice h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.wholesale-notice ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-light);
    font-size: 0.9em;
}

.wholesale-notice li {
    margin-bottom: 8px;
}

.tabs {
    display: flex;
    border-bottom: 2px solid #eee;
}

.tab {
    padding: 15px 30px;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab.active {
    border-bottom-color: var(--primary-blue);
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .product-main {
        grid-template-columns: 1fr;
    }
}

/* --- Cart & Procurement & Checkout Styles --- */
.cart-header-section {
    padding: 60px 0 40px;
    background: #fdfdfd;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: 30px;
    position: relative;
}

.checkout-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 2px;
    background: #eee;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #999;
}

.step.active {
    color: var(--primary-blue);
    font-weight: 700;
}

.step i {
    width: 32px;
    height: 32px;
    background: white;
    border: 2px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    transition: var(--transition);
}

.step.active i {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: 0 0 0 5px rgba(21, 101, 192, 0.1);
}

.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    margin-bottom: 80px;
    align-items: start;
}

/* FAQ Styles */
.faq-section {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-group {
    margin-bottom: 50px;
}

.faq-group h3 {
    margin-bottom: 25px;
    color: var(--primary-blue);
    font-size: 1.5em;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: white;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-blue);
}

.faq-question:hover {
    background: #fdfdfd;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: #666;
    line-height: 1.6;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Policy Page Styles */
.policy-container {
    max-width: 900px;
    margin: 60px auto;
}

.policy-section {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
    margin-bottom: 40px;
    box-shadow: var(--shadow-soft);
}

.policy-section h2 {
    color: var(--primary-blue);
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-size: 1.8em;
}

.policy-content h3 {
    color: var(--text-dark);
    margin: 25px 0 15px;
    font-size: 1.25em;
}

.policy-list {
    list-style: disc;
    padding-left: 20px;
    color: #555;
    line-height: 1.8;
    margin: 15px 0;
}

.policy-list li {
    margin-bottom: 10px;
}

.alert-box {
    background: #fff3cd;
    color: #856404;
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid #ffeeba;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95em;
}

/* Brands Page Styles */
.brand-filter {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid #eee;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9em;
    font-weight: 600;
    color: #555;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.brand-grid-all {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.brand-item-box {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}

.brand-item-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    opacity: 0;
    transition: 0.3s;
    z-index: 0;
}

.brand-item-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #eee;
}

.brand-logo-circle {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    background: white;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    position: relative;
    z-index: 1;
    transition: 0.3s;
    font-family: 'Arial Black', sans-serif;
    font-size: 1.5em;
    color: var(--primary-blue);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.03);
}

.brand-item-box:hover .brand-logo-circle {
    transform: scale(1.05);
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.brand-item-box h4 {
    color: #1a1a1a;
    font-size: 1.4em;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.brand-item-box p {
    font-size: 0.9em;
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.brand-tag-small {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f4f8;
    color: #5d6d7e;
    border-radius: 12px;
    font-size: 0.75em;
    margin-top: 15px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* Legal Pages (Terms, Privacy) */
.legal-container {
    max-width: 900px;
    margin: 60px auto;
    background: white;
    padding: 50px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
}

.legal-header {
    text-align: center;
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.legal-header h2 {
    color: var(--primary-blue);
    font-size: 2em;
    margin-bottom: 10px;
}

.legal-date {
    font-size: 0.9em;
    color: #888;
}

.important-note {
    background: #eef2ff;
    border-left: 5px solid var(--primary-blue);
    padding: 20px;
    margin-bottom: 40px;
    color: #333;
    font-size: 0.95em;
    border-radius: 4px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.legal-section h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 24px;
    background: var(--primary-blue);
    margin-right: 15px;
    border-radius: 3px;
}

.legal-content p,
.legal-content li {
    line-height: 1.8;
    /* Improve readability */
    color: #555;
    margin-bottom: 15px;
}

.legal-list {
    list-style: none;
    /* Reset default list style */
    padding-left: 0;
}

.legal-list li {
    padding-left: 20px;
    position: relative;
}

.legal-list li::before {
    content: '•';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.contact-box {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.contact-box h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contact-box p {
    margin-bottom: 8px;
    font-size: 0.95em;
}

/* Catalog Page Styles */
.catalog-container {
    max-width: 1200px;
    margin: 60px auto;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 992px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
}

.catalog-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    display: block;
    text-decoration: none;
}

.catalog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.item-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.item-info {
    padding: 25px;
    text-align: center;
}

.item-info h4 {
    font-size: 1.4em;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.item-info p {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 20px;
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 38, 77, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.catalog-item:hover .item-overlay {
    opacity: 1;
}

.brand-cloud {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 80px;
}

.brand-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.brand-tag {
    background: white;
    padding: 12px 25px;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    font-weight: bold;
    color: #555;
    border: 1px solid #eee;
}

/* Clearance Page Styles */
.clearance-alert {
    background: #fee7e6;
    color: #b71c1c;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #fecaca;
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: bold;
    margin: 40px 0;
}

.clearance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .clearance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .clearance-grid {
        grid-template-columns: 1fr;
    }
}

.clearance-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    padding: 15px;
}

.clearance-card:hover {
    border-color: var(--accent-red);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.1);
}

.discount-sticker {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-red);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-15deg);
    font-weight: bold;
    z-index: 2;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.expiry-info {
    font-size: 0.8em;
    color: #e67e22;
    font-weight: bold;
    margin-top: 5px;
}

.b2b-opportunity {
    background: #333;
    color: white;
    padding: 60px 0;
    margin: 60px 0;
    border-radius: 15px;
}

.b2b-opportunity h2 {
    color: var(--accent-yellow);
    margin-bottom: 25px;
}

/* New Arrivals Styles */
.new-header {
    background: #f0f4f8;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    border-left: 10px solid var(--accent-teal);
}

.new-header h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.brand-spotlight {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

.spotlight-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.spotlight-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.spotlight-text {
    flex: 1.5;
}

.spotlight-text h3 {
    color: var(--accent-teal);
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .spotlight-content {
        flex-direction: column;
    }
}

/* Wholesale Deals Styles */
.deals-intro {
    background: #fffde7;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    border: 2px solid #fff59d;
}

.deals-intro h2 {
    color: #f9a825;
    margin-bottom: 20px;
}

.tier-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tier-table th,
.tier-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.tier-table th {
    background: var(--primary-blue);
    color: white;
}

.deal-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    padding: 20px;
    text-align: center;
    position: relative;
}

.deal-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.savings-badge {
    background: var(--accent-red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8em;
}

/* Cart Styles */
.moq-banner {
    background: #e3f2fd;
    color: var(--primary-blue);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 5px solid var(--primary-blue);
}

.cart-container {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cart-table th {
    background: #f8f9fa;
    color: #555;
    font-weight: 600;
}

.cart-item-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-product img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
}

.cart-item-info h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1em;
}

.cart-item-info p {
    color: #888;
    font-size: 0.85em;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: fit-content;
}

.qty-control button {
    background: none;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
}

.qty-control input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 5px 0;
}

.remove-item {
    background: none;
    border: none;
    color: #bbb;
    cursor: pointer;
    transition: color 0.2s;
}

.remove-item:hover {
    color: var(--accent-red);
}

.summary-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 100px;
}

.summary-card h3 {
    margin-bottom: 25px;
    color: var(--text-dark);
}

.summary-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
}

.summary-divider {
    height: 1px;
    background: #eee;
    margin: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25em;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

.support-box {
    margin-top: 30px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
}

/* Contact & About Page Styles */
.contact-grid-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .contact-grid-row {
        grid-template-columns: 1fr;
    }
}

.contact-info-panel h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.contact-card-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
}

.contact-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.contact-card h3 {
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-panel .info-box {
    margin: 0;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-grid {
    display: grid;
    gap: 20px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-input,
.form-select,
.form-textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    font-family: inherit;
}

.form-textarea {
    height: 150px;
    resize: vertical;
}

/* About Page Specifics */
.about-grid-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-grid-row {
        grid-template-columns: 1fr;
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5em;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.info-sidebar {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-blue);
}

.sidebar-title {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Home Page Specifics */
.hero-title {
    font-size: 4em;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.4em;
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-btn-primary {
    padding: 18px 45px;
    font-size: 1.1em;
}

.hero-btn-outline {
    border-color: white;
    color: white;
    padding: 18px 45px;
    font-size: 1.1em;
}

.hero-btn-outline:hover {
    background: white;
    color: var(--primary-blue);
}

.story-subtitle {
    font-size: 1.1em;
}

/* Authentication Pages (Login/Register) */
.auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f7f9;
    padding: 40px 0;
}

.auth-card {
    background: white;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.auth-header {
    background: var(--primary-blue);
    padding: 40px;
    text-align: center;
    color: white;
}

.auth-header h2 {
    margin-bottom: 10px;
    font-size: 1.8em;
    color: white;
}

.auth-form {
    padding: 40px;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9em;
    color: #777;
}

.auth-footer a {
    color: var(--primary-blue);
    font-weight: bold;
}

.btn-auth {
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-auth:hover {
    background: #004d99;
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
    font-size: 0.9em;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1em;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-blue);
    outline: none;
}

/* Register Page Specifics */
.register-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    overflow: hidden;
}

.reg-header {
    background: #f8f9fa;
    border-bottom: 2px solid var(--accent-teal);
    padding: 40px;
    text-align: center;
}

.reg-header h2 {
    color: var(--primary-blue);
    font-size: 1.8em;
    margin-bottom: 10px;
}

.reg-content {
    padding: 50px;
}

.form-section {
    margin-bottom: 40px;
}

.form-section h4 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 25px;
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.full-width {
    grid-column: 1 / -1;
}

.agreement-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    font-size: 0.85em;
    color: #777;
    margin-bottom: 30px;
}

.btn-reg {
    width: 100%;
    padding: 18px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-reg:hover {
    background: #004d99;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Partners Page */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 60px 0;
    text-align: center;
    background: var(--primary-blue);
    padding: 40px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.2);
}

@media (max-width: 768px) {
    .ecosystem-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.eco-item i {
    font-size: 2.5em;
    margin-bottom: 15px;
    opacity: 0.8;
}

.eco-item h4 {
    font-size: 2em;
    margin-bottom: 5px;
    color: var(--accent-yellow);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: 1fr;
    }
}

.partner-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-blue);
}

.partner-card.retailer::before {
    background: var(--accent-teal);
}

.partner-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.partner-quote {
    margin-top: 15px;
    font-style: italic;
    color: #888;
    font-size: 0.9em;
    text-align: right;
}

/* Warehouse Page */
.warehouse-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

@media (max-width: 768px) {
    .warehouse-stats {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #eee;
    text-align: center;
}

.stat-card i {
    font-size: 3em;
    color: var(--accent-teal);
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 2em;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.warehouse-features {
    background: #f0f4f8;
    padding: 80px 0;
}

.feature-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

.feature-icon {
    background: var(--primary-blue);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    flex-shrink: 0;
}

.feature-text h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.2em;
}

/* Distributor Page */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.checkout-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #eee;
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    background: white;
    padding: 0 10px;
    text-align: center;
    color: #bbb;
}

.step i {
    display: flex;
    /* Changed to flex for centering */
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #eee;
    border-radius: 50%;
    margin: 0 auto 10px;
    font-style: normal;
    font-weight: bold;
}

.step.active {
    color: var(--primary-blue);
    font-weight: bold;
}

.step.active i {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
}

/* Guide Steps (Extracted from how-to-order.html) */
.order-guide-container {
    max-width: 800px;
    margin: 0 auto;
}

.guide-step {
    border-left: 2px solid var(--primary-blue);
    padding-left: 40px;
    position: relative;
    padding-bottom: 50px;
}

.guide-step::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
}

.guide-step:last-child {
    border-left: 2px solid transparent;
}

.guide-step h3 {
    margin-top: -5px;
    margin-bottom: 15px;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Cart Page */
/* already defined earlier in the file: cart-header-section, checkout-steps */

.cart-nav-action {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-nav-action a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.cart-nav-action .clear-cart-btn {
    border: none;
    color: #888;
}

.empty-cart-state {
    text-align: center;
    padding: 80px 0;
    color: #999;
}

.empty-cart-icon {
    font-size: 4em;
    opacity: 0.1;
    margin-bottom: 20px;
}

.empty-cart-text {
    font-size: 1.1em;
    margin-bottom: 25px;
}

/* Brand Page */
.brand-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.brand-filter .filter-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    background: white;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9em;
}

.brand-filter .filter-btn:hover,
.brand-filter .filter-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.brand-grid-all {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.brand-item-box {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.brand-item-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color, #ccc);
    /* Uses CSS var */
}

.brand-item-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.brand-logo-circle {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5em;
    color: var(--color, #555);
    border: 2px solid #eee;
}

/* Catalog Page */
.catalog-details-container {
    text-align: center;
    padding: 20px 0;
}

.catalog-details-header {
    color: var(--primary-blue);
}

.catalog-details-subheader {
    color: #777;
    max-width: 800px;
    margin: 20px auto;
}

.catalog-action-box {
    margin-top: 30px;
}

.catalog-btn {
    width: auto;
    padding: 12px 30px;
    margin: 0 10px;
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.catalog-btn-primary {
    background: var(--primary-blue);
    color: white;
    border: 1px solid var(--primary-blue);
}

.catalog-btn-primary:hover {
    background: #004d99;
}

.catalog-btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid #ccc;
}

.catalog-btn-outline:hover {
    border-color: var(--primary-blue);
    background: #f0f8ff;
}

.catalog-info-card {
    margin-top: 60px;
    text-align: center;
}

/* Delivery Page */
.delivery-map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 30px;
    box-shadow: var(--shadow-soft);
}

.delivery-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* How to Order Page */
.guide-screenshot-icon {
    font-size: 3em;
    color: #ddd;
}

.guide-screenshot p {
    font-size: 0.8em;
    margin-top: 10px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

/* Company Profile Page */
.profile-hero {
    background: linear-gradient(rgba(0, 38, 77, 0.85), rgba(0, 38, 77, 0.85)), url('img/veterinarian/04.png');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: white;
    text-align: center;
}

.profile-hero h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.milestone-strip {
    display: flex;
    justify-content: space-around;
    background: var(--primary-blue);
    padding: 50px 0;
    color: white;
}

.milestone-box {
    text-align: center;
}

.milestone-box div {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--accent-yellow);
}

.milestone-box p {
    font-size: 0.9em;
    opacity: 0.8;
}

.section-padding {
    padding: 80px 0;
}

.flex-row {
    display: flex;
    gap: 60px;
    align-items: center;
}

.flex-row div {
    flex: 1;
}

.value-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    border-top: 5px solid var(--accent-teal);
}

.profile-cta {
    background: var(--primary-blue);
    color: white;
    border-radius: 30px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 80px;
    text-align: center;
}

/* Clearance Page */
.clearance-alert {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 5px;
}

.clearance-alert i {
    color: #ffc107;
}

.clearance-alert p {
    color: #856404;
    font-size: 0.95em;
    margin: 0;
}

.clearance-content h2 {
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.clearance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.clearance-card {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    transition: 0.3s;
    background: #fff;
}

.clearance-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
}

.discount-sticker {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-red);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: bold;
}

.clearance-card img {
    width: 100%;
    border-radius: 5px;
}

.clearance-card h4 {
    margin-top: 10px;
    font-size: 0.9em;
}

.clearance-card h4 a {
    color: var(--text-dark);
    text-decoration: none;
}

.expiry-info {
    font-size: 0.8em;
    color: #777;
    margin-top: 5px;
}

.clearance-price {
    margin-top: 10px;
    font-weight: bold;
    color: var(--accent-red);
}

.b2b-opportunity {
    background: var(--primary-blue);
    color: white;
    padding: 80px 0;
    margin-top: 60px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.b2b-opportunity h2 {
    color: white;
}

.b2b-opportunity p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.9;
}

.b2b-btn {
    background: var(--accent-yellow);
    color: var(--text-dark);
    border: none;
    width: auto;
    padding: 15px 40px;
    display: inline-block;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 40px;
}

.b2b-btn:hover {
    filter: brightness(0.9);
}

.brand-item-box h4 {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.brand-item-box p {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 15px;
    line-height: 1.4;
}

.brand-tag-small {
    display: inline-block;
    padding: 3px 8px;
    background: #f0f4f8;
    color: #666;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 600;
}

.guide-text {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
    box-shadow: var(--shadow-soft);
}

.guide-text h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.25em;
}

.guide-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.guide-screenshot {
    width: 120px;
    height: 120px;
    background: #fdfdfd;
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-align: center;
    padding: 10px;
    display: none;
    /* Hidden on mobile by default */
}

@media (min-width: 768px) {
    .guide-screenshot {
        display: flex;
    }
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.payment-icon {
    font-size: 0.9em;
    padding: 5px 10px;
    background: #eee;
    border-radius: 4px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
}
}

.cart-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
    overflow: hidden;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    background: #f9f9f9;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    color: #444;
    font-size: 0.95em;
    border-bottom: 1px solid #eee;
}

.cart-table td {
    padding: 25px 20px;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}

.cart-item-product {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-item-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.cart-item-info h4 {
    margin-bottom: 5px;
    font-size: 1.05em;
    color: var(--text-dark);
}

.cart-item-info p {
    font-size: 0.85em;
    color: #888;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: fit-content;
    overflow: hidden;
}

.qty-control button {
    background: #f5f5f5;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1.1em;
}

.qty-control button:hover {
    background: #eee;
}

.qty-control input {
    width: 50px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 1em;
}

.remove-item {
    color: #ff5252;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.1em;
    transition: 0.2s;
}

.remove-item:hover {
    transform: scale(1.1);
}

.summary-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
    position: sticky;
    top: 30px;
}

.summary-card h3 {
    margin-bottom: 25px;
    font-size: 1.4em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 20px 0;
}

.summary-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5em;
    font-weight: 800;
    color: var(--primary-blue);
    margin-top: 10px;
}

.checkout-btn {
    width: 100%;
    margin-top: 30px;
    padding: 20px;
    font-size: 1.1em;
    font-weight: 700;
    border-radius: 12px;
}

.moq-banner {
    background: #fff9db;
    color: #856404;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 5px solid #fcc419;
}

@media (max-width: 992px) {
    .cart-wrapper {
        grid-template-columns: 1fr;
    }

    .checkout-steps {
        gap: 40px;
    }

    .checkout-steps::before {
        width: 150px;
    }
}