/*
 * JPeptics Stylesheet
 *
 * Official stylesheet for JPeptics - Research Peptides
 * Brand colors: Primary Blue (#428ce0), Primary Magenta (#e344aa)
 * Typography: Roboto (primary), Source Sans Pro (secondary)
 */

/* ====================
 * Google Fonts Import
 * ==================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&display=swap');

/* ====================
 * CSS Custom Properties
 * ==================== */

:root {
    /* Primary Brand Colors */
    --primary-blue: #428ce0;
    --primary-blue-dark: #3574c4;
    --primary-blue-light: #5fa3e8;
    --primary-blue-pale: #e8f2fd;
    --primary-magenta: #e344aa;
    --primary-magenta-dark: #cc3d9a;

    /* Secondary Colors */
    --secondary-green: #10B981;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Typography */
    --font-primary: 'Roboto', sans-serif;

    /* Shadows */
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* ====================
 * Global Reset & Base
 * ==================== */

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

body {
    font-family: var(--font-primary);
    background-color: var(--gray-50);
    color: var(--gray-700);
    line-height: 1.6;
    zoom: .8;
}

main {
    /* Removed min-height to fix footer whitespace issue on index.php */
}

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

/* ====================
 * Header Styles
 * ==================== */

.header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo-container img {
    height: 95px;
    width: auto;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    height: 85px;
    width: auto;
    max-width: 300px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    font-size: 1.3rem;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ====================
 * Button Styles
 * ==================== */

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
    background: var(--white)
}
.btn-rounded {
    background: var(--primary-magenta);
    padding: 12px 24px;
    border-radius: 25px;  /* High number = more rounded */
    cursor: pointer;
    color: var(--white);
    text-align: center;
    margin-top: auto;
}
.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background: var(--primary-magenta-dark);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

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

.btn-submit-order {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-magenta) 100%);
    color: var(--white);
    padding: 1rem 3rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: inline-block;
}

.btn-submit-order:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


/* ====================
 * Hero Section
 * ==================== */

.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-magenta) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

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

.hero .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 1250px;
    margin-left: 155px;
    margin-right: 150px;
    opacity: 0.95;
    text-align: left;
    line-height: 1.5;
}

.hero .lead-emphasis {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-top: 1.5rem;
}

.heading-2 {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-top: 2rem;
}

/* ====================
 * Section Styles
 * ==================== */

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.section-subtitle {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-600);
}

/* ====================
 * Product Grid
 * ==================== */

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

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-image {
    height: 320px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
}

/*===Gallery===*/
.product-detail-flex {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.product-images {
    flex: 0 0 400px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;

}

.product-info {
    flex: 1;
}

.product-detail-title {
    text-align: center;
}

.main-image-container {
    width: 100%;
    max-width: 400px;
    height: 400px;
    max-height: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin: 0 auto;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eee;
}

.main-image-container img,
.main-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: fill;
    }

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail-gallery img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail-gallery img:hover {
    border-color: var(--primary-blue-light);
}

.thumbnail-gallery img.active {
    border-color: var(--primary-magenta);
}
/*===End-Gallery===*/

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: none;
    max-height: none;
}

.product-content {
    padding: 2rem;
    text-align: center;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
    text-align: center;
}

.product-description {
    color: var(--gray-600);
    margin-bottom: 1rem;
    text-align: center;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* ====================
 * Payment Section
 * ==================== */

.payment-info {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    margin: 2rem 0;
}

.payment-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.payment-info p {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 1.5rem 0;
}

.payment-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 60px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    transition: all 0.2s;
}

.payment-logo-container:hover {
    border-color: var(--primary-blue-light);
    background: var(--primary-blue-pale);
}

.payment-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.payment-button {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.2s;
}

.payment-button:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-1px);
}

/* ====================
 * COA Section
 * ==================== */

.coa-info {
    background: var(--primary-blue-pale);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin: 2rem 0;
}

.coa-section {
    border: 2px solid var(--primary-blue);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-magenta) 100%);
}

.coa-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.coa-text {
    flex: 1;
    min-width: 300px;
    font-size: 1.3rem;
}

.coa-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.coa-content p {
    color: var(--white);
}

.coa-content ul {
    list-style-position: inside;
    margin-left: 1rem;
    color: var(--white);
}

.coa-content li {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.coa-section .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

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

.coa-image {
    display: flex;
    flex: 0 0 300px;
    max-width: 300px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.coa-image a {
    display: block;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
}

.coa-image a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.coa-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: block;
    margin: 0 auto;
}

.coa-button-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

/* ====================
 * Payment Pages Styles
 * ==================== */

.payment-container {
    max-width: 700px;
    margin: 0 auto;
}

.payment-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.section-header {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
}

.bitcoin-address {
    background: var(--gray-100);
    border: 2px solid var(--primary-blue-light);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
    word-break: break-all;
}

.copy-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    cursor: pointer;
    margin-left: 1rem;
    flex-shrink: 0;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: var(--primary-blue-dark);
}

.warning-box {
    background: #FEF3C7;
    border: 2px solid var(--warning);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
}

.warning-box::before {
    content: "⚠️";
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.order-confirmation {
    background: var(--secondary-green);
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    margin: 2rem 0;
}

.confirmation-details {
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.confirmation-details h4 {
    margin-bottom: 1rem;
}

.confirmation-details p {
    margin-bottom: 0.5rem;
}

.next-steps {
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.next-steps h4 {
    margin-bottom: 1rem;
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.step-item::before {
    content: "✓";
    color: var(--white);
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* ====================
 * Order Grid Layout
 * ==================== */

.order-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: start;
}

.order-summary-sidebar {
    position: sticky;
    top: 120px;
}

.order-product-image {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.order-product-image img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
}

.order-summary {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-blue);
}

.order-summary.tirzepatide {
    border-left-color: var(--primary-magenta);
}

.order-summary.retatrutide {
    border-left-color: var(--primary-blue);
}

.order-summary h3 {
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.order-item:last-of-type {
    border-bottom: 2px solid var(--gray-800);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.edit-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.edit-link:hover {
    color: var(--primary-blue-dark);
}

.order-form-column {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

/* ====================
 * Form Styles
 * ==================== */

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

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

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

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

/* ====================
 * Table Styles
 * ==================== */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

th {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

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

tr:hover {
    background: var(--gray-50);
}

/* ====================
 * Footer Styles
 * ==================== */

.footer {
    background: var(--gray-100);
    color: var(--gray-900);
    margin-top: auto;
    flex-shrink: 0;
}
footer img {
    height: 60px;  /* Change this number */
    width: auto;
}
.footer p {
    text-align: center;
    font-size: 0.875rem;
}

.footer a {
    color: var(--primary-blue-light);
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-magenta);
}

/* ====================
 * Alert/Notice Styles
 * ==================== */

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    margin: 1rem 0;
    font-weight: 500;
}

.alert-info {
    background: var(--primary-blue-pale);
    color: var(--primary-blue-dark);
    border-left: 4px solid var(--primary-blue);
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border-left: 4px solid var(--success);
}

.alert-warning {
    background: #FEF3C7;
    color: #92400E;
    border-left: 4px solid var(--warning);
}

.alert-danger {
    background: #FEE2E2;
    color: #991B1B;
    border-left: 4px solid var(--danger);
}

/* Confirmation Alert */
.confirmation-alert {
    background: var(--success);
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-lg);
}

.confirmation-alert h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.confirmation-alert p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.order-number {
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin: 1.5rem 0;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Contact Info */
.contact-info {
    background: var(--primary-blue-pale);
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin-top: 2rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info h3 {
    color: var(--primary-blue-dark);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* ====================
 * Payment Received Page
 * ==================== */

.payment-received-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.order-summary-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.next-steps-info {
    background: var(--primary-blue-pale);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.next-steps-info h3 {
    color: var(--primary-blue-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.next-steps-info p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .payment-received-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ====================
 * Responsive Design
 * ==================== */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .lead {
        font-size: 1.1rem;
        margin-left: 1rem;
        margin-right: 1rem;
        line-height: 1.6;
        max-width: 100%;
    }

    .hero .lead-emphasis {
        font-size: 1.3rem;
        margin-top: 1rem;
    }

    .heading-2 {
        font-size: 0.875rem;
        padding: 0 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow-lg);
        display: none;
        gap: 0;
    }

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

    .nav-links li {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

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

    .product-image {
        height: 280px;
        padding: 0.75rem;
    }

    .payment-info {
        padding: 1.5rem;
    }

    .payment-logos {
        flex-direction: column;
        gap: 1rem;
    }

    .payment-logo-container {
        width: 100px;
        height: 50px;
    }

    table {
        font-size: 0.875rem;
    }

    th, td {
        padding: 0.75rem 0.5rem;
    }

    /* Order grid mobile layout */
    .order-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .order-summary-sidebar {
        position: static;
    }

    /* Product detail flex mobile layout */
    .product-detail-flex {
        flex-direction: column;
        gap: 2rem;
    }

    .product-images {
        margin: 0 auto;
        max-width: 100%;
    }

    .product-info {
        text-align: left;
    }

    .order-product-image {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ====================
 * 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; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* ====================
 * Change Order 009: Header Redesign Components
 * ==================== */

/* Brand Cluster (Logo + Mascot) */
.brand-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mascot-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

/* Social Media Bar */
.social-bar {
  display: flex;
  gap: 12px;
  margin-right: 20px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--primary-blue);
  color: white;
}

/* Shopping Cart Button */
.cart-button {
  position: relative;
  padding: 8px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

.cart-button:hover {
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff4444;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem;
}

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

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
}

.cart-drawer-header h2 {
  margin: 0;
  color: var(--gray-800);
}

.close-drawer {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-600);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-drawer:hover {
  color: var(--gray-800);
}

.cart-items-container {
  margin-bottom: 2rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
  gap: 1rem;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  margin: 0 0 0.5rem 0;
  color: var(--gray-800);
}

.cart-item-info p {
  margin: 0.25rem 0;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.cart-item-price {
  font-weight: 600;
  color: var(--primary-blue);
}

.remove-item {
  background: var(--danger);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.remove-item:hover {
  background: #dc2626;
}

.cart-total {
  padding: 1rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.empty-cart {
  text-align: center;
  color: var(--gray-600);
  padding: 2rem;
  font-size: 1.1rem;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 999;
}

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

.cart-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--success);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Header Right Section for Cart and Social */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Responsive Changes for Change Order 009 */
@media (max-width: 767px) {
  .mascot-avatar {
    display: none; /* Hide mascot on mobile */
  }

  .social-bar {
    display: none; /* Move to hamburger menu */
  }

  .header-right {
    gap: 0.5rem;
  }

  .cart-drawer {
    width: 100%;
    right: -100%;
  }

  .cart-button {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* ====================
 * Change Order 009 - Amendment 1: Unified Checkout Page
 * ==================== */

/* Checkout Container - Two Column Layout */
.checkout-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 2rem;
}

/* Left Side: Cart Summary */
.checkout-cart {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: var(--radius-lg);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.checkout-cart h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--gray-900);
}

.checkout-cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.checkout-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.checkout-item-info h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: var(--gray-900);
}

.checkout-item-details {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.remove-checkout-item {
  background: none;
  border: none;
  color: var(--error);
  cursor: pointer;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  text-decoration: underline;
}

.remove-checkout-item:hover {
  color: var(--error-dark);
}

.checkout-total {
  padding-top: 1.5rem;
  border-top: 2px solid var(--gray-300);
  font-size: 1.25rem;
  color: var(--gray-900);
}

.empty-cart-message {
  text-align: center;
  color: var(--gray-500);
  padding: 2rem 0;
}

/* Right Side: Order Form */
.checkout-form-container {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.checkout-form-container h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--gray-900);
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 1rem;
}

/* Payment Method Options */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.payment-option:hover {
  border-color: var(--primary-blue);
  background: var(--gray-50);
}

.payment-option input[type="radio"] {
  margin-top: 0.25rem;
  cursor: pointer;
}

.payment-option input[type="radio"]:checked + .payment-label {
  color: var(--primary-blue);
}

.payment-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.payment-label strong {
  font-size: 1rem;
  color: var(--gray-900);
}

.payment-label small {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Bitcoin Promotion Box */
.bitcoin-promo {
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--gray-50);
}

.bitcoin-promo-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.bitcoin-promo-content h3 {
  margin: 0 0 10px 0;
  color: var(--primary-blue);
  font-size: 1.25rem;
}

.bitcoin-promo-content p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.6;
}

/* Mobile UI Fixes - Amendment 1 */
@media (max-width: 767px) {
  /* Fix header spacing */
  .header .nav {
    padding: 10px 15px;
    gap: 0.5rem;
  }

  .brand-cluster {
    gap: 8px;
    flex: 0 0 auto;
  }

  .logo {
    height: 45px;
    width: auto;
    max-width: 180px;
  }

  .mobile-menu-toggle {
    order: 2;
    margin-left: auto;
  }

  .header-right {
    order: 3;
  }

  /* Fix product card centering */
  .product-card {
    max-width: 100%;
    margin: 0 auto;
  }

  /* Bitcoin promo responsive */
  .bitcoin-promo {
    flex-direction: column;
    text-align: center;
  }

  .bitcoin-promo-image {
    width: 100px;
    height: 100px;
  }

  /* Checkout page single column */
  .checkout-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .checkout-cart {
    position: static;
  }

  .checkout-form-container {
    padding: 1.5rem;
  }

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

/* Hamburger menu close icon fix */
.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--gray-900);
  transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Product card centering fix */
.product-card {
  max-width: 500px;
  margin: 0 auto;
}

/* ====================
 * Mobile Social Icons in Nav Menu
 * ==================== */

.mobile-social-row {
  display: none; /* Hidden on desktop */
}

.mobile-social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.mobile-social-icons .social-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  transition: all 0.3s;
}

.mobile-social-icons .social-icon:hover {
  background: var(--primary-blue);
  color: white;
}

@media (max-width: 767px) {
  .mobile-social-row {
    display: block;
    padding: 0.5rem 1.5rem 1rem !important;
    border-bottom: 2px solid var(--gray-200) !important;
  }
}

/* ====================
 * Black Friday Ticker Banner
 * ==================== */

.bf-ticker-wrapper {
  background: #000;
  overflow: hidden;
  padding: 0.75rem 0;
  position: relative;
}

.bf-ticker {
  display: flex;
  animation: ticker-scroll 10s linear infinite;
  white-space: nowrap;
}

.bf-ticker-content {
  display: flex;
  align-items: center;
  padding-right: 3rem;
}

.bf-ticker-content span {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.bf-ticker-content .bf-text {
  color: #fff;
}

.bf-ticker-content .bf-highlight {
  color: #ff0000;
}

.bf-ticker-content .bf-star {
  color: #fff;
  padding: 0 1rem;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .bf-ticker {
    animation: none;
  }
}
