/* ==========================================================================
   LUNA & LOOM - COMPLETE BRAND SYSTEM OVERHAUL
   ========================================================================== */
   

body {
    font-family: 'Sniglet', system-ui, sans-serif;
    background-color: #cbdffa;
    background-image: 
        linear-gradient(45deg, #b0cff7 25%, transparent 25%, transparent 75%, #b0cff7 75%, #b0cff7),
        linear-gradient(45deg, #b0cff7 25%, #cbdffa 25%, #cbdffa 75%, #b0cff7 75%, #b0cff7);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    color: #112643; 
}

header, .pattern-header-fixed {

    position: relative !important;
    width: 100% !important;

    background-image: url("images/Luna Pattern 1.jpg") !important;
    background-repeat: repeat !important;

    border-bottom: 6px solid #366ba7;

    padding: 0 !important;
    overflow: hidden;

    box-shadow: 0 5px 18px rgba(15, 34, 58, 0.2);
}

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

.header-star-decor img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
    animation: starPulse 3s ease-in-out infinite alternate;
}

/* Brand Giant Logo Display Settings */
.brand-logo-giant {
    display: block;
    margin: 0 auto;
}
.header-logo-img-giant {
    height: 220px !important;
    width: auto !important;
    display: block;

    margin-top: -40px;
    margin-bottom: -40px;

    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.12)) !important;
}
.hero-banner {
    padding: 30px 0 !important;
    background: transparent !important;
}
.welcome-image-wrapper {
    max-width: 450px; 
    margin: 0 auto;
    padding: 5px;
}
.welcome-banner-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(11, 26, 46, 0.2);
    border: 5px solid #ffffff;
}

/* Perfectly Balanced Deep Premium Navy Overlay Frame Box */
.hero-text-overlay-balanced {
    margin-top: 20px;
    background: #004aad !important; /* Deep contrast navy */
    padding: 28px 35px;
    border-radius: 26px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 12px 28px rgba(11, 26, 67, 0.3);
    border: 4px solid #ffffff;
    text-align: center;
}
.hero-text-overlay-balanced p {
    font-size: 1.25rem !important;
    color: #e2edff !important; /* Crisp high-contrast text */
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Sniglet', sans-serif;
}

/* Bright Soft Pastel Contrast Action Button */
.btn-custom-bright-star {
    display: inline-block;
    background: #e2edff !important; 
    color: #004aad !important;
    border-radius: 50px !important;
    padding: 14px 45px !important;
    font-size: 1.2rem !important;
    font-family: 'Fredoka', sans-serif !important;
    font-weight: 700;
    text-decoration: none;
    border: 3px solid #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 213, 79, 0.4) !important;
    transition: all 0.2s ease-in-out;
}
.btn-custom-bright-star:hover {
    background: #f8fbfe !important;
    transform: translateY(-2px);
}

/* --- ABOUT US CARD WITH CONTRAST CORRECTIONS --- */
.centered-about-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px 20px;
}
.about-inner-centered {
    max-width: 1200px;
    width: 100%;

    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.about-text-card-centered {
    order: 1;
}

.about-photo-centered {
    order: 2;
    display: flex;
    justify-content: center;
}
.about-text-card-centered {
    background: #f4f9ff !important;
    border: 4px solid #366ba7 !important;
    border-radius: 28px !important;
    padding: 35px 40px !important;
    box-shadow: 0 10px 25px rgba(11,26,46,0.12) !important;
    width: 100%;
}
.about-text-card-centered h2 {
    font-family: 'Shrikhand', serif !important;
    font-size: 2.3rem !important;
    color: #112643 !important;
    margin-bottom: 15px !important;
}
.about-text-card-centered p {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    color: #112643 !important; /* High contrast copy text representation */
}
.about-photo-centered img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
}
/* --- HIGH QUALITY CUSTOMER HIGHLIGHT TILES --- */
.highlight-card {
    background: #f4f9ff !important;
    border: 4px solid #366ba7 !important;
    border-radius: 24px !important;
    padding: 20px;
    text-align: center;
}
.highlight-image-wrapper {
    width: 100%;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    background: #dcebfe;
    margin-bottom: 15px;
    border: 3px solid #366ba7;
}
.highlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- APPLY PATTERN 2 TO THE FOOTER SURFACE --- */
.pattern-footer-fixed {
    background-image: url("images/Luna Pattern 2.jpg") !important; /* Explicit tracking string */
    background-repeat: repeat !important;
    background-size: auto !important;
    padding: 50px 0 !important;
    margin-top: 60px;
    border-top: 6px solid #366ba7;
    box-shadow: 0 -6px 25px rgba(11,26,46,0.25);
}
.footer-logo-img-giant {
    height: 150px !important; /* Substantial branding display height */
    width: auto !important;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.45)) !important;
}

/* --- STAR SEPARATORS --- */
.section-star-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 30px auto;
}
.section-star-divider img {
    height: 30px;
    width: auto;
    animation: starPulse 3s ease-in-out infinite alternate;
}
.section-star-divider img.star-mid {
    height: 48px; 
}

@keyframes starPulse {
    0% { transform: scale(0.85) rotate(-6deg); }
    100% { transform: scale(1.1) rotate(6deg); }
}

/* ==========================================================================
   ORIGINAL BASE FUNCTIONAL STYLES CONTINUE UNCHANGED BELOW...
   ========================================================================== */
   
/* --- GLOBAL VARIABLES & SYSTEM TOKENS --- */
:root {
    --primary-blue:   #004aad;
    --accent-blue:    #80a6e5;
    --light-blue:     #c5d8f8;
    --btn-normal-bg:  #82A1D2;
    --container-bg:   #e2edff;
    --body-bg:        #f8fbfe;
    --text-dark:      #000000;
    --text-light:     #f8fbfe;
    --white:          #ffffff;
    --shadow:         0px 4px 10px rgba(0, 0, 0, 0.1);
    --shadow-md:      0px 6px 18px rgba(0, 74, 173, 0.18);

   
    --font-shrikhand: 'Shrikhand', cursive;
    --font-fredoka: 'Fredoka', sans-serif;
    --font-sniglet: 'Sniglet', cursive;


    /* Gingham pattern used behind the header              */
    --gingham: repeating-conic-gradient(
        rgba(128,166,229,0.25) 0% 25%,
        transparent 0% 50%
    ) 0 0 / 24px 24px;
}

/* FORCE BRAND FONTS ONLY */
h1, h2, h3, h4, h5, h6,
p, span, a, li, label, input, textarea, select, button {
    font-family: inherit !important;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--body-bg);
    color: var(--text-dark);
    font-family: var(--font-calps);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, .brand-logo-text {
    font-family: var(--font-shrikhand) !important;
}

button, .btn-custom, .nav-menu li a, .filter-tab {
    font-family: var(--font-fredoka) !important;
}

p, span, li, label, input, textarea {
    font-family: var(--font-sniglet) !important;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.main-content     { flex: 1; padding: 40px 20px; }
.text-center      { text-align: center; }
.text-left        { text-align: left; }
.mt-20            { margin-top: 20px; }
.mb-20            { margin-bottom: 20px; }
.mb-40            { margin-bottom: 40px; }
.flex             { display: flex; }
.flex-col         { flex-direction: column; }
.items-center     { align-items: center; }
.justify-between  { justify-content: space-between; }
.justify-center   { justify-content: center; }
.gap-15           { gap: 15px; }
.gap-30           { gap: 30px; }
.w-full           { width: 100%; }

/* ============================================================
   HEADER & NAVIGATION
   Mockup: white bg + gingham pattern strip, pill-shaped nav buttons
   ============================================================ */
header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Gingham strip sits behind the nav area only */
header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--gingham);
    opacity: 0.55;
    pointer-events: none;
}

header .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    gap: 0 !important;
}

/* Brand logo text (replaces plain h1 until image assets are ready) */
.brand-logo-text {
    font-size: 30px;
    color: var(--primary-blue);
    line-height: 1;
    letter-spacing: -0.5px;
}
.brand-logo-text span {
    font-family: var(--font-genty);
    font-size: 13px;
    color: var(--accent-blue);
    display: block;
    letter-spacing: 0.4px;
    margin-top: 2px;
}

/* Auth links (Log In / Log Out) — top-right plain links */
.auth-links {
    display: flex;
    gap: 16px;
    font-size: 13px;
    font-weight: 600;
    align-self: flex-start;
}
.auth-links a {
    color: var(--primary-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
.auth-links a:hover { color: var(--accent-blue); }

/* Nav — all links use the moodboard button spec */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* Every nav link matches exact button spec */
.nav-menu li a,
.nav-menu li a.nav-pill {
    display: inline-block;
    text-decoration: none;
    background-color: var(--primary-blue);   /* #004AAD normal */
    color: var(--white);
    font-family: var(--font-genty);
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 15px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Hover state = #82A1D2 medium blue */
.nav-menu li a:hover,
.nav-menu li a.nav-pill:hover {
    background-color: var(--btn-normal-bg);  /* #82A1D2 */
    color: var(--text-dark);
}

/* Active state = #E2EDFF light blue, dark blue text */
.nav-menu li a.active,
.nav-menu li a.nav-pill.active {
    background-color: var(--container-bg);   /* #E2EDFF */
    color: var(--primary-blue);
}

/* ============================================================
   BUTTONS  — exact spec from moodboard page 3
   NORMAL:  #82A1D2 bg, #000000 text
   HOVER:   #004AAD bg, #F8FBFE text
   ACTIVE:  #E2EDFF bg, #004AAD text
   Padding: 20px 30px  |  Border-radius: 15px
   ============================================================ */
.btn-custom {
    background-color: var(--primary-blue);   /* #004AAD normal */
    color: var(--white);
    font-family: var(--font-genty);
    font-size: 16px;
    font-weight: 500;
    padding: 20px 30px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: background-color 0.25s ease, color 0.25s ease;
    line-height: 1.2;
}
.btn-custom:hover {
    background-color: var(--btn-normal-bg);  /* #82A1D2 hover */
    color: var(--text-dark);
}
.btn-custom:active {
    background-color: var(--container-bg);   /* #E2EDFF active */
    color: var(--primary-blue);
}

.btn-small { padding: 10px 20px; border-radius: 15px; font-size: 14px; }
.btn-block { width: 100%; display: block; }

/* Dark solid variant — for Proceed/Send/Track */
.btn-dark {
    background-color: var(--primary-blue);
    color: var(--white);
}
.btn-dark:hover {
    background-color: var(--btn-normal-bg);
    color: var(--text-dark);
}
.btn-dark:active {
    background-color: var(--container-bg);
    color: var(--primary-blue);
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
    justify-content: center;
    gap: 30px;
}

/* ============================================================
   CARDS  (forms, reviews, basket, etc.)
   ============================================================ */
.card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 24px;
    box-shadow: var(--shadow);
}

/* ============================================================
   PRODUCT CARDS  — dark blue outer frame, white inner window
   Spec: mockup page 2
   ============================================================ */
.product-card {
    background-color: var(--primary-blue);
    border-radius: 25px;
    padding: 20px;
    text-align: center;
    text-decoration: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    width: 100%;
    max-width: 300px;
    margin: 0 auto;

    box-shadow: var(--shadow-md);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 24px rgba(0, 42, 99, 0.25);
}

/* White rounded image window */
.product-card .img-window {
    width: 100%;
    max-width: 220px;
    height: 220px;
    background-color: var(--white);
    border-radius: 18px;
    padding: 12px;
    margin: 0 auto 16px auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .img-window img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.product-title {
    color: var(--text-light);
    font-family: var(--font-calps);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 4px;
}
.product-price {
    color: var(--text-light);
    font-family: var(--font-genty);
    font-size: 18px;
    font-weight: 700;
    margin-top: 8px;
}

/* ============================================================
   HERO SECTION  — full-width dark blue banner (index.php)
   ============================================================ */
.hero-banner {
    background-color: var(--primary-blue);
    width: 100%;
    text-align: center;
    padding: 70px 20px 80px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

/* Decorative large ghost text behind hero heading */
.hero-banner .hero-ghost {
    font-family: var(--font-genty);
    font-size: clamp(60px, 14vw, 130px);
    color: rgba(255,255,255,0.10);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
}

.hero-banner h2 {
    font-family: var(--font-genty);
    font-size: clamp(28px, 6vw, 52px);
    color: var(--white);
    position: relative;
    margin-bottom: 12px;
    line-height: 1.15;
}
.hero-banner p {
    color: var(--light-blue);
    font-size: 16px;
    max-width: 480px;
    margin: 0 auto 28px;
    position: relative;
}
/* Hero button — outline added */
.hero-banner .btn-custom {
    outline: 3px solid var(--white);
    outline-offset: 3px;
}

/* ============================================================
   ABOUT US SECTION  — light blue bg, two-column (index.php)
   ============================================================ */
.about-section {
    background-color: var(--accent-blue);
    padding: 60px 20px;
}
.about-section h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 16px;
}
.about-section p {
    color: var(--white);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 14px;
}
.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-photo {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: var(--container-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--primary-blue);
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* ============================================================
   HIGHLIGHTED PINS / FEATURED SECTION
   ============================================================ */
.featured-section {
    padding: 60px 20px;
    background-color: var(--body-bg);
}
.featured-section h2 {
    color: var(--primary-blue);
    font-size: 28px;
    text-align: center;
    margin-bottom: 6px;
}
.featured-section .sub {
    text-align: center;
    color: var(--primary-blue);
    font-size: 14px;
    margin-bottom: 32px;
}

/* Pin showcase cards — rounded blue border, photo inside */
.pin-card {
    border: 4px solid var(--primary-blue);
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1/1;
    background-color: var(--container-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pin-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   REVIEWS SECTION  — spec from moodboard page 3
   ============================================================ */
.reviews-section {
    background-color: var(--container-bg);
    padding: 60px 20px;
    border-radius: 0;
}
.reviews-section h2 {
    color: var(--primary-blue);
    font-size: 28px;
    text-align: center;
    margin-bottom: 32px;
}

.review-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 4px;
    background-color: var(--container-bg);
}
.review-name {
    font-family: var(--font-genty);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
}
.review-role {
    font-family: var(--font-genty);
    font-size: 11px;
    font-weight: 400;
    color: var(--btn-normal-bg);
}
.review-quote {
    font-family: var(--font-calps);
    font-size: 13px;
    font-weight: 300;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.55;
}

/* ============================================================
   IMG PLACEHOLDER (dev only — remove when real images added)
   ============================================================ */
.img-placeholder {
    background-color: var(--container-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 600;
    min-height: 160px;
}

/* ============================================================
   SLIDER  (product.php)
   ============================================================ */
.slider-container { position: relative; width: 100%; }
.slider-main {
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--container-bg);
    aspect-ratio: 1/1;
    position: relative;
}
.slider-img {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
    position: absolute;
    inset: 0;
}
.slider-img.active { display: flex; }
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-blue);
    cursor: pointer;
    transition: background-color 0.2s;
}
.dot.active { background-color: var(--primary-blue); }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 6px;
    font-size: 14px;
}
.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--container-bg);
    border-radius: 50px; /* pill-shaped inputs matching mockup */
    font-size: 15px;
    background-color: var(--body-bg);
    outline: none;
    font-family: var(--font-calps);
    color: var(--primary-blue);
    transition: border-color 0.2s;
}
.form-control:focus { border-color: var(--accent-blue); }

/* Textarea and select keep slightly less rounding */
textarea.form-control { border-radius: 16px; resize: vertical; }
select.form-control   { border-radius: 50px; }

/* Placeholder styling */
.form-control::placeholder { color: var(--btn-normal-bg); }

/* ============================================================
   BASKET PAGE
   ============================================================ */
.basket-left  { background-color: var(--primary-blue); border-radius: 20px; padding: 28px; color: var(--white); }
.basket-left h2 { color: var(--white); margin-bottom: 20px; }
.basket-left table { width: 100%; border-collapse: collapse; }
.basket-left td { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.15); color: var(--white); font-size: 14px; }
.basket-left .grand-total { margin-top: 20px; font-size: 18px; font-weight: 700; color: var(--white); text-align: center; }

/* Checkout right panel */
.checkout-panel { background-color: var(--accent-blue); border-radius: 20px; padding: 28px; }
.checkout-panel h2 { color: var(--primary-blue); margin-bottom: 20px; }

/* Payment mode selector */
.payment-section {
    background-color: var(--container-bg);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
}
.payment-section h3 { color: var(--primary-blue); margin-bottom: 20px; font-size: 20px; }
.payment-options { display: flex; gap: 16px; justify-content: center; margin-bottom: 20px; }
.payment-btn {
    flex: 1;
    max-width: 180px;
    padding: 18px;
    border: 3px solid transparent;
    border-radius: 15px;
    background-color: var(--primary-blue);
    color: var(--white);
    font-family: var(--font-genty);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.payment-btn:hover {
    background-color: var(--btn-normal-bg);
    color: var(--text-dark);
    border-color: transparent;
}
.payment-btn.selected {
    background-color: var(--container-bg);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* ============================================================
   TRACK PAGE
   ============================================================ */
.track-section { max-width: 700px; margin: 0 auto; }
.track-section h2 { color: var(--primary-blue); font-size: 28px; text-align: center; margin-bottom: 28px; }

/* Order card */
.order-card {
    background-color: var(--accent-blue);
    border-radius: 20px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}
.order-card .order-thumb {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    background-color: var(--primary-blue);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    overflow: hidden;
}
.order-card .order-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-info { flex: 1; }
.order-info p { color: var(--white); font-size: 14px; line-height: 1.5; }
.order-info .order-total { color: var(--white); font-size: 14px; margin-top: 4px; }
.order-id   { font-weight: 700; color: var(--white); font-size: 13px; margin-bottom: 4px; }
.order-status-badge {
    font-family: var(--font-genty);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: right;
    flex-shrink: 0;
    min-width: 120px;
}

/* Legacy timeline (search by ID view) */
.timeline { margin-top: 20px; }
.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    opacity: 0.35;
    transition: opacity 0.2s;
}
.timeline-step.active { opacity: 1; }
.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    border: 3px solid var(--primary-blue);
    flex-shrink: 0;
    margin-top: 3px;
}
.timeline-step.active .timeline-dot { background-color: var(--primary-blue); }
.timeline-step h4 { font-size: 14px; color: var(--primary-blue); }

/* Need Help button */
.need-help-wrap { text-align: right; margin-top: 10px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}
.contact-info h2 { color: var(--primary-blue); font-size: 28px; margin-bottom: 10px; }
.contact-info p  { color: var(--text-dark); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.contact-socials { display: flex; flex-direction: column; gap: 10px; }
.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 15px;
    transition: color 0.2s;
}
.social-link:hover { color: var(--accent-blue); }
.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.contact-form-card {
    background-color: var(--accent-blue);
    border-radius: 20px;
    padding: 30px;
}
.contact-form-card h3 { color: var(--white); font-size: 20px; text-align: center; margin-bottom: 20px; }
.contact-form-card .form-control {
    background-color: var(--body-bg);
    border-color: transparent;
    color: var(--primary-blue);
}
.contact-form-card .btn-custom {
    background-color: var(--primary-blue);
    color: var(--white);
}
.contact-form-card .btn-custom:hover {
    background-color: var(--btn-normal-bg);
    color: var(--text-dark);
}
.contact-form-card .btn-custom:active {
    background-color: var(--container-bg);
    color: var(--primary-blue);
}

/* ============================================================
   AUTH PAGES  (Login / Sign Up)
   ============================================================ */
.auth-page {
    min-height: 100vh;
    background-color: var(--body-bg);
    display: flex;
    flex-direction: column;
}
.auth-back-btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    margin: 20px;
    align-self: flex-start;
    transition: background-color 0.2s;
}
.auth-back-btn:hover { background-color: #003080; }

.auth-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

/* Decorative star (top-right corner of auth pages) */
.auth-star {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 140px;
    height: 140px;
    opacity: 0.6;
    pointer-events: none;
}

.auth-logo {
    font-family: var(--font-genty);
    font-size: 42px;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1;
}

.auth-card {
    background-color: var(--accent-blue);
    border-radius: 24px;
    padding: 36px 32px;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.auth-card h2 {
    color: var(--primary-blue);
    font-size: 28px;
    text-align: center;
    margin-bottom: 24px;
}
.auth-card .form-control {
    background-color: var(--body-bg);
    border-color: transparent;
}
.auth-card .btn-custom {
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50px;
}
.auth-card .btn-custom:hover {
    background-color: #003080;
    color: var(--white);
}
.auth-links-bottom {
    text-align: right;
    font-size: 13px;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.auth-links-bottom a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Alert / error messages */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    text-align: center;
}
.alert-error   { background-color: #ffe6e6; color: #cc0000; }
.alert-success { background-color: #e6f4ea; color: #137333; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 28px 20px;
}
footer .brand-logo-text { color: var(--white); font-size: 24px; }
footer p { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 6px; }

/* ============================================================
   SHOP PAGE — filter tab buttons
   ============================================================ */
.filter-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.filter-tab {
    padding: 10px 20px;
    border-radius: 15px;
    border: none;
    background-color: var(--primary-blue);
    color: var(--white);
    font-family: var(--font-genty);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.filter-tab:hover {
    background-color: var(--btn-normal-bg);
    color: var(--text-dark);
}
.filter-tab.active {
    background-color: var(--container-bg);
    color: var(--primary-blue);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* ---------- LARGE DESKTOPS ---------- */
@media (min-width: 1400px) {

    .container {
        max-width: 1400px;
    }

    .grid-3 {
        grid-template-columns: repeat(4, 300px);
        justify-content: center;
    }

    .header-logo-img-giant {
        height: 230px !important;
        margin-top: -45px;
        margin-bottom: -45px;
    }
}

/* ---------- LAPTOPS ---------- */
@media (max-width: 1399px) {

    .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
        justify-content: center;
    }

    .header-logo-img-giant {
        height: 190px !important;
        margin-top: -35px;
        margin-bottom: -35px;
    }
}

/* ---------- TABLETS ---------- */
@media (max-width: 992px) {

    .container {
        padding: 0 16px;
    }

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

    .header-logo-img-giant {
        height: 150px !important;
        margin-top: -20px;
        margin-bottom: -20px;
    }

    .nav-menu {
        justify-content: center;
        gap: 8px;
    }

    .nav-menu li a {
        padding: 10px 16px;
        font-size: 13px;
    }

    .hero-text-overlay-balanced {
        padding: 24px;
    }

    .hero-text-overlay-balanced p {
        font-size: 1.05rem !important;
    }

    .about-inner,
    .contact-layout,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(220px, 280px));
        justify-content: center;
    }

    .product-card {
        max-width: 280px;
    }

    .img-window {
        max-width: 200px;
        height: 200px;
    }

    .payment-options {
        flex-direction: column;
        align-items: center;
    }
}

.about-inner-centered {
    grid-template-columns: 1fr;
}

.about-text-card-centered {
    order: 1;
}

.about-photo-centered {
    order: 2;
}

/* ---------- PHONES ---------- */
@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .main-content {
        padding: 25px 12px;
    }

    .header-logo-img-giant {
        height: 120px !important;
        margin-top: -10px;
        margin-bottom: -10px;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
    }

    .nav-menu li a {
        font-size: 12px;
        padding: 9px 14px;
    }

    .hero-banner {
        padding: 35px 15px 45px;
    }

    .hero-banner h2 {
        font-size: 26px;
    }

    .hero-banner p {
        font-size: 14px;
    }

    .hero-text-overlay-balanced {
        padding: 18px;
        border-radius: 18px;
    }

    .hero-text-overlay-balanced p {
        font-size: 0.95rem !important;
    }

    .btn-custom-bright-star,
    .btn-custom {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .product-card {
        width: 100%;
        max-width: 300px;
    }

    .product-card .img-window {
        max-width: 180px;
        height: 180px;
    }

    .about-text-card-centered,
    .contact-form-card,
    .auth-card,
    .track-guest-card {
        padding: 22px;
    }

    .filter-tabs {
        gap: 8px;
    }

    .filter-tab {
        font-size: 12px;
        padding: 9px 14px;
    }

    .order-card {
        flex-direction: column;
        text-align: center;
    }

    .order-status-badge {
        width: 100%;
        text-align: center;
    }

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

    .track-input {
        width: 100%;
    }
}

.about-inner-centered {
    grid-template-columns: 1fr;
}

.about-text-card-centered {
    order: 1;
}

.about-photo-centered {
    order: 2;
}

/* ---------- SMALL PHONES ---------- */
@media (max-width: 480px) {

    .header-logo-img-giant {
        height: 95px !important;
    }

    .hero-banner h2 {
        font-size: 22px;
    }

    .hero-text-overlay-balanced {
        padding: 15px;
    }

    .product-card {
        max-width: 260px;
        padding: 16px;
    }

    .product-card .img-window {
        max-width: 150px;
        height: 150px;
    }

    .product-title {
        font-size: 14px;
    }

    .product-price {
        font-size: 16px;
    }

    .btn-custom,
    .btn-custom-bright-star {
        width: 100%;
    }

    .auth-card,
    .contact-form-card,
    .about-text-card-centered {
        padding: 18px !important;
    }
}

.about-inner-centered {
    grid-template-columns: 1fr;
}

.about-text-card-centered {
    order: 1;
}

.about-photo-centered {
    order: 2;
}
/* ============================================================
   ADDITIONAL CLASSES (referenced by cleaned PHP files)
   ============================================================ */

/* Basket */
.price-cell   { text-align: right; }
.grand-total  { margin-top: 20px; text-align: right; color: var(--white); font-size: 18px; font-weight: 700; }
.btn-clear    { background: rgba(255,255,255,0.2); color: var(--white); }
.btn-clear:hover { background: rgba(255,255,255,0.35); color: var(--white); }

/* Track */
.need-help-link {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
}
.need-help-link:hover { color: var(--accent-blue); }

.track-guest-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.track-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.track-input { width: 60%; min-width: 180px; }

/* Auth pages */
.auth-back-link {
    display: inline-block;
    color: var(--accent-blue);
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 20px;
}
.auth-back-link:hover { color: var(--primary-blue); }

/* Contact */
.socials-label {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 15px;
}
.social-icon-fb  { background: var(--primary-blue); color: var(--white); }
.social-icon-tik { background: var(--text-dark);    color: var(--white); }

/* Product page */
.back-link {
    display: inline-block;
    color: var(--accent-blue);
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 20px;
}
.back-link:hover { color: var(--primary-blue); }

.product-desc {
    line-height: 1.7;
    font-size: 15px;
    color: var(--text-dark);
}

.price-total {
    color: var(--primary-blue);
    font-size: 20px;
}

/* Basket item name (replaces <strong> + <br>) */
.item-name {
    font-weight: 700;
    display: block;
}

/* Basket item finish label (replaces <small> tag) */
.item-finish {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.75);
    display: block;
}

/* Contact textarea height (replaces rows="5" attribute) */
.contact-message {
    height: 140px;
    resize: vertical;
}

/* Fallback label inside product image window (shop.php static fallback) */
.fallback-label {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 18px;
}

/* Filter hide utility (replaces inline style.display in script.js) */
.hidden { display: none !important; }

.slider-img-1 { background: var(--container-bg); }
.slider-img-2 { background: #cbd5e1; }
.slider-img-3 { background: #94a3b8; }

.slider-placeholder {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 18px;
}
.slider-placeholder--light { color: var(--white); 


