/* AgriDrone Website Stylesheet
   Theme Colors:
   - Background: #EEE2C9 (cream)
   - Accent: #C0AD8C (khaki)
   - Primary: #3C4C24 (olive green)
*/

/* ========== CSS Variables ========== */
:root {
    --color-background: #EEE2C9;
    --color-accent: #C0AD8C;
    --color-primary: #3C4C24;
    --color-primary-dark: #2a3619;
    --color-primary-light: #4d6030;
    --color-white: #ffffff;
    --color-dark: #333333;
    --color-gray: #666666;
    --color-light-gray: #f5f5f5;
    --color-success: #28a745;
    --color-error: #dc3545;
    --color-warning: #ffc107;
    --color-info: #17a2b8;

    --font-family: 'Poppins', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--color-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a:hover {
    color: var(--color-primary-dark);
}

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

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    font-family: var(--font-family);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-dark);
}

.btn-accent:hover {
    background-color: #b09d7a;
    color: var(--color-dark);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.logout-btn {
    padding: 10px 24px !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    border-width: 2px;
}

.btn-danger {
    background-color: var(--color-error);
    color: var(--color-white);
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-success {
    background-color: var(--color-success);
    color: var(--color-white);
}

.btn-success:hover {
    background-color: #218838;
}

/* ========== Header & Navigation ========== */
.main-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo-icon {
    font-size: 1.8rem;
}

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

.nav-links a {
    color: var(--color-dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}

.nav-admin {
    background-color: var(--color-accent);
    padding: 8px 16px !important;
    border-radius: var(--radius-md);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    order: 3;
}

.header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--color-dark);
    text-decoration: none;
    padding: 5px;
    transition: color 0.3s ease;
}

.header-cart:hover {
    color: var(--color-primary);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--color-primary);
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    line-height: 1.3;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== Flash Messages ========== */
.flash-message {
    padding: 15px 0;
    text-align: center;
    font-weight: 500;
}

.flash-success {
    background-color: #d4edda;
    color: #155724;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
}

.flash-warning {
    background-color: #fff3cd;
    color: #856404;
}

.flash-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.flash-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    float: right;
    margin-top: -5px;
    opacity: 0.5;
}

.flash-close:hover {
    opacity: 1;
}

/* ========== Main Content ========== */
.main-content {
    flex: 1;
    padding: 40px 0;
}

/* ========== Hero Section ========== */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
    margin: -40px 0 40px 0;
}

.hero h1 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-video {
    max-width: 800px;
    margin: 2rem auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-video video,
.hero-video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

.video-placeholder {
    background-color: var(--color-accent);
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.video-placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* ========== Section Styles ========== */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--color-gray);
    font-size: 1.1rem;
}

.section-alt {
    background-color: var(--color-white);
}

/* ========== Feature Cards ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

/* ========== Video Grid ========== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.video-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background-color: var(--color-accent);
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--color-primary-dark);
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* ========== Recipe Grid ========== */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.recipe-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.recipe-image {
    aspect-ratio: 4/3;
    background-color: var(--color-accent);
    overflow: hidden;
}

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

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

.recipe-info {
    padding: 20px;
}

.recipe-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.recipe-info p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* ========== Recipe Detail ========== */
.recipe-detail {
    max-width: 800px;
    margin: 0 auto;
}

.recipe-detail-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.recipe-content {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.recipe-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.recipe-content ul,
.recipe-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.recipe-content li {
    margin-bottom: 0.5rem;
}

.back-btn {
    margin-bottom: 2rem;
}

/* ========== Reviews Section ========== */
.reviews-section {
    background-color: var(--color-white);
    padding: 60px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.review-card {
    background-color: var(--color-background);
    padding: 30px;
    border-radius: var(--radius-lg);
    position: relative;
}

.review-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--color-accent);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.review-text {
    font-style: italic;
    color: var(--color-gray);
    margin-bottom: 1rem;
    padding-top: 30px;
}

.review-author {
    font-weight: 600;
    color: var(--color-primary);
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-background);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.review-form h3 {
    text-align: center;
    margin-bottom: 2rem;
}

/* ========== Forms ========== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition);
    background-color: var(--color-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ========== Contact Page ========== */
.contact-page {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ========== Auth Pages ========== */
.auth-page {
    max-width: 450px;
    margin: 0 auto;
}

.auth-form {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.auth-form h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-gray);
}

/* ========== Subscribe Page ========== */
.subscribe-page {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.subscribe-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.subscribe-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 1rem 0;
}

.subscribe-price span {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-gray);
}

.subscribe-features {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.subscribe-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscribe-features li::before {
    content: '✓';
    color: var(--color-success);
    font-weight: bold;
}

/* ========== Subscription Modal ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

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

.modal {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.modal h2 {
    margin-bottom: 1rem;
}

.modal p {
    color: var(--color-gray);
    margin-bottom: 2rem;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ========== Footer ========== */
.main-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.footer-section p {
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    color: var(--color-white);
    opacity: 0.8;
}

.footer-section ul a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    opacity: 0.7;
}

/* ========== Admin Styles ========== */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 80px);
}

.admin-sidebar {
    width: 250px;
    background-color: var(--color-primary);
    padding: 30px 0;
    flex-shrink: 0;
}

.admin-sidebar h2 {
    color: var(--color-white);
    padding: 0 20px;
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.admin-nav {
    list-style: none;
}

.admin-nav li {
    margin-bottom: 5px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.admin-content {
    flex: 1;
    padding: 30px;
    background-color: var(--color-background);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    margin-bottom: 0;
}

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--color-white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* Admin Tables */
.admin-table {
    width: 100%;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table th,
.admin-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-accent);
}

.admin-table th {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 500;
}

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

.admin-table tr:hover td {
    background-color: rgba(192, 173, 140, 0.1);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-active,
.status-approved {
    background-color: #d4edda;
    color: #155724;
}

.status-inactive,
.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-rejected,
.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.action-btns {
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.action-btn-edit {
    background-color: var(--color-accent);
    color: var(--color-dark);
}

.action-btn-delete {
    background-color: var(--color-error);
    color: var(--color-white);
}

.action-btn-approve {
    background-color: var(--color-success);
    color: var(--color-white);
}

/* Admin Forms */
.admin-form {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* ========== Video Modal ========== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

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

.video-modal-content {
    max-width: 900px;
    width: 90%;
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
}

.video-modal iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
}

/* ========== Responsive Styles ========== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
    }

    .admin-nav {
        display: flex;
        overflow-x: auto;
        padding: 0 20px;
    }

    .admin-nav a {
        white-space: nowrap;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 40px 0;
    }

    .section {
        padding: 40px 0;
    }

    .subscribe-price {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .modal-buttons {
        flex-direction: column;
    }
}

/* ========== Utility Classes ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }

/* ========== Content Protection ========== */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Allow selection in form inputs */
input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Prevent image saving */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
}

/* Disable printing of content */
@media print {
    body {
        display: none !important;
    }
    html::after {
        content: 'Printing is not allowed on this site.';
        display: block;
        padding: 50px;
        font-size: 24px;
        text-align: center;
    }
}

/* Video protection overlay */
video::-webkit-media-controls-enclosure {
    overflow: hidden;
}

video::-webkit-media-controls-panel {
    width: calc(100% + 30px);
}

video::-internal-media-controls-download-button {
    display: none !important;
}

video::-webkit-media-controls-download-button {
    display: none !important;
}

/* ========== Store Grid ========== */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card-image {
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-body {
    padding: 15px;
}

.product-card-name {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.product-card-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

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

/* ========== Product Detail Page ========== */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
}

.product-image-wrap {
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}

/* ========== Checkout Page ========== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.checkout-form {
    order: 1;
}

.checkout-summary {
    order: 2;
}

/* ========== Customers We Serve ========== */
.customers-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.customer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 130px;
}

.customer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.customer-logo img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.customer-logo-placeholder {
    background: var(--color-primary);
}

.customer-logo-placeholder span {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.customer-name {
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
    line-height: 1.3;
}

/* ========== Mobile Responsive ========== */
@media (max-width: 768px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card-image {
        height: 140px;
    }

    .product-card-body {
        padding: 10px;
    }

    .product-card-name {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .product-card-desc {
        display: none;
    }

    .product-card-price {
        font-size: 1.05rem;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-image-wrap {
        min-height: 220px;
        max-height: 280px;
        border-radius: 8px;
    }

    .product-title {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .product-price {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .product-info {
        padding: 0 5px;
    }

    .related-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .checkout-form,
    .checkout-summary {
        order: unset;
    }

    .customers-row {
        gap: 25px;
    }

    .customer-item {
        width: 100px;
    }

    .customer-logo {
        width: 65px;
        height: 65px;
    }

    .customer-logo img {
        max-width: 48px;
        max-height: 48px;
    }
}
