/* ==========================================================================
   CSS FOUNDATION - UB OSPEK PRE-ORDER WEBSITE
   Colors: #042125 (Primary Dark Teal), #35646d (Secondary Slate Teal), #d4af37 (Accent Gold)
   Fonts: Montserrat (Headings), Poppins (Body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #042125;
    --primary-light: #0d3d44;
    --primary-dark: #021215;
    --secondary: #35646d;
    --secondary-light: #4c828d;
    --secondary-dark: #24464c;
    --accent: #d4af37;
    --accent-hover: #c59f2e;
    --accent-light: #fef6df;
    
    /* Backgrounds & Neutral Colors */
    --bg-dark: #031416;
    --bg-light: #f3f8f9;
    --bg-white: #ffffff;
    --border-color: #e2eeef;
    
    /* Text Colors */
    --text-dark: #0c2023;
    --text-muted: #53757a;
    --text-light: #ffffff;
    --text-gold: #e2ba3f;

    /* Spacing & Borders */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(4, 33, 37, 0.05), 0 2px 4px -1px rgba(4, 33, 37, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(4, 33, 37, 0.08), 0 8px 10px -6px rgba(4, 33, 37, 0.05);
    --shadow-lg: 0 20px 35px -5px rgba(4, 33, 37, 0.15), 0 10px 15px -10px rgba(4, 33, 37, 0.1);
    --shadow-accent: 0 10px 20px -3px rgba(212, 175, 55, 0.3);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-blur: blur(16px);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */

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

.section-padding {
    padding: 80px 0;
}

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

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.badge-secondary {
    background-color: var(--bg-light);
    color: var(--secondary);
    border: 1px solid var(--border-color);
}

/* Premium Glassmorphism Class */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    outline: none;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -3px rgba(212, 175, 55, 0.4);
}

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

.btn-danger {
    background-color: #e74c3c;
    color: var(--text-light);
}

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

.btn-icon {
    padding: 12px;
    border-radius: 50%;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */

header {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--accent);
}

.logo h2 {
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-light);
    opacity: 0.85;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    opacity: 1;
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cart-trigger {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
    position: relative;
}

.nav-cart-trigger:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent);
}

.nav-cart-trigger .cart-count {
    background-color: var(--accent);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    position: relative;
    padding: 100px 0 120px 0;
    color: var(--text-light);
    overflow: hidden;
}

/* Decorative Background Blobs */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    opacity: 0.15;
}

.hero::before {
    width: 400px;
    height: 400px;
    background-color: var(--accent);
    top: -100px;
    right: -100px;
}

.hero::after {
    width: 500px;
    height: 500px;
    background-color: var(--secondary);
    bottom: -150px;
    left: -150px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-content h1 span {
    background: linear-gradient(to right, var(--accent) 0%, #ffeaa7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.85;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
}

.hero-image {
    width: 100%;
    transform: scale(1.02);
    transition: var(--transition);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.08);
}

/* ==========================================================================
   URGENCY & BATCH CARD
   ========================================================================== */

.urgency-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.urgency-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 30px 40px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    border: 1px solid var(--border-color);
}

.batch-info h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.batch-status-bar {
    width: 100%;
    height: 10px;
    background-color: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 16px;
    position: relative;
}

.batch-progress {
    height: 100%;
    width: 85%; /* Simulated Progress */
    background: linear-gradient(to right, var(--secondary), var(--secondary-light));
    border-radius: 10px;
    position: relative;
    animation: loadProgress 2s ease-out;
}

.batch-slots-text {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.batch-slots-text span strong {
    color: var(--primary);
}

.countdown-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.countdown-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.countdown-timer {
    display: flex;
    gap: 16px;
}

.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 65px;
}

.countdown-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--bg-white);
    width: 100%;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.countdown-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 6px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   PRODUCTS & TAB CUSTOMIZATION
   ========================================================================== */

.products-section {
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Tab Switcher Styles */
.tab-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    background-color: var(--bg-white);
    color: var(--primary);
    border: 2px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn i {
    font-size: 1.15rem;
}

.tab-btn:hover {
    border-color: var(--secondary-light);
    color: var(--secondary);
}

.tab-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.tab-btn.active .tab-badge {
    background-color: var(--accent);
    color: var(--primary);
}

.tab-badge {
    font-size: 0.7rem;
    background-color: var(--bg-light);
    color: var(--text-muted);
    padding: 2px 10px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Grid Layout for Packages */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.package-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-light);
}

.package-card.highlighted {
    border: 2px solid var(--accent);
}

.package-card.highlighted .package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-img-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

.package-card:hover .package-img-wrapper img {
    transform: scale(1.05);
}

.package-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.package-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.package-includes {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.package-includes h4 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.include-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-dark);
}

.include-item i {
    color: var(--secondary);
    font-size: 1rem;
}

/* Package Options Configuration */
.package-config-group {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.package-config-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gender-selectors {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.gender-btn {
    flex: 1;
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gender-btn.active {
    background-color: var(--secondary);
    color: var(--text-light);
    border-color: var(--secondary);
}

.size-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.select-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.select-wrapper label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.custom-select {
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    background-color: var(--bg-white);
    color: var(--text-dark);
    outline: none;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: var(--transition);
}

.custom-select:focus {
    border-color: var(--secondary);
}

.package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.original-price {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.actual-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
}

/* Individual Products Selection Tab */
.items-tab-content {
    display: none; /* Controlled by active class in JS */
}

.items-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.custom-customizer-container {
    display: grid;
    grid-template-columns: 1.7fr 1.3fr;
    gap: 40px;
    align-items: start;
}

.categories-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.category-block h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.category-block h3 i {
    color: var(--secondary);
}

.items-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.item-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    gap: 20px;
}

.item-card:hover {
    border-color: var(--secondary-light);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.item-card-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-grow: 1;
}

.item-icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.item-info h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.item-info .item-price {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.9rem;
}

.item-card-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.item-size-select {
    padding: 6px 10px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    background-color: var(--bg-white);
    outline: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.qty-btn {
    border: none;
    background: transparent;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

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

.qty-number {
    font-size: 0.9rem;
    font-weight: 600;
    width: 30px;
    text-align: center;
}

.add-single-item-btn {
    background-color: var(--secondary);
    color: var(--text-light);
    border: none;
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.add-single-item-btn:hover {
    background-color: var(--secondary-light);
    transform: translateY(-1px);
}

/* Customizer Summary / Sidebar Widget */
.customizer-summary-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 30px;
    position: sticky;
    top: 110px;
    box-shadow: var(--shadow-md);
}

.summary-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.summary-header h3 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-header i {
    color: var(--accent);
}

.summary-items-list {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 5px;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.88rem;
}

.summary-item-details {
    display: flex;
    flex-direction: column;
}

.summary-item-name {
    font-weight: 600;
    color: var(--primary);
}

.summary-item-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.summary-item-price {
    font-weight: 700;
    color: var(--text-dark);
}

.empty-summary-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 30px 0;
}

.summary-totals {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-bottom: 24px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.total-row.grand-total {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 8px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.btn-full-width {
    width: 100%;
}

/* ==========================================================================
   SLIDING CART DRAWER
   ========================================================================== */

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 33, 37, 0.6);
    backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 200;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary);
    color: var(--text-light);
}

.cart-header h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-close-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.8;
}

.cart-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    flex-shrink: 0;
}

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

.cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 2px;
}

.cart-item-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.9rem;
}

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

.remove-cart-item {
    background: transparent;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.remove-cart-item:hover {
    color: #c0392b;
}

.cart-empty-state {
    text-align: center;
    padding: 60px 0;
    color: var(--text-muted);
}

.cart-empty-state i {
    font-size: 3rem;
    color: var(--border-color);
    margin-bottom: 16px;
}

.cart-empty-state p {
    font-size: 0.95rem;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-light);
}

.cart-totals {
    margin-bottom: 20px;
}

/* ==========================================================================
   CHECKOUT FORM SECTION
   ========================================================================== */

.checkout-section {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

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

.checkout-form-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.checkout-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
}

.checkout-form-card h3 i {
    color: var(--secondary);
}

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

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--secondary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(53, 100, 109, 0.1);
}

.form-select {
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--secondary);
    background-color: var(--bg-white);
}

.checkout-terms {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
}

.checkout-terms input {
    margin-top: 4px;
    cursor: pointer;
}

/* ==========================================================================
   QRIS MODAL & DIALOG
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 33, 37, 0.75);
    backdrop-filter: blur(8px);
    z-index: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.qris-modal {
    background-color: var(--bg-white);
    width: 90%;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--border-color);
}

.modal-overlay.active .qris-modal {
    transform: translateY(0);
}

.qris-modal-header {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qris-modal-header h3 {
    color: var(--text-light);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qris-modal-header h3 img {
    height: 24px;
}

.close-modal-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
}

.close-modal-btn:hover {
    opacity: 1;
}

.qris-modal-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qris-timer-box {
    background-color: var(--accent-light);
    color: #b08d1a;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: timerPulse 1s infinite alternate;
}

.qris-amount-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.qris-amount-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 4px 0 20px 0;
}

.qris-code-container {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    position: relative;
}

/* Dynamic simulated QR design */
.qris-qr-image {
    width: 200px;
    height: 200px;
    background-size: cover;
    background-position: center;
    display: block;
}

.qris-logo-accent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-white);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.qris-instructions {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 320px;
}

.qris-status-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    background-color: var(--bg-light);
    padding: 10px 24px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.qris-status-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

/* SUCCESS SCREEN MODAL VIEW */
.success-screen {
    display: none; /* Controlled by JS switching classes */
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
}

.success-screen.active {
    display: flex;
    animation: scaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #2ecc71;
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

.success-title {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.success-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 350px;
}

.receipt-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 20px;
    width: 100%;
    border: 1px dashed var(--border-color);
    margin-bottom: 30px;
    text-align: left;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 6px 0;
}

.receipt-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--text-light);
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.footer-info h3 span {
    color: var(--accent);
}

.footer-info p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 24px;
    max-width: 500px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    opacity: 0.85;
}

.contact-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.footer-links-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.footer-links-group h4 {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.footer-link {
    font-size: 0.88rem;
    opacity: 0.7;
}

.footer-link:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    opacity: 0.6;
    flex-wrap: wrap;
    gap: 20px;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

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

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes loadProgress {
    from { width: 0; }
    to { width: 85%; }
}

@keyframes timerPulse {
    from { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.2); }
    to { transform: scale(1.03); box-shadow: 0 0 10px 4px rgba(212, 175, 55, 0.1); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.6rem;
    }
    
    .hero-content p {
        margin: 0 auto 30px auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .urgency-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .custom-customizer-container {
        grid-template-columns: 1fr;
    }
    
    .customizer-summary-card {
        position: static;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .nav-menu {
        display: none; /* Can implement mobile burger menu if required, keeping it simple for static landing */
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Cart Mobile Responsiveness */
    .cart-item {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .cart-item-details {
        width: calc(100% - 80px); /* 60px img + 20px gap approx */
    }
    
    .cart-item-actions {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        border-top: 1px dashed rgba(255,255,255,0.1);
        padding-top: 10px;
        margin-top: 5px;
    }
}

/* Floating WA Button */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}
.floating-wa:hover {
    transform: scale(1.1);
    color: #fff;
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    .qris-modal {
        width: 95%;
        padding: 15px;
    }
}

/* ==========================================================================
   SIZE CHART (Panduan Ukuran) STYLES
   ========================================================================== */

.size-chart-toggle {
    width: 100%;
}

.btn-size-chart-toggle {
    width: 100%;
    background: rgba(212, 175, 55, 0.08);
    border: 1px dashed rgba(212, 175, 55, 0.4);
    color: var(--accent);
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-size-chart-toggle:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent);
}

.btn-size-chart-toggle i:last-child {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.size-chart-panel {
    margin-top: 10px;
    background: rgba(4, 33, 37, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    animation: fadeSlideDown 0.3s ease;
}

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

.size-chart-tabs {
    display: flex;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
}

.size-tab {
    flex: 1;
    padding: 8px 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.size-tab:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.size-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: rgba(212, 175, 55, 0.06);
}

.size-chart-table-wrap {
    padding: 12px;
    overflow-x: auto;
}

.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    color: white;
}

.size-chart-table thead th {
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent);
    padding: 8px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.size-chart-table tbody td {
    padding: 8px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
}

.size-chart-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.size-chart-table td.size-label {
    font-weight: 700;
    color: var(--accent);
}

/* ==========================================================================
   MANUAL QRIS MODAL STYLES
   ========================================================================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.qris-modal {
    background: var(--bg-dark);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    padding: 24px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qris-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.qris-close-btn:hover {
    color: #e74c3c;
    transform: scale(1.1);
}

.qris-image-container {
    background: white;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qris-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.qris-upload-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.qris-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px dashed var(--accent);
    border-radius: 8px;
    color: var(--accent);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.qris-upload-label:hover {
    background: rgba(212, 175, 55, 0.1);
}

.upload-filename {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    word-break: break-all;
}

.qris-success-popup {
    text-align: center;
}

.success-icon-large {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
}

@media (max-width: 768px) {
    .size-chart-tabs {
        flex-wrap: wrap;
    }
    .size-tab {
        flex: 1 1 50%;
        font-size: 0.72rem;
    }
    .size-chart-table {
        font-size: 0.72rem;
    }
    .size-chart-table thead th,
    .size-chart-table tbody td {
        padding: 6px 8px;
    }
}
