/* House of Guerrilla Republik - Main Stylesheet */

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #e74c3c;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --border-color: #dddddd;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

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

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.header-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-info a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.header-info a:hover {
    color: var(--accent-color);
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: var(--secondary-color);
    padding: 0;
    text-align: center;
    position: relative;
}

.showcase-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-panel {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    font-style: italic;
}

.hero .tagline {
    font-size: 18px;
    margin-top: 10px;
    font-weight: bold;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    font-weight: bold;
    font-family: 'Copperplate Gothic Bold', serif !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000000;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    padding: 0 30px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .products-section {
        padding: 60px 0;
    }
}

.product-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    text-align: center;
}

.btn:hover {
    background-color: #333;
}

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

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

.btn-secondary:hover {
    background-color: #c0392b;
}

.btn-full {
    width: 100%;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: var(--secondary-color);
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 8px 8px 0 0;
}

.modal-body {
    padding: 30px;
}

.close {
    color: var(--secondary-color);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--accent-color);
}

/* Product Detail Modal */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Modal Product Image Fix */
.modal-product-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.product-modal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.product-info {
    padding: 1rem 0;
}

.product-options {
    margin: 1.5rem 0;
}

.option-group {
    margin-bottom: 1rem;
}

.option-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.product-select, .quantity-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.add-to-cart-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.product-detail-image {
    width: 100%;
    border-radius: 8px;
}

.product-detail-info h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.product-detail-price {
    font-size: 32px;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 20px;
}

.product-detail-description {
    margin-bottom: 30px;
    line-height: 1.8;
}

.variant-selector {
    margin-bottom: 20px;
}

.variant-selector label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.variant-selector select,
.variant-selector input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

.stock-info {
    margin: 15px 0;
    padding: 10px;
    background-color: var(--light-gray);
    border-radius: 4px;
}

.in-stock {
    color: var(--success-color);
    font-weight: bold;
}

.out-of-stock {
    color: var(--danger-color);
    font-weight: bold;
}

/* Cart Styles */
.cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

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

.cart-item-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.cart-item-details {
    color: #666;
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-color);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-control button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    background-color: var(--secondary-color);
    cursor: pointer;
    border-radius: 4px;
}

.quantity-control input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 5px;
}

.remove-item {
    color: var(--danger-color);
    cursor: pointer;
    font-size: 20px;
}

.cart-summary {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 18px;
}

.cart-summary-total {
    font-size: 24px;
    font-weight: bold;
    border-top: 2px solid var(--border-color);
    padding-top: 15px;
    margin-top: 15px;
}

/* Checkout Form */
.checkout-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

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

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

.payment-methods {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.payment-method {
    flex: 1;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: var(--primary-color);
}

.payment-method.active {
    border-color: var(--accent-color);
    background-color: var(--light-gray);
}

.payment-buttons {
    margin-top: 30px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p,
.footer-section a {
    color: var(--secondary-color);
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Joomla Ninja link styling */
.jn-link {
    color: #f0f0f0 !important; /* Lighter white */
    text-decoration: none;
    transition: color 0.3s ease;
}

.jn-link:hover {
    color: #fff !important; /* Full white on hover */
    text-decoration: underline;
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.text-center {
    text-align: center;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 0;
    }
    
    .header-info {
        flex-direction: column;
        gap: 5px;
        align-items: center;
        width: 100%;
    }
    
    .header-info a {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .logo {
        font-size: 20px !important;
        margin-bottom: 5px;
    }
    
    .cart-icon {
        margin-top: 5px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.empty-state p {
    color: #666;
    margin-bottom: 30px;
}
/* Phone link styling */
.phone-link {
    color: var(--secondary-color);
    text-decoration: none;
}

.phone-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Joomla Ninja link styling */
.jn-link {
    color: #f0f0f0;
    text-decoration: none;
}

.jn-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Mobile Footer Fixes */
@media (max-width: 768px) {
    .footer-contact .phone-link {
        color: var(--secondary-color) !important;
        text-decoration: underline;
    }
    
    .jn-link {
        color: #f0f0f0 !important;
        text-decoration: underline;
    }
    
    .footer-section {
        text-align: center;
    }
}

/* Google Fonts - Copperplate Gothic Bold */
@import url('https://fonts.googleapis.com/css2?family=Copperplate+Gothic+Bold:wght@400;700&display=swap');

/* Copperplate Gothic Bold Styling */
.copperplate-bold {
    font-family: 'Copperplate Gothic Bold', serif;
    font-weight: 700;
    font-style: normal;
}

/* Site Name and Headings */
.logo h1,
.section-title,
.product-title,
.product-name,
.hero-text h2,
.footer-section h3,
.footer-section h4 {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

/* Product Text Elements */
.product-card h3,
.product-details h2,
.modal-content h2 {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

/* Additional Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

/* Site Name Specific */
.header-main .logo h1 {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-size: 2rem !important;
    letter-spacing: 1px !important;
}

/* ========== COPPERPLATE GOTHIC BOLD IMPLEMENTATION ========== */

/* Google Fonts Import */

/* Base Copperplate Class */
.copperplate-bold {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Site Logo/Name */
.logo h1,
.header-main .logo h1 {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-size: 2rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Section Titles */
.section-title {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Product Names and Titles */
.product-title,
.product-name,
.product-card h3,
.product-details h2 {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Modal Content */
.modal-content h2,
.modal h2 {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-transform: uppercase !important;
}

/* Hero Section */
.hero-text h2,
.hero-panel h2 {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Footer Headings */
.footer-section h3,
.footer-section h4 {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* All Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

/* Product Specific Elements */
.product-card .product-title {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Cart and Checkout */
.cart-header h3,
.checkout-title {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-transform: uppercase !important;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */

@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.5rem !important;
        letter-spacing: 0.5px !important;
    }
    
    .section-title {
        font-size: 1.3rem !important;
        letter-spacing: 0.5px !important;
    }
    
    .product-title,
    .product-card h3 {
        font-size: 1rem !important;
        letter-spacing: 0.3px !important;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem !important;
        letter-spacing: 0.3px !important;
    }
    
    .section-title {
        font-size: 1.1rem !important;
        letter-spacing: 0.3px !important;
    }
}

/* ========== PRODUCT MODAL ENHANCEMENTS ========== */

/* Modal with Sticky Header */
.modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
}

/* Sticky Modal Header */
.modal-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    padding: 20px;
    border-bottom: 2px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

/* Sticky Close Button */
.modal .close {
    position: sticky;
    top: 20px;
    right: 20px;
    z-index: 11;
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.modal .close:hover {
    background: #f8f9fa;
    color: #000;
    transform: scale(1.1);
}

/* Scrollable Modal Body */
.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    max-height: calc(90vh - 80px);
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Product Details Layout */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal .close {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
    
    .modal-body {
        padding: 15px;
        max-height: calc(95vh - 70px);
    }
}

/* ========== BRAND DISCOVERY PANEL ========== */

.brand-discovery-panel {
    background: linear-gradient(135deg, #007bff 0%, #ffd700 100%);
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.brand-discovery-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,123,255,0.9) 0%, rgba(255,215,0,0.9) 100%);
    z-index: 1;
}

.brand-discovery-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.brand-discovery-panel h2 {
    font-family: 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    font-size: 3.2rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.brand-discovery-panel p {
    font-size: 1.6rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1.4;
}

.brand-discovery-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #007bff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 3px solid #ffffff;
}

.brand-discovery-link:hover {
    background: #007bff;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.brand-discovery-link i {
    font-size: 1.2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .brand-discovery-panel {
        padding: 40px 20px;
        margin-top: 40px;
    }
    
    .brand-discovery-panel h2 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .brand-discovery-panel p {
        font-size: 1.3rem;
    }
    
    .brand-discovery-link {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .brand-discovery-panel h2 {
        font-size: 1.8rem;
    }
    
    .brand-discovery-panel p {
        font-size: 1.1rem;
    }
    
    .brand-discovery-link {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* ========== BACK TO TOP BUTTON ========== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,123,255,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.6);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ========== NOTIFICATION SYSTEM ========== */

.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 400px;
    min-width: 300px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.notification-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.notification-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.notification-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.notification i {
    font-size: 20px;
}

.notification span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
    }
}

/* ========== CART SIDEBAR ENHANCEMENTS ========== */

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.cart-footer {
    padding: 25px;
    border-top: 2px solid #dee2e6;
    background: #f8f9fa;
    margin-top: auto;
}

.cart-header {
    padding: 25px;
    border-bottom: 2px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.cart-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-close:hover {
    background: #e9ecef;
    color: #000;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-items::-webkit-scrollbar {
    width: 8px;
}

.cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.cart-items::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    align-items: center;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

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

.cart-item-details h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.cart-item-details p {
    margin: 3px 0;
    font-size: 0.85rem;
    color: #666;
}

.cart-item-price {
    font-weight: bold;
    color: #007bff;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-item-quantity button:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.cart-item-quantity span {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
}

.remove-item {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: all 0.3s ease;
}

.remove-item:hover {
    color: #c82333;
    transform: scale(1.1);
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid #dee2e6;
    background: #f8f9fa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 0;
}

.checkout-btn {
    width: 100%;
    padding: 18px 25px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.4);
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .cart-sidebar.open {
        right: 0;
    }
}

/* ========== PRODUCT MODAL FIX ========== */

/* Modal Overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow: auto;
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Close Button - Single, Top Right */
.modal .close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #333;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.modal .close:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

/* Modal Body */
.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(85vh - 60px);
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

/* Modal Product Title */
.modal-product-title {
    margin: 0 0 20px 0;
    font-size: 1.8rem;
    color: #333;
    padding-right: 50px;
}

/* Product Details Layout */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-image {
    width: 100%;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-description {
    color: #666;
    line-height: 1.6;
}

.product-price {
    font-size: 1.5rem;
    color: #007bff;
    font-weight: bold;
}

/* Product Options */
.product-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-group label {
    font-weight: 600;
    color: #333;
}

.option-group select {
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    cursor: pointer;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 1rem;
}

/* Product Actions */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.add-to-cart-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px auto;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .product-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-product-title {
        font-size: 1.4rem;
    }
}

/* Mobile Notification Fix */
@media (max-width: 768px) {
    .notification {
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) scale(0.8) !important;
        max-width: 90% !important;
        min-width: 280px !important;
    }
    
    .notification.show {
        transform: translate(-50%, -50%) scale(1) !important;
    }
}

/* Copperplate Gothic Bold Font Fix */

/* Site Name - Force Copperplate font */
.site-name {
    font-family: 'Copperplate', 'Copperplate Gothic Bold', serif !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header site name specific */
.header .site-name {
    font-family: 'Copperplate', 'Copperplate Gothic Bold', serif !important;
}

/* Hero panel site name */
.hero-panel .site-name {
    font-family: 'Copperplate', 'Copperplate Gothic Bold', serif !important;
    font-size: 28px;
    margin-bottom: 10px;
}

/* Section Titles - Copperplate Font */
.section-title {
    font-family: 'Copperplate', 'Copperplate Gothic Bold', serif !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Section Title */
.products-section h2 {
    font-family: 'Copperplate', 'Copperplate Gothic Bold', serif !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal Titles */
.modal-title {
    font-family: 'Copperplate', 'Copperplate Gothic Bold', serif !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Modal Title */
#productModal .modal-header h2 {
    font-family: 'Copperplate', 'Copperplate Gothic Bold', serif !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* All H2 Headings */
h2 {
    font-family: 'Copperplate', 'Copperplate Gothic Bold', serif !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Card Titles */
.product-title {
    font-family: 'Copperplate', 'Copperplate Gothic Bold', serif !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Copperplate Bold Class */
.copperplate-bold {
    font-family: 'Copperplate', 'Copperplate Gothic Bold', serif !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal Product Title */
.modal-product-title {
    font-family: 'Copperplate', 'Copperplate Gothic Bold', serif !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Links Styling */
.footer-phone-link {
    color: #f0f0f0 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-phone-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.footer-email-link {
    color: #f0f0f0 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Brand Discovery Link */
.brand-discovery-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000000 !important;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-discovery-link:hover {
    background: linear-gradient(45deg, #FFA500, #FF8C00);
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    text-decoration: none;
}

.brand-discovery-link i {
    font-size: 14px;
}

/* Joomla Ninja Link */
.jn-link {
    color: #f0f0f0 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.jn-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Footer section links */
.footer-section a {
    color: #f0f0f0 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}
