/* =================================================================
   Crinkles Shop - Cute Pink Theme Stylesheet
   ================================================================= */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink-light: #FFB6C1;
    --pink-hot: #FF69B4;
    --pink-dark: #FF1493;
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #F5F5F5;
    --gray-medium: #CCCCCC;
    --gray-dark: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.15);
    --border-radius: 20px;
    --border-radius-small: 10px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #FFE5EC 0%, #FFF0F5 50%, #FFE5F0 100%);
    background-attachment: fixed;
    color: var(--black);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 182, 193, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 105, 180, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 192, 203, 0.25) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

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

/* =================================================================
   Header
   ================================================================= */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 30px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.logo h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #FF69B4, #FF1493, #C71585);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    cursor: default;
    transition: all 0.3s ease;
    font-weight: 700;
    margin: 0;
}

.logo h1:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 4px 12px rgba(255, 105, 180, 0.4));
}

.cart-icon {
    position: relative;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 240, 245, 0.9));
    padding: 14px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255, 182, 193, 0.3);
}

.cart-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.35);
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    color: white;
    border-color: transparent;
}

.cart-icon:hover .cart-text {
    color: white;
}

.cart-text {
    font-weight: 500;
}

.cart-badge {
    background: var(--pink-hot);
    color: var(--white);
    border-radius: 50%;
    padding: 4px 8px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

/* =================================================================
   Fixed Countdown Bar (Top)
   ================================================================= */
.fixed-countdown-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    padding: 8px 15px;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(255, 105, 180, 0.3);
}

.fixed-countdown-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.countdown-label {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

.mini-countdown {
    display: flex;
    gap: 8px;
    font-weight: 700;
    color: white;
}

.mini-countdown span {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
    min-width: 35px;
    text-align: center;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.delivery-label {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Add top padding to body when countdown bar is visible */
body:has(.fixed-countdown-bar) {
    padding-top: 45px;
}

/* =================================================================
   Hero Video Section
   ================================================================= */
.hero-video-section {
    width: 100%;
    margin: 0 auto 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.2);
    background: #000;
    position: relative;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
}

.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-enclosure {
    display: none !important;
}

/* =================================================================
   Countdown Banner
   ================================================================= */
.countdown-banner {
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 50%, #C71585 100%);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    box-shadow: 0 15px 50px rgba(255, 105, 180, 0.4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countdown-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.countdown-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
    position: relative;
}

.time-unit {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 20px;
    min-width: 90px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.time-unit:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.time-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.time-label {
    display: block;
    font-size: 0.9rem;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.delivery-info {
    margin-top: 20px;
    font-size: 1.15rem;
    position: relative;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.closed-banner {
    background: var(--gray-light);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.closed-banner h2 {
    color: var(--pink-hot);
    margin-bottom: 15px;
}

.closed-banner p {
    margin: 10px 0;
    color: var(--gray-dark);
}

/* =================================================================
   Products Section
   ================================================================= */
.products-section {
    margin: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--pink-hot);
    margin-bottom: 30px;
}

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

.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.05), rgba(255, 182, 193, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.25);
    border-color: rgba(255, 182, 193, 0.5);
}

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #FFF0F5, #FFE5EC);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 105, 180, 0.1) 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(2deg);
}

.placeholder-image {
    font-size: 5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.4rem;
    color: var(--pink-hot);
    margin-bottom: 10px;
}

.product-description {
    color: var(--gray-dark);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.variants-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.variant-item {
    border-top: 1px solid var(--gray-light);
    padding-top: 15px;
}

.variant-info {
    margin-bottom: 8px;
}

.variant-name {
    font-weight: 600;
    color: var(--black);
}

.variant-quantity {
    color: var(--gray-dark);
    font-size: 0.9rem;
    margin-left: 5px;
}

.variant-price-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.variant-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pink-hot);
}

/* =================================================================
   Buttons
   ================================================================= */
.btn {
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #C71585);
    background-size: 200% 200%;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4);
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 105, 180, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--pink-hot);
    border: 2px solid var(--pink-hot);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #FFE5EC, #FFB6C1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 182, 193, 0.4);
}

.btn-add-cart {
    background: linear-gradient(135deg, #FFB6C1, #FF69B4);
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    color: var(--white);
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.5);
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* =================================================================
   Modal
   ================================================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-large {
    max-width: 900px;
}

/* Scrollbar styling for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #F1F1F1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FF1493, #C71585);
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray-dark);
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.modal h3 {
    color: var(--pink-hot);
    margin-bottom: 20px;
    text-align: center;
}

.quantity-input {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--pink-hot);
    background: var(--white);
    color: var(--pink-hot);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: var(--pink-hot);
    color: var(--white);
}

.quantity-input input {
    width: 80px;
    text-align: center;
    font-size: 1.5rem;
    border: 2px solid var(--pink-light);
    border-radius: var(--border-radius-small);
    padding: 10px;
}

/* =================================================================
   Toast Notifications
   ================================================================= */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--pink-hot), var(--pink-dark));
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow-hover);
    display: none;
    z-index: 2000;
    animation: slideInRight 0.5s ease;
}

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

.toast.show {
    display: block;
}

/* =================================================================
   Checkout Page
   ================================================================= */
.checkout-container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    color: var(--pink-hot);
    font-size: 2rem;
    margin-bottom: 30px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-top: 30px;
}

.cart-summary {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: fit-content;
}

.cart-summary h3 {
    color: var(--pink-hot);
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

.item-details .item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.item-details .item-variant,
.item-details .item-quantity {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.item-price {
    text-align: right;
}

.unit-price {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.subtotal {
    font-weight: 600;
    color: var(--pink-hot);
    font-size: 1.1rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    margin-top: 15px;
    font-size: 1.3rem;
}

.checkout-form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.checkout-form h3 {
    color: var(--pink-hot);
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--black);
}

.required {
    color: var(--pink-hot);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius-small);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--gray-dark);
    font-size: 0.85rem;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-option {
    border: 2px solid var(--gray-light);
    padding: 15px;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--pink-hot);
    background: var(--gray-light);
}

.payment-option input[type="radio"] {
    margin-right: 10px;
}

.payment-option label {
    cursor: pointer;
    display: block;
}

.payment-option strong {
    display: block;
    margin-bottom: 5px;
    color: var(--black);
}

.payment-option small {
    color: var(--gray-dark);
}

.payment-fields {
    margin-top: 20px;
    padding: 20px;
    background: var(--gray-light);
    border-radius: var(--border-radius-small);
}

.gcash-qr {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius-small);
    margin-bottom: 20px;
}

.qr-code {
    max-width: 250px;
    height: auto;
    margin: 15px 0;
    border: 3px solid var(--pink-light);
    border-radius: var(--border-radius-small);
}

.cod-info {
    padding: 15px;
    background: #FFF3CD;
    border-left: 4px solid #FFC107;
    border-radius: var(--border-radius-small);
    margin-bottom: 20px;
}

.cod-info p {
    margin: 8px 0;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-actions .btn {
    flex: 1;
}

/* =================================================================
   Alerts
   ================================================================= */
.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius-small);
    margin-bottom: 20px;
}

.alert-error {
    background: #FFE5E5;
    color: #D8000C;
    border-left: 4px solid #D8000C;
}

.alert-success {
    background: #D4EDDA;
    color: #155724;
    border-left: 4px solid #28A745;
}

.alert ul {
    margin-left: 20px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.empty-cart p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

/* =================================================================
   Order Confirmation Page
   ================================================================= */
.confirmation-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    font-size: 5rem;
    margin: 20px 0;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.confirmation-container h2 {
    color: var(--pink-hot);
    font-size: 2rem;
    margin-bottom: 10px;
}

.confirmation-message {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 30px;
}

.order-id-box {
    background: linear-gradient(135deg, var(--pink-hot), var(--pink-dark));
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    box-shadow: var(--shadow-hover);
}

.order-id {
    font-size: 2.5rem;
    font-family: 'Quicksand', sans-serif;
    margin: 15px 0;
    letter-spacing: 2px;
}

.save-reminder {
    margin-top: 15px;
    font-size: 0.95rem;
}

.order-details-box,
.next-steps-box {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 20px 0;
    text-align: left;
}

.order-details-box h4,
.next-steps-box h4 {
    color: var(--pink-hot);
    margin-bottom: 15px;
    text-align: center;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
}

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

.item-info .item-name {
    font-weight: 600;
    margin-bottom: 3px;
}

.item-info .item-variant {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.steps-list {
    list-style: none;
    padding: 0;
}

.steps-list li {
    padding: 10px 0;
    font-size: 1rem;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.action-buttons .btn {
    flex: 1;
}

/* =================================================================
   Order Tracking Page
   ================================================================= */
.track-order-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.order-tracking-result {
    margin-top: 30px;
}

.status-card,
.order-details-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.status-card h3,
.order-details-card h3 {
    color: var(--pink-hot);
    margin-bottom: 20px;
}

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

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

.order-id-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pink-hot);
}

.status-badges {
    text-align: right;
}

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

.status-pending {
    background: #FFF3CD;
    color: #856404;
}

.status-verified {
    background: #D4EDDA;
    color: #155724;
}

.status-rejected {
    background: #FFE5E5;
    color: #D8000C;
}

.delivery-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.timeline-item:not(:last-child):after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: var(--gray-light);
}

.timeline-item.completed:not(:last-child):after {
    background: var(--pink-hot);
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 700;
    position: relative;
    z-index: 10;
}

.timeline-item.completed .timeline-icon {
    background: var(--pink-hot);
    color: var(--white);
}

.timeline-item.current .timeline-icon {
    background: var(--pink-dark);
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 105, 180, 0);
    }
}

.timeline-title {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.timeline-item.completed .timeline-title {
    color: var(--pink-hot);
    font-weight: 500;
}

.timeline-item.current .timeline-title {
    color: var(--pink-dark);
    font-weight: 600;
}

.detail-section {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid var(--gray-light);
}

.detail-section h4 {
    color: var(--pink-hot);
    margin-bottom: 15px;
}

.back-link {
    text-align: center;
    margin-top: 30px;
}

/* =================================================================
   Admin Styles
   ================================================================= */
.admin-body {
    background: #F0F2F5;
}

.admin-login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    text-align: center;
    color: var(--pink-hot);
    margin-bottom: 10px;
}

.login-subtitle {
    text-align: center;
    color: var(--gray-dark);
    margin-bottom: 30px;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.login-footer a {
    color: var(--pink-hot);
    text-decoration: none;
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: #2C3E50;
    color: var(--white);
    padding: 20px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-logo h2 {
    color: var(--white);
    margin-bottom: 30px;
    text-align: center;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-item {
    padding: 12px 15px;
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius-small);
    transition: background 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    background: var(--pink-hot);
}

.nav-item.logout {
    margin-top: 20px;
    background: #E74C3C;
}

.nav-item.logout:hover {
    background: #C0392B;
}

.admin-user {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile menu elements (hidden on desktop) */
.mobile-menu-toggle {
    display: none;
}

.sidebar-close {
    display: none;
}

.sidebar-overlay {
    display: none;
}

.admin-main {
    margin-left: 250px;
    flex: 1;
    padding: 30px;
}

.admin-header {
    margin-bottom: 30px;
}

.admin-header h1 {
    color: #2C3E50;
    margin-bottom: 5px;
}

.admin-header p {
    color: var(--gray-dark);
}

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

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 2.5rem;
}

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

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pink-hot);
}

.quick-actions,
.info-box {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.quick-actions h2,
.info-box h3 {
    color: var(--pink-hot);
    margin-bottom: 20px;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
}

.status-open {
    color: #28A745;
}

.status-closed {
    color: #D8000C;
}

.filters-box {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-group input,
.filter-group select {
    padding: 8px 12px;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius-small);
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.orders-table-container {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.results-count {
    margin-bottom: 15px;
    color: var(--gray-dark);
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}

.orders-table th {
    background: var(--gray-light);
    font-weight: 600;
    color: var(--black);
}

.orders-table tr:hover {
    background: var(--gray-light);
}

.customer-info p {
    margin: 0;
}

.customer-info small {
    color: var(--gray-dark);
}

.payment-method-badge {
    display: inline-block;
    margin-right: 5px;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: var(--gray-dark);
}

.modal-order-details {
    max-height: 600px;
    overflow-y: auto;
}

.status-update-form {
    margin-top: 15px;
}

.upload-item {
    padding: 10px;
    background: var(--gray-light);
    border-radius: var(--border-radius-small);
    margin: 10px 0;
}

/* =================================================================
   Orders Card View
   ================================================================= */
/* Desktop: Show table, hide cards */
.orders-desktop-view {
    display: block;
}

.orders-mobile-view {
    display: none;
}

/* Tablet and Mobile: Hide table, show cards */
@media (max-width: 1024px) {
    .orders-desktop-view {
        display: none !important;
    }

    .orders-mobile-view {
        display: block !important;
    }

    /* Orders Card Grid - Tablet */
    .orders-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 18px;
    }
}

.orders-cards-container {
    background: transparent;
    padding: 0;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.order-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 105, 180, 0.15);
    border-color: rgba(255, 105, 180, 0.2);
}

.order-card-header {
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    padding: 18px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.order-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
}

.order-id-section {
    flex: 1;
}

.order-id-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.85;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}

.order-id-value {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.order-date {
    text-align: right;
    opacity: 0.9;
    font-size: 0.85rem;
    font-weight: 500;
}

.order-card-body {
    padding: 0;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.order-info-row:hover {
    background: #fafafa;
}

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

.info-label {
    font-weight: 600;
    color: #555;
    font-size: 0.875rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-value {
    text-align: right;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.info-value strong {
    color: #2C3E50;
    font-size: 0.95rem;
    font-weight: 600;
}

.info-value small {
    color: #7f8c8d;
    font-size: 0.8rem;
}

.info-value .status-badge {
    margin-left: 6px;
}

.order-total {
    color: #FF1493;
    font-size: 1.35rem;
    font-weight: 700;
}

.order-card-footer {
    padding: 16px 20px;
    background: linear-gradient(to bottom, #fafafa 0%, #f5f5f5 100%);
    border-top: 1px solid #e8e8e8;
}

.order-card-footer .btn-block {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 12px 20px;
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.order-card-footer .btn-block:hover {
    background: linear-gradient(135deg, #FF1493, #C71585);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}

/* =================================================================
   Admin User Management
   ================================================================= */
.user-form-box,
.users-list-box {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.user-form-box h3,
.users-list-box h3 {
    color: var(--pink-hot);
    margin-bottom: 20px;
}

.user-form {
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th,
.users-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}

.users-table th {
    background: var(--gray-light);
    font-weight: 600;
    color: var(--black);
}

.users-table tr:hover {
    background: var(--gray-light);
}

.badge-current {
    display: inline-block;
    background: var(--pink-light);
    color: var(--pink-dark);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

/* =================================================================
   Track Order Section
   ================================================================= */
.track-order-section {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.track-order-link {
    color: var(--pink-hot);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.track-order-link:hover {
    color: var(--pink-dark);
}

/* =================================================================
   Footer
   ================================================================= */
.footer {
    text-align: center;
    padding: 30px 0;
    color: var(--gray-dark);
    margin-top: 50px;
}

/* =================================================================
   Responsive Design
   ================================================================= */
@media (max-width: 768px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    /* Fixed Countdown Bar - Mobile */
    .fixed-countdown-bar {
        padding: 6px 10px;
    }

    .fixed-countdown-content {
        gap: 8px;
        font-size: 0.8rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .mini-countdown span {
        padding: 3px 6px;
        min-width: 30px;
        font-size: 0.8rem;
    }

    .delivery-label {
        font-size: 0.75rem;
    }

    body:has(.fixed-countdown-bar) {
        padding-top: 38px;
    }

    /* Hero Video - Mobile */
    .hero-video-section {
        border-radius: var(--border-radius-small);
        margin-bottom: 20px;
    }

    .hero-video {
        max-height: 400px;
    }

    .countdown-timer {
        flex-wrap: wrap;
    }

    .time-unit {
        min-width: 60px;
        padding: 10px;
    }

    .time-value {
        font-size: 1.5rem;
    }

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

    /* Admin Sidebar - Mobile */
    .admin-container {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 280px;
        max-width: 80%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: -100%;
        z-index: 9999;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }

    .admin-sidebar.mobile-open {
        left: 0;
    }

    .admin-main {
        margin-left: 0;
        padding: 20px 15px;
        padding-top: 70px; /* Space for mobile header */
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #2C3E50;
        padding: 15px 20px;
        z-index: 9998;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-toggle h2 {
        color: white;
        margin: 0;
        font-size: 1.2rem;
    }

    .menu-hamburger {
        background: transparent;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 5px 10px;
        line-height: 1;
    }

    .sidebar-close {
        display: block;
        background: #E74C3C;
        border: none;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        margin: 10px 0 20px;
        width: 100%;
        font-size: 1rem;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9997;
    }

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

    /* Admin Stats Cards */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    /* Orders Card Grid - Mobile (single column) */
    .orders-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .order-card {
        border-radius: 10px;
    }

    .order-card-header {
        padding: 16px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .order-id-label {
        font-size: 0.65rem;
    }

    .order-id-value {
        font-size: 1.1rem;
    }

    .order-date {
        text-align: left;
        font-size: 0.8rem;
    }

    .order-card-body {
        padding: 0;
    }

    .order-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 18px;
    }

    .info-label {
        min-width: auto;
        font-size: 0.8rem;
        font-weight: 700;
        color: #666;
    }

    .info-value {
        text-align: left;
        width: 100%;
        align-items: flex-start;
    }

    .info-value strong {
        font-size: 0.9rem;
    }

    .order-total {
        font-size: 1.2rem;
    }

    .order-card-footer {
        padding: 14px 18px;
    }

    .order-card-footer .btn-block {
        padding: 11px 18px;
        font-size: 0.9rem;
    }

    /* Admin Tables */
    .orders-table {
        font-size: 0.85rem;
    }

    .orders-table th,
    .orders-table td {
        padding: 10px 8px;
    }

    /* Admin Header */
    .admin-header h1 {
        font-size: 1.5rem;
    }

    .admin-header p {
        font-size: 0.9rem;
    }

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

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

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

    .delivery-timeline {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-item:not(:last-child):after {
        width: 3px;
        height: 100%;
        left: 20px;
        top: 40px;
    }

    /* Track Order Page Mobile */
    .track-order-container {
        padding: 0 15px;
    }

    .search-box {
        padding: 20px;
    }

    .status-card,
    .order-details-card {
        padding: 20px;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .order-id-value {
        font-size: 1.2rem;
        word-break: break-all;
    }

    .status-badges {
        text-align: left;
    }

    .timeline-item {
        display: flex;
        align-items: flex-start;
        text-align: left;
        padding: 10px 0;
    }

    .timeline-icon {
        margin: 0 15px 0 0;
        flex-shrink: 0;
    }

    .timeline-content {
        flex: 1;
    }

    .timeline-title {
        font-size: 0.9rem;
    }

    .detail-row {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-bottom: 12px;
    }

    .detail-row span {
        font-size: 0.85rem;
        color: var(--gray-dark);
    }

    .detail-row strong {
        font-size: 1rem;
    }

    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .item-info {
        width: 100%;
    }

    .item-price {
        align-self: flex-start;
        margin-left: 0;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    /* Fixed Countdown Bar - Extra Small Mobile */
    .fixed-countdown-content {
        gap: 5px;
        font-size: 0.7rem;
    }

    .countdown-label,
    .delivery-label {
        font-size: 0.7rem;
        display: none; /* Hide labels on very small screens */
    }

    .mini-countdown span {
        padding: 2px 4px;
        min-width: 28px;
        font-size: 0.75rem;
    }

    body:has(.fixed-countdown-bar) {
        padding-top: 35px;
    }

    /* Hero Video - Extra Small Mobile */
    .hero-video {
        max-height: 250px;
    }

    .header {
        flex-direction: column;
        gap: 15px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .modal-content {
        margin: 5% 10px;
        padding: 20px;
    }

    .order-id {
        font-size: 1.8rem;
    }

    /* Track Order Page - Extra Small Screens */
    .search-box {
        padding: 15px;
    }

    .status-card,
    .order-details-card {
        padding: 15px;
    }

    .status-card h3,
    .order-details-card h3 {
        font-size: 1.2rem;
    }

    .order-id-value {
        font-size: 1.1rem;
    }

    .status-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    .timeline-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .timeline-title {
        font-size: 0.8rem;
    }

    .detail-section h4 {
        font-size: 1rem;
    }

    .detail-row span {
        font-size: 0.8rem;
    }

    .detail-row strong {
        font-size: 0.95rem;
    }

    .item-name {
        font-size: 0.95rem;
    }

    .item-variant {
        font-size: 0.85rem;
    }

    .btn-block {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* ========================================
   FLOATING CART SIDEBAR
   ======================================== */

.floating-cart {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.floating-cart-header {
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    color: white;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.close-cart:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.floating-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #FFF9FB;
}

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

.empty-cart p:first-child {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-cart p:nth-child(2) {
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
}

.empty-cart-subtitle {
    font-size: 0.95rem;
    color: #999;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cart-item:hover {
    border-color: #FFB6C1;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
}

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

.cart-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.cart-item-variant {
    color: #666;
    font-size: 0.9rem;
    margin: 5px 0;
}

.cart-item-price {
    color: #999;
    font-size: 0.85rem;
    margin: 5px 0;
}

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

.cart-item-subtotal {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FF69B4;
    margin: 0;
}

.remove-cart-item {
    background: #FFE5E5;
    border: none;
    color: #D8000C;
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-cart-item:hover {
    background: #FFB6B6;
    transform: scale(1.1);
}

.floating-cart-footer {
    background: white;
    padding: 20px;
    border-top: 2px solid #FFE5EC;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

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

.cart-total-amount {
    font-size: 1.5rem;
    color: #FF69B4;
    font-weight: 700;
}

/* Cart Toggle Button */
.cart-toggle-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    min-width: 110px;
    height: 50px;
    padding: 0 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    color: white;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.6);
}

.cart-toggle-btn:active {
    transform: translateY(0);
}

.cart-icon-text {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-toggle-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF1493;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

    .cart-toggle-btn {
        top: 20px;
        right: 20px;
        min-width: 100px;
        height: 45px;
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .cart-icon-text {
        font-size: 1rem;
    }
}

/* ========================================
   ADMIN PRODUCT MANAGEMENT
   ======================================== */

.products-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.product-admin-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
    border-color: #FFB6C1;
}

.product-admin-image {
    position: relative;
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #FFE5EC 0%, #FFF0F5 100%);
    overflow: hidden;
}

.product-admin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.placeholder-image-admin {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFB6C1;
}

.placeholder-image-admin span {
    font-size: 4rem;
    margin-bottom: 10px;
}

.placeholder-image-admin p {
    font-size: 1rem;
    font-weight: 600;
    color: #999;
}

.btn-upload-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
}

.product-admin-card:hover .btn-upload-overlay {
    opacity: 1;
}

.btn-upload-overlay:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.6);
}

.product-admin-info {
    padding: 25px;
}

.product-admin-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: #333;
    font-weight: 700;
}

.product-admin-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.product-admin-meta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.badge-info {
    background: #E8F4FD;
    color: #1E88E5;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Image Upload Form */
.image-upload-form {
    margin-top: 20px;
}

.file-upload-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    left: -9999px;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 3px dashed #FFB6C1;
    border-radius: 15px;
    background: #FFF9FB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: #FF69B4;
    background: #FFE5EC;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.upload-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.upload-hint {
    font-size: 0.9rem;
    color: #999;
}

.image-preview {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    background: #f5f5f5;
}

.modal-subtitle {
    color: #666;
    font-size: 1rem;
    margin: 10px 0 20px 0;
}

@media (max-width: 768px) {
    .products-admin-grid {
        grid-template-columns: 1fr;
    }

    .product-admin-image {
        height: 200px;
    }

    .btn-upload-overlay {
        opacity: 1;
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}

/* ========================================
   STATUS UPDATE MESSAGES
   ======================================== */
.status-message {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-update-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.status-update-form label {
    font-size: 1rem;
    color: #495057;
    font-weight: 600;
}

.status-update-form .current-status {
    color: #FF69B4;
    font-size: 1.1rem;
}

.status-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-status {
    padding: 10px 20px;
    border: 2px solid #DEE2E6;
    border-radius: 8px;
    background: white;
    color: #495057;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.btn-status:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-status:active:not(:disabled) {
    transform: translateY(0);
}

.btn-status:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-status.active {
    font-weight: 700;
}

/* Payment status button colors */
.btn-status.btn-success {
    background: #28A745;
    color: white;
    border-color: #28A745;
}

.btn-status.btn-success:hover:not(:disabled) {
    background: #218838;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.btn-status.btn-success.active {
    background: #1e7e34;
    border-color: #1e7e34;
}

.btn-status.btn-danger {
    background: #DC3545;
    color: white;
    border-color: #DC3545;
}

.btn-status.btn-danger:hover:not(:disabled) {
    background: #C82333;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.btn-status.btn-danger.active {
    background: #BD2130;
    border-color: #BD2130;
}

/* Delivery status button colors */
.btn-status.btn-info {
    background: #17A2B8;
    color: white;
    border-color: #17A2B8;
}

.btn-status.btn-info:hover:not(:disabled) {
    background: #138496;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.4);
}

.btn-status.btn-info.active {
    background: #117A8B;
    border-color: #117A8B;
}

.btn-status.btn-warning {
    background: #FFC107;
    color: #212529;
    border-color: #FFC107;
}

.btn-status.btn-warning:hover:not(:disabled) {
    background: #E0A800;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.btn-status.btn-warning.active {
    background: #D39E00;
    border-color: #D39E00;
}

.btn-status.btn-primary {
    background: #007BFF;
    color: white;
    border-color: #007BFF;
}

.btn-status.btn-primary:hover:not(:disabled) {
    background: #0056B3;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.btn-status.btn-primary.active {
    background: #004085;
    border-color: #004085;
}

/* Responsive */
@media (max-width: 768px) {
    .status-buttons {
        flex-direction: column;
    }

    .btn-status {
        width: 100%;
        min-width: unset;
    }
}
