/* ============================================
   Centurion Ice Cream Shop - Additional Styles
   Extends ../../../css/style.css base styles
   ============================================ */

/* Variables */
:root {
    --cic-brown: #4E3227;
    --cic-pink: #ED6D96;
    --cic-coral: #EF4A81;
    --cic-cyan: #55C5E9;
    --cic-peach: #FEB752;
    --cic-mint: #5FC0AC;
    --cic-cream: #FFF9E6;
    --cic-radius: 16px;
    --cic-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --cic-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --cic-transition: all 0.3s ease;
}

/* ============================================
   Shop Page Layout
   ============================================ */
.shop-page .site-header {
    position: sticky;
    top: 0;
}

.shop-main {
    min-height: 60vh;
}

/* ============================================
   Cart Icon in Nav
   ============================================ */
.cart-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--cic-brown);
}

.cart-icon-link:hover {
    color: var(--cic-pink);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--cic-coral);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
}

.mobile-nav-right {
    display: none;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .mobile-nav-right {
        display: flex;
    }
    .nav-menu .cart-icon-link {
        display: none;
    }
}

/* ============================================
   Flash Messages
   ============================================ */
.flash-message {
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.flash-message .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

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

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

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

.flash-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

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

/* ============================================
   Shop Hero Banner
   ============================================ */
.shop-hero {
    background: linear-gradient(135deg, var(--cic-pink) 0%, var(--cic-coral) 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.shop-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.shop-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.shop-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
}

.shop-hero-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ============================================
   Category Filter Tabs
   ============================================ */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 30px 0 20px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: #fff;
    color: var(--cic-brown);
    border: 2px solid #eee;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--cic-transition);
}

.filter-btn:hover {
    border-color: var(--cic-pink);
    color: var(--cic-pink);
}

.filter-btn.active {
    background: var(--cic-pink);
    color: #fff;
    border-color: var(--cic-pink);
}

.filter-btn img {
    width: 24px;
    height: 24px;
}

.filter-btn.active img {
    filter: brightness(0) invert(1);
}

/* ============================================
   Product Grid
   ============================================ */
.products-section {
    padding: 20px 0 60px;
}

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

.product-card {
    background: #fff;
    border-radius: var(--cic-radius);
    overflow: hidden;
    box-shadow: var(--cic-shadow);
    transition: var(--cic-transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

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

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cic-cream) 0%, #ffeef3 100%);
    flex-shrink: 0;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.4s ease;
}

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

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--cic-cyan);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-card-badge.premium {
    background: var(--cic-peach);
    color: var(--cic-brown);
}

.product-card-badge.best-value {
    background: var(--cic-mint);
}

.product-card-badge.dairy-free {
    background: #8BC34A;
}

.product-card-badge.customizable {
    background: var(--cic-pink);
}

.product-card-content {
    padding: 16px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--cic-brown);
}

.product-card-content p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 12px;
    flex: 1;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-card-price {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: var(--cic-pink);
}

.product-card-price .per-head {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    display: block;
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--cic-pink);
    color: #fff;
    border: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--cic-transition);
}

.btn-add-cart:hover {
    background: var(--cic-coral);
    transform: translateY(-2px);
}

.btn-add-cart svg {
    width: 16px;
    height: 16px;
}

.btn-view-product {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--cic-cyan);
    color: #fff;
    border: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--cic-transition);
    text-decoration: none;
}

.btn-view-product:hover {
    background: #3ab5dd;
    transform: translateY(-2px);
    color: #fff;
}

/* ============================================
   Single Product Page
   ============================================ */
.product-detail {
    padding: 40px 0 60px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-detail-image {
    background: linear-gradient(135deg, var(--cic-cream) 0%, #ffeef3 100%);
    border-radius: var(--cic-radius);
    padding: 30px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.product-detail-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--cic-cyan);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-detail-info h1 {
    font-size: 2rem;
    color: var(--cic-brown);
    margin-bottom: 8px;
}

.product-detail-category {
    color: var(--cic-cyan);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.product-detail-price {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: var(--cic-pink);
    margin-bottom: 20px;
}

.product-detail-price .per-head {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #999;
}

.product-detail-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.product-detail-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #eee;
    border-radius: 50px;
    overflow: hidden;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f8f8;
    color: var(--cic-brown);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.quantity-selector button:hover {
    background: #eee;
}

.quantity-selector input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--cic-brown);
}

.quantity-selector input:focus {
    outline: none;
}

.btn-add-cart-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--cic-pink) 0%, var(--cic-coral) 100%);
    color: #fff;
    border: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--cic-transition);
    box-shadow: 0 4px 15px rgba(237, 109, 150, 0.4);
}

.btn-add-cart-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(237, 109, 150, 0.5);
}

.btn-wizard {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--cic-cyan) 0%, #3ab5dd 100%);
    color: #fff;
    border: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--cic-transition);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(85, 197, 233, 0.4);
}

.btn-wizard:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(85, 197, 233, 0.5);
    color: #fff;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #25D366;
    font-weight: 700;
    font-size: 14px;
}

.whatsapp-link:hover {
    color: #128C7E;
}

/* Related Products */
.related-products {
    padding: 40px 0;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

.related-products h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

/* ============================================
   Cart Page
   ============================================ */
.cart-section {
    padding: 40px 0 60px;
}

.cart-section h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty svg {
    width: 80px;
    height: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.cart-empty h2 {
    color: #999;
    margin-bottom: 10px;
}

.cart-empty p {
    color: #bbb;
    margin-bottom: 24px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid #eee;
    font-family: 'Fredoka One', cursive;
    font-weight: 400;
    color: var(--cic-brown);
    font-size: 0.95rem;
}

.cart-table td {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-item-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: contain;
    background: var(--cic-cream);
    padding: 5px;
    flex-shrink: 0;
}

.cart-item-name {
    font-weight: 700;
    color: var(--cic-brown);
}

.cart-item-price {
    font-weight: 700;
    color: var(--cic-pink);
}

.cart-item-total {
    font-family: 'Fredoka One', cursive;
    font-weight: 400;
    color: var(--cic-brown);
}

.cart-remove {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.cart-remove:hover {
    color: #e74c3c;
}

/* Cart Summary */
.cart-summary {
    max-width: 400px;
    margin-left: auto;
    background: #f9f9f9;
    border-radius: var(--cic-radius);
    padding: 24px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}

.cart-summary-row.total {
    border-top: 2px solid #ddd;
    margin-top: 8px;
    padding-top: 16px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: var(--cic-brown);
}

.cart-summary-row.total .amount {
    color: var(--cic-pink);
}

.delivery-note {
    font-size: 0.85rem;
    color: #999;
    text-align: center;
    margin-top: 8px;
}

.cart-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.cart-actions .btn {
    flex: 1;
    text-align: center;
}

.btn-checkout {
    background: linear-gradient(135deg, var(--cic-pink) 0%, var(--cic-coral) 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--cic-transition);
    display: inline-block;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 15px rgba(237, 109, 150, 0.4);
}

.btn-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(237, 109, 150, 0.5);
    color: #fff;
}

.btn-continue {
    background: #fff;
    color: var(--cic-brown);
    border: 2px solid #eee;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--cic-transition);
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-continue:hover {
    border-color: var(--cic-pink);
    color: var(--cic-pink);
}

/* ============================================
   Checkout Page
   ============================================ */
.checkout-section {
    padding: 40px 0 60px;
}

.checkout-section h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

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

.checkout-form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--cic-brown);
    font-size: 0.9rem;
}

.checkout-form-group input,
.checkout-form-group textarea,
.checkout-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    color: var(--cic-brown);
    transition: border-color 0.2s;
}

.checkout-form-group input:focus,
.checkout-form-group textarea:focus,
.checkout-form-group select:focus {
    outline: none;
    border-color: var(--cic-pink);
}

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

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

/* Delivery method toggle */
.delivery-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.delivery-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.delivery-option {
    flex: 1;
    padding: 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: var(--cic-transition);
}

.delivery-option:hover {
    border-color: var(--cic-pink);
}

.delivery-option.active {
    border-color: var(--cic-pink);
    background: #fff0f4;
}

.delivery-option input[type="radio"] {
    display: none;
}

.delivery-option .delivery-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.delivery-option .delivery-label {
    font-weight: 700;
    color: var(--cic-brown);
    display: block;
}

.delivery-option .delivery-price {
    font-size: 0.85rem;
    color: #999;
}

.delivery-option.active .delivery-label {
    color: var(--cic-pink);
}

.address-fields {
    display: none;
}

.address-fields.active {
    display: block;
}

/* Payment method toggle */
.payment-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-option {
    flex: 1;
    padding: 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: var(--cic-transition);
}

.payment-option:hover {
    border-color: var(--cic-pink);
}

.payment-option.active {
    border-color: var(--cic-pink);
    background: #fff0f4;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option .payment-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.payment-option .payment-label {
    font-weight: 700;
    color: var(--cic-brown);
    display: block;
}

.payment-option .payment-desc {
    font-size: 0.8rem;
    color: #999;
}

.payment-option.active .payment-label {
    color: var(--cic-pink);
}

/* Order Summary Sidebar */
.order-summary {
    background: #f9f9f9;
    border-radius: var(--cic-radius);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.order-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--cic-brown);
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}

.order-summary-item .item-name {
    flex: 1;
    color: #555;
}

.order-summary-item .item-qty {
    color: #999;
    margin: 0 12px;
}

.order-summary-item .item-total {
    font-weight: 700;
    color: var(--cic-brown);
}

/* ============================================
   Confirmation Page
   ============================================ */
.confirm-section {
    padding: 60px 0;
    text-align: center;
}

.confirm-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--cic-mint);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
}

.confirm-section h1 {
    color: var(--cic-brown);
    margin-bottom: 10px;
}

.confirm-section .order-number {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: var(--cic-cyan);
    margin-bottom: 20px;
}

.eft-details {
    max-width: 500px;
    margin: 30px auto;
    background: #fff;
    border-radius: var(--cic-radius);
    padding: 24px;
    box-shadow: var(--cic-shadow);
    text-align: left;
}

.eft-details h3 {
    margin-bottom: 16px;
    color: var(--cic-brown);
    text-align: center;
}

.eft-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.eft-row:last-child {
    border-bottom: none;
}

.eft-label {
    color: #999;
    font-size: 0.9rem;
}

.eft-value {
    font-weight: 700;
    color: var(--cic-brown);
}

/* ============================================
   Gallery Page
   ============================================ */
.gallery-hero {
    background: linear-gradient(135deg, var(--cic-cyan) 0%, #3ab5dd 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: #fff;
    position: relative;
}

.gallery-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.gallery-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 30px 0 20px;
}

.gallery-section {
    padding: 20px 0 60px;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--cic-radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--cic-shadow);
    transition: var(--cic-transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--cic-shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 60px 16px 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery-source-label {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.gallery-source-label.local {
    background: var(--cic-pink);
    color: #fff;
}

.gallery-source-label.instagram {
    background: #E4405F;
    color: #fff;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-actions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.lightbox-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 50px;
    background: var(--cic-pink);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--cic-transition);
}

.lightbox-actions a:hover {
    background: var(--cic-coral);
    transform: translateY(-2px);
    color: #fff;
}

/* Instagram section heading */
.instagram-feed-header {
    text-align: center;
    margin: 40px 0 20px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.instagram-feed-header a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #E4405F;
    font-weight: 700;
    font-size: 1.1rem;
}

.instagram-feed-header a:hover {
    opacity: 0.8;
}

/* ============================================
   Loading / Toast
   ============================================ */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--cic-brown);
    color: #fff;
    padding: 14px 24px;
    border-radius: var(--cic-radius);
    font-weight: 700;
    font-size: 14px;
    z-index: 9998;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.toast.success {
    background: var(--cic-mint);
}

.toast.error {
    background: #e74c3c;
}

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumbs {
    padding: 16px 0;
    font-size: 0.85rem;
    color: #999;
}

.breadcrumbs a {
    color: var(--cic-cyan);
    font-weight: 600;
}

.breadcrumbs a:hover {
    color: var(--cic-pink);
}

.breadcrumbs span {
    margin: 0 6px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .shop-hero {
        padding: 100px 0 40px;
    }

    .shop-hero h1 {
        font-size: 1.8rem;
    }

    .gallery-hero {
        padding: 100px 0 40px;
    }

    .gallery-hero h1 {
        font-size: 1.8rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }

    .category-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .product-detail-info h1 {
        font-size: 1.5rem;
    }

    .product-detail-price {
        font-size: 1.5rem;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid #eee;
    }

    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 4px 0;
        border: none;
    }

    .cart-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--cic-brown);
        font-size: 0.85rem;
    }

    .cart-item-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .cart-summary {
        margin: 0;
        max-width: 100%;
    }

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

    .delivery-toggle,
    .payment-toggle {
        flex-direction: column;
    }

    .delivery-options-grid {
        grid-template-columns: 1fr;
    }

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

    .lightbox-actions {
        flex-direction: column;
        gap: 8px;
    }

    .toast {
        left: 20px;
        right: 20px;
        bottom: 20px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-add-cart,
    .btn-view-product {
        width: 100%;
        justify-content: center;
    }

    .cart-actions {
        flex-direction: column;
    }
}
