/* =====================================================================
   PHARAOHS LIGHT EGYPTIAN THEME (فراعنة)
   Matching the reference design: Cream/Beige + Gold
   ===================================================================== */

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

:root {
    /* Light Theme Palette */
    --ph-bg-main: #faf6ee;
    --ph-bg-surface: #fff8ec;
    --ph-bg-card: #ffffff;
    --ph-bg-card-light: #fbf8f3;
    --ph-gold-100: #fcedc7;
    --ph-gold-200: #c8930a;
    --ph-gold-300: #b8860b;
    --ph-gold-400: #936d12;
    --ph-gold-gradient: linear-gradient(135deg, #c8930a 0%, #dfb76c 40%, #c59b27 75%, #936d12 100%);
    --ph-gold-subtle: rgba(200, 147, 10, 0.08);
    --ph-border-gold: rgba(200, 147, 10, 0.25);
    --ph-text-primary: #2c2416;
    --ph-text-dark: #1a1309;
    --ph-text-gold: #c8930a;
    --ph-text-muted: #7a6e5d;
    --ph-red-accent: #dc2626;
    --ph-green-accent: #059669;
    --ph-shadow-gold: 0 8px 24px rgba(200, 147, 10, 0.15);
}

html {
    height: 100%;
}

body {
    background-color: var(--ph-bg-main) !important;
    color: var(--ph-text-primary) !important;
    margin: 0 !important;
    padding-top: 0 !important; /* Removes Start Bootstrap 70px gap */
    padding-bottom: 0 !important; /* No unwanted space below footer */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#app {
    flex: 1 0 auto;
}

footer,
body footer {
    margin-bottom: 0 !important;
    flex-shrink: 0;
}

html[dir="rtl"] body {
    direction: rtl !important;
    text-align: right !important;
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif !important;
}

html[dir="ltr"] body {
    direction: ltr !important;
    text-align: left !important;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
}

html[dir="ltr"] .dropdown-menu {
    text-align: left !important;
}

/* =====================================================================
   EXPANDED LUXURY CONTAINER (Reduced Side Margins & Scaled Sections)
   ===================================================================== */
.container,
.ph-header-container {
    width: 95% !important;
    max-width: 1540px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.ph-main-content-container {
    width: 95% !important;
    max-width: 1540px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 20px !important;
}

@media (min-width: 1200px) {
    .container,
    .ph-header-container,
    .ph-main-content-container {
        width: 95% !important;
        max-width: 1540px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (min-width: 1600px) {
    .container,
    .ph-header-container,
    .ph-main-content-container {
        width: 95% !important;
        max-width: 1600px !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
}

/* =====================================================================
   TOP LUXURY HEADER & NAVBAR (Matching Reference Mockup)
   ===================================================================== */
.ph-header-wrapper {
    background-color: #ffffff !important;
    border-bottom: 1px solid #efe8dc;
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Top Announcement Ticker (Dark Navy Bar Matching Mockup) */
.ph-top-ticker {
    background: #0b1a2d !important;
    border-bottom: none;
    padding: 7px 0;
    font-size: 11.5px;
    color: #ffffff;
}

.ph-top-ticker-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    direction: rtl;
}

.ph-ticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.ph-ticker-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ph-ticker-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 11.5px;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ph-ticker-links a:hover {
    color: #ffffff;
    text-decoration: none;
}

.ph-ticker-sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 10px;
}

.ph-lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ffffff !important;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s;
}

.ph-lang-pill:hover {
    color: var(--ph-gold-100) !important;
}

/* Main Navigation Bar */
.ph-main-nav {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
}

/* Zone 1: Right (Brand Logo & Location) */
.ph-nav-right-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.ph-brand-logo {
    height: 56px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.ph-brand-logo-img {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 2px 8px rgba(200, 147, 10, 0.35));
    transition: transform 0.25s ease;
}

.ph-brand-logo:hover .ph-brand-logo-img {
    transform: scale(1.06);
}

.ph-brand-name-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.ph-brand-name-ar {
    font-size: 20px;
    font-weight: 900;
    color: var(--ph-gold-300);
    letter-spacing: 0.5px;
}

.ph-brand-name-en {
    font-size: 9px;
    font-weight: 700;
    color: var(--ph-text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Delivery Location Chip */
.ph-delivery-chip {
    background: rgba(200, 147, 10, 0.06);
    border: 1px solid var(--ph-border-gold);
    border-radius: 10px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--ph-text-primary);
    white-space: nowrap;
}

.ph-delivery-chip:hover {
    background: rgba(200, 147, 10, 0.12);
    border-color: var(--ph-gold-200);
}

.ph-delivery-chip .ph-chip-icon {
    color: var(--ph-gold-200);
    font-size: 15px;
}

.ph-delivery-chip .ph-chip-label {
    font-size: 10px;
    color: var(--ph-text-muted);
    line-height: 1.1;
    margin-bottom: 2px;
}

.ph-delivery-chip .ph-chip-val {
    font-size: 12px;
    font-weight: 800;
    color: var(--ph-text-dark);
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Zone 2: Center (Smart Omnibox Search) */
.ph-search-bar {
    flex: 1;
    max-width: 620px;
    min-width: 220px;
    margin: 0 10px;
}

.ph-search-input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid var(--ph-border-gold);
    border-radius: 26px;
    padding: 3px 6px 3px 14px;
    box-shadow: 0 2px 8px rgba(200, 147, 10, 0.08);
    transition: all 0.25s ease;
}

.ph-search-input-group:focus-within {
    border-color: var(--ph-gold-200);
    box-shadow: 0 0 16px rgba(200, 147, 10, 0.2);
}

.ph-search-input {
    background: transparent !important;
    border: none !important;
    color: var(--ph-text-primary) !important;
    font-size: 13.5px;
    padding: 6px 10px;
    width: 100%;
    outline: none !important;
}

.ph-search-input::placeholder {
    color: #a09080 !important;
}

.ph-search-btn-icon {
    background: transparent;
    border: none;
    color: var(--ph-gold-200);
    font-size: 15px;
    cursor: pointer;
    padding: 6px 8px;
    transition: all 0.2s;
    opacity: 0.85;
}

.ph-search-btn-icon:hover {
    transform: scale(1.1);
    color: var(--ph-gold-300);
    opacity: 1;
}

.ph-search-submit-btn {
    background: var(--ph-gold-200);
    color: #fff !important;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.ph-search-submit-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 2px 10px rgba(200, 147, 10, 0.4);
}

/* Zone 3: Left (Cart & User Auth) */
.ph-nav-left-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ph-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 147, 10, 0.06);
    border: 1px solid var(--ph-border-gold);
    border-radius: 20px;
    padding: 6px 14px;
    color: var(--ph-text-primary) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.ph-cart-btn:hover {
    background: rgba(200, 147, 10, 0.14);
    border-color: var(--ph-gold-200);
    color: var(--ph-gold-200) !important;
}

.ph-cart-badge {
    background: var(--ph-gold-200);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.ph-auth-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ph-btn-login {
    background: transparent;
    border: 1px solid var(--ph-border-gold);
    color: var(--ph-text-primary) !important;
    font-weight: 700;
    font-size: 12.5px;
    padding: 6px 14px;
    border-radius: 18px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.ph-btn-login:hover {
    background: rgba(200, 147, 10, 0.1);
    border-color: var(--ph-gold-200);
    color: var(--ph-gold-200) !important;
}

.ph-btn-register {
    background: #0b1a2d !important;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 12.5px;
    padding: 7px 20px;
    border-radius: 20px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    box-shadow: 0 2px 10px rgba(11, 26, 45, 0.25);
    transition: all 0.2s ease;
}

.ph-btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(11, 26, 45, 0.4);
    background: #152c4a !important;
    color: #ffffff !important;
}

.ph-user-dropdown-btn {
    background: rgba(200, 147, 10, 0.06);
    border: 1px solid var(--ph-border-gold);
    color: var(--ph-text-primary) !important;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ph-user-dropdown-btn:hover {
    background: rgba(200, 147, 10, 0.14);
    border-color: var(--ph-gold-200);
}

/* Secondary Navigation Bar (Clean White Background Matching Mockup) */
.ph-sub-nav {
    background: #ffffff !important;
    border-top: 1px solid #f2ede4;
    border-bottom: 1px solid #f2ede4;
    padding: 7px 0;
}

.ph-sub-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.ph-sub-nav-categories {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.ph-sub-nav-categories::-webkit-scrollbar {
    display: none;
}

.ph-sub-nav-item a {
    color: #3d3429 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    padding: 5px 9px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.ph-sub-nav-item a:hover {
    color: #b07a16 !important;
}

.ph-sub-nav-item.active a {
    color: #ffffff !important;
    background: #b07a16 !important;
    border-radius: 20px !important;
    padding: 5px 16px !important;
    font-weight: 800;
}

.ph-subnav-link {
    color: #3d3429 !important;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none !important;
    padding: 5px 10px;
    transition: color 0.2s;
    cursor: pointer;
    display: inline-block;
}

.ph-subnav-link:hover {
    color: #b07a16 !important;
}

.ph-sub-nav-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ph-smart-features-btn {
    background: rgba(200, 147, 10, 0.08);
    border: 1px solid var(--ph-border-gold);
    color: var(--ph-gold-200) !important;
    font-weight: 700;
    border-radius: 18px;
    font-size: 12px;
    padding: 5px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.ph-smart-features-btn:hover {
    background: rgba(200, 147, 10, 0.18);
    color: var(--ph-gold-300) !important;
}

.ph-wheel-nav-btn {
    background: var(--ph-gold-200);
    color: #fff !important;
    font-weight: 900;
    border: none;
    border-radius: 18px;
    padding: 5px 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(200, 147, 10, 0.3);
    transition: all 0.2s;
    animation: phWheelPulse 3s infinite ease-in-out;
}

@keyframes phWheelPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 2px 10px rgba(200, 147, 10, 0.3); }
    50% { transform: scale(1.04); box-shadow: 0 4px 18px rgba(200, 147, 10, 0.5); }
}

.ph-ai-stylist-btn {
    background: rgba(200, 147, 10, 0.08);
    color: var(--ph-gold-200) !important;
    font-weight: 800;
    border: 1px solid var(--ph-border-gold);
    border-radius: 18px;
    padding: 5px 12px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    transition: all 0.2s;
}

.ph-ai-stylist-btn:hover {
    background: rgba(200, 147, 10, 0.18);
    border-color: var(--ph-gold-200);
    color: var(--ph-gold-300) !important;
}

/* Header Responsiveness */
@media (min-width: 1400px) {
    .ph-search-bar {
        max-width: 780px;
    }
    .col-xl-custom {
        width: 20% !important; /* 5 columns per row */
        float: right !important;
    }
}

@media (min-width: 1750px) {
    .ph-search-bar {
        max-width: 860px;
    }
    .col-xl-custom {
        width: 16.666667% !important; /* 6 columns per row */
        float: right !important;
    }
}

@media (max-width: 1200px) {
    .ph-search-bar {
        max-width: 440px;
    }
}

@media (max-width: 991px) {
    .ph-header-container {
        padding: 0 12px;
    }
    .ph-delivery-chip .ph-chip-label {
        display: none;
    }
    .ph-search-bar {
        max-width: 320px;
    }
    .ph-btn-register {
        display: none;
    }
}

@media (max-width: 768px) {
    .ph-header-container {
        padding: 0 10px;
    }
    .ph-top-ticker {
        padding: 4px 0;
        font-size: 11px;
    }
    .ph-top-ticker-inner {
        justify-content: center;
        text-align: center;
    }
    .ph-main-nav {
        padding: 8px 0;
        gap: 10px;
        flex-wrap: wrap;
    }
    .ph-brand-logo {
        height: 38px;
    }
    .ph-brand-logo-img {
        height: 34px;
        width: 34px;
    }
    .ph-delivery-chip {
        display: none;
    }
    .ph-search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 4px 0 0 0;
    }
    .ph-search-input-group {
        padding: 1px 10px;
    }
    .ph-search-input {
        font-size: 13px;
        padding: 6px 8px;
    }
    .ph-sub-nav {
        padding: 6px 0;
        overflow-x: auto;
    }
    .ph-sub-nav-inner {
        width: max-content;
        gap: 10px;
    }
    .ph-sub-nav-categories {
        gap: 6px;
    }
    .ph-sub-nav-item a {
        font-size: 12px;
        padding: 5px 8px;
    }
}

/* =====================================================================
   HERO BANNER - EXPANDED & GRAND (Bigger Size & Scale)
   ===================================================================== */
.ph-hero-banner {
    border-radius: 24px;
    overflow: hidden;
    margin: 15px 0 25px 0;
    position: relative;
    max-width: 100%;
}

/* Warm Golden Hero Theme */
.ph-hero-golden {
    background: #c89111;
    background: linear-gradient(135deg, #d89f16 0%, #c18809 100%);
    box-shadow: 0 10px 35px rgba(180, 130, 10, 0.22);
    height: 580px;
    min-height: 580px;
}

.ph-hero-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 580px;
    position: relative;
    overflow: hidden;
    direction: rtl;
}

/* Text Side (right in RTL) */
.ph-hero-text-side {
    flex: 0 0 56%;
    max-width: 56%;
    padding: 60px 65px 45px 15px;
    z-index: 3;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ph-hero-badge-wrap {
    margin-bottom: 18px;
}

.ph-hero-badge-new {
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 6px 24px;
    border-radius: 22px;
}

.ph-hero-title-new {
    font-size: 58px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 14px 0;
    line-height: 1.25;
    font-family: 'Cairo', sans-serif;
}

.ph-hero-title-line {
    display: block;
    color: #ffffff;
}

.ph-hero-highlight {
    font-size: 58px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    padding: 4px 28px;
    display: inline-block;
    color: #ffffff;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.ph-hero-subtitle-new {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px 0;
    font-family: 'Cairo', sans-serif;
}

.ph-hero-desc-new {
    color: rgba(255, 255, 255, 0.94);
    font-size: 16.5px;
    line-height: 1.7;
    margin: 0 0 28px 0;
    max-width: 580px;
}

.ph-hero-btns-new {
    display: flex;
    gap: 16px;
    align-items: center;
}

.ph-btn-hero-primary {
    background: #0b1a2d;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 17.5px;
    padding: 14px 44px;
    border-radius: 28px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.ph-btn-hero-primary:hover {
    background: #152c4a;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.ph-btn-hero-secondary {
    background: #ffffff;
    color: #2c2416 !important;
    font-weight: 800;
    font-size: 17.5px;
    padding: 14px 38px;
    border-radius: 28px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.ph-btn-hero-secondary:hover {
    background: #fbf8f2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Hero Image Side (left in RTL) */
.ph-hero-image-side {
    flex: 0 0 44%;
    max-width: 44%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    height: 100%;
}

.ph-hero-glow-circle {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.ph-hero-character-img {
    height: 580px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: bottom center !important;
    position: relative;
    z-index: 2;
    display: block;
    transform: scale(1.05);
    transform-origin: bottom center;
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.24));
}

/* Responsive Hero */
@media (max-width: 991px) {
    .ph-hero-inner {
        padding: 30px 30px 0 20px;
        min-height: 280px;
    }
    .ph-hero-title-new {
        font-size: 28px;
    }
    .ph-hero-highlight {
        font-size: 36px;
    }
    .ph-hero-character-img {
        height: 280px;
    }
    .ph-hero-text-side {
        max-width: 58%;
    }
    .ph-hero-image-side {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .ph-hero-inner {
        flex-direction: column-reverse;
        align-items: center;
        padding: 20px 20px 0 20px;
        min-height: auto;
    }
    .ph-hero-text-side {
        max-width: 100%;
        text-align: center;
        padding-bottom: 25px;
    }
    .ph-hero-image-side {
        width: 100%;
        justify-content: center;
    }
    .ph-hero-character-img {
        height: 220px;
    }
    .ph-hero-title-new {
        font-size: 24px;
    }
    .ph-hero-highlight {
        font-size: 30px;
    }
    .ph-hero-btns-new {
        justify-content: center;
    }
    .ph-hero-desc-new {
        max-width: 100%;
    }
}

/* =====================================================================
   CATEGORY CIRCLES (Expanded Scale - Bigger Circles & Icons)
   ===================================================================== */
.ph-categories-section {
    margin: 30px 0 20px 0;
}

.ph-categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.ph-categories-title {
    font-weight: 800;
    color: var(--ph-text-primary);
    font-size: 21px;
    margin: 0;
}

.ph-categories-all-link {
    color: #b07a16;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: color 0.2s;
}

.ph-categories-all-link:hover {
    color: #8c600f;
}

.ph-category-strip {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.ph-category-circle-card {
    flex: 1;
    text-align: center;
    text-decoration: none !important;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ph-category-circle-card:hover {
    transform: translateY(-4px);
}

.ph-category-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #f3ead8 !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    color: #8c6721 !important;
    transition: all 0.25s ease;
}

.ph-category-circle svg {
    width: 36px;
    height: 36px;
    color: #8c6721;
    stroke: #8c6721;
    transition: transform 0.2s ease;
}

.ph-category-circle-card:hover .ph-category-circle {
    background: #ebdcc1 !important;
    transform: scale(1.06);
}

.ph-category-circle-card:hover .ph-category-circle svg {
    transform: scale(1.1);
}

.ph-category-name {
    font-size: 14px;
    font-weight: 700;
    color: #2c2416;
    white-space: nowrap;
    text-align: center;
    transition: color 0.2s;
}

.ph-category-circle-card:hover .ph-category-name {
    color: #b07a16;
}

/* =====================================================================
   PRODUCT CARDS (Light Background Cards)
   ===================================================================== */
.ph-product-card {
    background: #ffffff;
    border: 1px solid rgba(200, 147, 10, 0.18);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 12px rgba(200, 147, 10, 0.08);
}

.ph-product-card:hover {
    transform: translateY(-6px);
    border-color: var(--ph-gold-200);
    box-shadow: 0 12px 36px rgba(200, 147, 10, 0.2);
}

/* Product Image Stage */
.ph-product-img-box {
    position: relative;
    height: 220px;
    background: #faf6ee;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-bottom: 1px solid rgba(200, 147, 10, 0.1);
}

.ph-product-img-box a {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.ph-product-img {
    max-height: 185px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ph-product-card:hover .ph-product-img {
    transform: scale(1.08);
}

/* Express Badge */
.ph-express-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--ph-gold-200);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(200, 147, 10, 0.3);
    letter-spacing: 0.3px;
}

/* Card Body */
.ph-product-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.ph-product-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ph-text-primary);
    margin: 0 0 8px 0;
    height: 44px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ph-product-title a {
    color: inherit;
    text-decoration: none;
}

.ph-product-title a:hover {
    color: var(--ph-gold-200);
}

.ph-product-meta {
    font-size: 11.5px;
    color: var(--ph-text-muted);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Trust Pill */
.ph-trust-pill {
    font-size: 10.5px;
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 4px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Pricing */
.ph-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(200, 147, 10, 0.1);
}

.ph-price-current {
    font-size: 21px;
    font-weight: 900;
    color: var(--ph-gold-200);
    letter-spacing: -0.5px;
}

.ph-currency {
    font-size: 12px;
    font-weight: 700;
    color: var(--ph-text-muted);
    margin-right: 3px;
}

.ph-price-old {
    font-size: 13px;
    color: #a09080;
    text-decoration: line-through;
    margin-right: 8px;
}

.ph-stock-progress {
    margin: 8px 0;
}

.ph-stock-bar-wrap {
    height: 6px;
    background: #efe6d3;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 3px;
}

.ph-stock-bar-fill {
    height: 100%;
    background: var(--ph-gold-gradient);
}

/* CTA Button */
.ph-btn-primary, .ph-add-btn {
    background: var(--ph-gold-200) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 900 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    min-height: 44px !important;
    width: 100%;
    margin-top: 12px;
    font-size: 13.5px !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-align: center;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(200, 147, 10, 0.25) !important;
    cursor: pointer !important;
}

.ph-btn-primary:hover, .ph-add-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(200, 147, 10, 0.4) !important;
    background: var(--ph-gold-300) !important;
}

.ph-btn-primary:active, .ph-add-btn:active {
    transform: translateY(0) !important;
}

/* =====================================================================
   BOTTOM FEATURES TRUST BANNER
   ===================================================================== */
.ph-trust-banner-strip {
    margin: 40px 0 20px 0;
    background: #fff8ec;
    border: 1px solid var(--ph-border-gold);
    border-radius: 12px;
    padding: 20px 15px;
}

.ph-trust-item {
    text-align: center;
    padding: 12px;
}

.ph-trust-icon {
    font-size: 28px;
    color: var(--ph-gold-200);
    margin-bottom: 8px;
}

.ph-trust-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--ph-text-primary);
    margin-bottom: 3px;
}

.ph-trust-desc {
    font-size: 11px;
    color: var(--ph-text-muted);
}

/* =====================================================================
   MOBILE STICKY BOTTOM NAV BAR
   ===================================================================== */
.ph-mobile-bottom-bar {
    display: none;
}

@media (max-width: 768px) {
    .ph-mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fdf9f0;
        border-top: 1px solid var(--ph-border-gold);
        z-index: 2000;
        justify-content: space-around;
        align-items: center;
        padding: 8px 0;
        box-shadow: 0 -4px 15px rgba(200, 147, 10, 0.1);
    }

    .ph-bottom-tab {
        text-align: center;
        color: var(--ph-text-muted);
        text-decoration: none !important;
        font-size: 11px;
        font-weight: 600;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        flex-grow: 1;
    }

    .ph-bottom-tab i {
        font-size: 18px;
    }

    .ph-bottom-tab.active,
    .ph-bottom-tab:hover {
        color: var(--ph-gold-200);
    }
}

/* =====================================================================
   PROGRESS STEP BAR & CHECKOUT
   ===================================================================== */
.progress-step-bar {
    counter-reset: step;
    padding: 0;
    margin: 20px 0 35px 0;
    display: flex;
    justify-content: space-between;
    direction: rtl;
}

.progress-step-bar li {
    list-style-type: none;
    cursor: pointer;
    flex: 1;
    position: relative;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--ph-text-muted);
}

.progress-step-bar li:before {
    content: counter(step);
    counter-increment: step;
    height: 32px;
    width: 32px;
    line-height: 28px;
    border: 2px solid var(--ph-border-gold);
    border-radius: 50%;
    display: block;
    text-align: center;
    margin: 0 auto 8px auto;
    background-color: #fff;
    color: var(--ph-text-muted);
    font-weight: 800;
    transition: all 0.3s;
}

.progress-step-bar li:after {
    content: '';
    width: 100%;
    position: absolute;
    height: 2px;
    background-color: rgba(200, 147, 10, 0.2);
    top: 16px;
    right: -50%;
    z-index: -1;
}

.progress-step-bar li:first-child:after {
    content: none;
}

.progress-step-bar li.active {
    color: var(--ph-gold-200);
}

.progress-step-bar li.active:before {
    background: var(--ph-gold-200);
    border-color: var(--ph-gold-200);
    color: #fff;
    box-shadow: 0 0 12px rgba(200, 147, 10, 0.4);
}

.progress-step-bar li.complete {
    color: #10b981;
}

.progress-step-bar li.complete:before {
    background-color: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

/* =====================================================================
   UNIVERSAL BOOTSTRAP OVERRIDES (Light Theme)
   ===================================================================== */
.panel {
    background-color: #fff !important;
    border: 1px solid var(--ph-border-gold) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(200, 147, 10, 0.08) !important;
    color: var(--ph-text-primary) !important;
}

.panel-heading {
    background: linear-gradient(135deg, #fdf5e6 0%, #f5edd5 100%) !important;
    border-bottom: 1px solid var(--ph-border-gold) !important;
    color: var(--ph-text-primary) !important;
    font-weight: 800 !important;
}

.panel-body {
    background-color: #fff !important;
    color: var(--ph-text-primary) !important;
}

.panel-footer {
    background-color: #fdf9f0 !important;
    border-top: 1px solid rgba(200, 147, 10, 0.12) !important;
    color: var(--ph-text-muted) !important;
}

.well {
    background-color: #fff8ec !important;
    border: 1px solid var(--ph-border-gold) !important;
    border-radius: 10px !important;
    color: var(--ph-text-primary) !important;
}

.form-control {
    background-color: #fff !important;
    border: 1px solid var(--ph-border-gold) !important;
    color: var(--ph-text-primary) !important;
    border-radius: 6px !important;
}

.form-control:focus {
    border-color: var(--ph-gold-200) !important;
    box-shadow: 0 0 10px rgba(200, 147, 10, 0.2) !important;
}

.table {
    color: var(--ph-text-primary) !important;
}

.table > thead > tr > th {
    border-bottom: 2px solid var(--ph-border-gold) !important;
    color: var(--ph-gold-200) !important;
    font-weight: 800 !important;
}

.table > tbody > tr > td {
    border-top: 1px solid rgba(200, 147, 10, 0.08) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(200, 147, 10, 0.03) !important;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(200, 147, 10, 0.06) !important;
}

.modal-content {
    background-color: #fff !important;
    border: 1.5px solid var(--ph-border-gold) !important;
    border-radius: 14px !important;
    color: var(--ph-text-primary) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

.modal-header {
    border-bottom: 1px solid rgba(200, 147, 10, 0.15) !important;
}

.modal-footer {
    border-top: 1px solid rgba(200, 147, 10, 0.15) !important;
}

.list-group-item {
    background-color: #fff !important;
    border-color: rgba(200, 147, 10, 0.1) !important;
    color: var(--ph-text-primary) !important;
}

.dropdown-menu {
    background-color: #fff !important;
    border: 1px solid var(--ph-border-gold) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.dropdown-menu > li > a {
    color: var(--ph-text-primary) !important;
}

.dropdown-menu > li > a:hover {
    background-color: rgba(200, 147, 10, 0.08) !important;
    color: var(--ph-gold-200) !important;
}

.pagination > li > a, .pagination > li > span {
    background-color: #fff !important;
    border-color: var(--ph-border-gold) !important;
    color: var(--ph-text-primary) !important;
}

.pagination > .active > a, .pagination > .active > span {
    background: var(--ph-gold-200) !important;
    color: #fff !important;
    border-color: var(--ph-gold-200) !important;
    font-weight: 900 !important;
}

/* =====================================================================
   RESPONSIVE DESIGN RULES
   ===================================================================== */
@media (max-width: 768px) {
    body {
        padding-bottom: 75px !important;
    }

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .ph-product-col {
        padding-left: 6px;
        padding-right: 6px;
    }

    .ph-product-card {
        margin-bottom: 14px;
        border-radius: 10px;
    }

    .ph-product-img-box {
        height: 165px;
    }

    .ph-product-body {
        padding: 10px;
    }

    .ph-product-title {
        font-size: 12px;
        height: 34px;
    }

    .ph-price-current {
        font-size: 16px;
    }

    .ph-category-circle {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .progress-step-bar li {
        font-size: 11px;
    }

    .progress-step-bar li:before {
        height: 26px;
        width: 26px;
        line-height: 22px;
        font-size: 12px;
    }
}

@media (min-width: 769px) {
    .ph-products-grid {
        margin-left: -10px;
        margin-right: -10px;
    }

    .ph-product-col {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* =====================================================================
   SCROLLBAR (Light Gold Theme)
   ===================================================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #faf6ee;
}
::-webkit-scrollbar-thumb {
    background: #d9c59a;
    border-radius: 4px;
    border: 1px solid var(--ph-border-gold);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--ph-gold-200);
}

.btn, .ph-add-btn, .thumbnail {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ph-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(200, 147, 10, 0.35) !important;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

@keyframes phGoldPulse {
    0% { box-shadow: 0 0 0 0 rgba(200, 147, 10, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(200, 147, 10, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 147, 10, 0); }
}

.ph-pulse {
    animation: phGoldPulse 2s infinite;
}

/* =====================================================================
   WHITESPACE, SECTIONS & LAYOUT BREATHING ROOM
   ===================================================================== */
.ph-section {
    margin: 45px 0;
}

.ph-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.ph-section-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--ph-text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ph-section-subtitle {
    font-size: 13px;
    color: var(--ph-text-muted);
    margin-top: 4px;
    display: block;
}

/* =====================================================================
   COMMERCIAL EMPTY STATES
   ===================================================================== */
.ph-empty-state {
    text-align: center;
    padding: 60px 25px;
    background: #fff8ec;
    border: 1.5px dashed var(--ph-border-gold);
    border-radius: 16px;
    margin: 35px 0;
    box-shadow: 0 4px 20px rgba(200, 147, 10, 0.08);
}

.ph-empty-icon-circle {
    width: 84px;
    height: 84px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: rgba(200, 147, 10, 0.08);
    border: 1.5px solid var(--ph-border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: var(--ph-gold-200);
}

.ph-empty-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--ph-text-primary);
    margin-bottom: 8px;
}

.ph-empty-desc {
    font-size: 14px;
    color: var(--ph-text-muted);
    max-width: 480px;
    margin: 0 auto 24px auto;
    line-height: 1.7;
}

/* =====================================================================
   TOAST NOTIFICATION
   ===================================================================== */
#ph-global-toast {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #fff;
    border: 1.5px solid var(--ph-gold-200);
    color: var(--ph-text-primary);
    padding: 14px 24px;
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15), 0 0 20px rgba(200, 147, 10, 0.15);
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 800;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    direction: rtl;
    text-align: right;
}

#ph-global-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

#ph-global-toast.toast-success {
    border-color: #10b981;
}

#ph-global-toast.toast-success i {
    color: #10b981;
    font-size: 18px;
}

/* =====================================================================
   SKELETON SCREENS & SHIMMER
   ===================================================================== */
@keyframes phShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.ph-skeleton {
    background: linear-gradient(90deg, #f0e8d6 25%, #e0d5be 50%, #f0e8d6 75%) !important;
    background-size: 200% 100% !important;
    animation: phShimmer 1.5s infinite linear !important;
    border-radius: 6px !important;
    color: transparent !important;
    pointer-events: none !important;
    border: none !important;
}

.ph-skeleton-img {
    height: 220px;
    width: 100%;
    border-radius: 12px 12px 0 0;
}

.ph-skeleton-title {
    height: 18px;
    width: 85%;
    margin-bottom: 8px;
}

.ph-skeleton-price {
    height: 24px;
    width: 45%;
}

.ph-skeleton-btn {
    height: 44px;
    width: 100%;
    margin-top: 12px;
}

/* =====================================================================
   OFFLINE & NETWORK CONNECTION INDICATOR
   ===================================================================== */
#ph-offline-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #991b1b, #dc2626);
    color: #ffffff;
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 800;
    z-index: 9999999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    display: none;
    direction: rtl;
}

#ph-offline-bar.online-restored {
    background: linear-gradient(90deg, #065f46, #059669);
}

/* =====================================================================
   STICKY FLOATING BUY BAR ON PRODUCT DETAILS
   ===================================================================== */
.ph-sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(253, 249, 240, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1.5px solid var(--ph-border-gold);
    padding: 10px 0;
    z-index: 1030;
    box-shadow: 0 -4px 20px rgba(200, 147, 10, 0.1);
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
}

.ph-sticky-buy-bar.visible {
    transform: translateY(0);
}

.ph-sticky-buy-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.ph-sticky-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.ph-sticky-thumb {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 6px;
    background: #faf6ee;
    border: 1px solid var(--ph-border-gold);
    padding: 3px;
    flex-shrink: 0;
}

.ph-sticky-details {
    overflow: hidden;
}

.ph-sticky-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ph-text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}

.ph-sticky-price {
    font-size: 16px;
    font-weight: 900;
    color: var(--ph-gold-200);
}

.ph-sticky-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .ph-sticky-buy-bar {
        bottom: 58px;
        padding: 8px 12px;
    }
    .ph-sticky-title {
        max-width: 160px;
    }
}

/* =====================================================================
   DAZZLE FEATURE 1: SPIN-THE-WHEEL
   ===================================================================== */
#ph-wheel-trigger {
    position: fixed;
    bottom: 90px;
    left: 24px;
    z-index: 1040;
    background: var(--ph-gold-200);
    color: #fff;
    font-weight: 900;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(200, 147, 10, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #fff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: phGiftBounce 3s infinite;
}

#ph-wheel-trigger:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 35px rgba(200, 147, 10, 0.6);
}

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

.ph-wheel-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    direction: rtl;
}

.ph-wheel-modal-overlay.active {
    display: flex;
}

.ph-wheel-card {
    background: #fff;
    border: 2px solid var(--ph-border-gold);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: phModalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes phModalPop {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.ph-wheel-close {
    position: absolute;
    top: 15px;
    left: 18px;
    background: rgba(200, 147, 10, 0.08);
    border: 1px solid var(--ph-border-gold);
    color: var(--ph-text-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ph-wheel-close:hover {
    background: #dc2626;
    border-color: #ef4444;
    color: #fff;
}

.ph-wheel-container {
    position: relative;
    width: 290px;
    height: 290px;
    margin: 15px auto;
}

.ph-wheel-canvas {
    width: 290px;
    height: 290px;
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(200, 147, 10, 0.3);
    border: 4px solid var(--ph-gold-200);
}

.ph-wheel-pointer {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 28px solid var(--ph-gold-200);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    z-index: 10;
}

.ph-wheel-spin-btn {
    background: var(--ph-gold-200);
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    padding: 13px 36px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(200, 147, 10, 0.4);
    transition: all 0.2s;
    margin-top: 10px;
}

.ph-wheel-spin-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(200, 147, 10, 0.6);
}

.ph-wheel-spin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =====================================================================
   DAZZLE FEATURE 2: LIVE SOCIAL PROOF TICKER CARD
   ===================================================================== */
#ph-social-proof-ticker {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1035;
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid var(--ph-border-gold);
    border-radius: 12px;
    padding: 12px 16px;
    max-width: 330px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 12px;
    direction: rtl;
    text-align: right;
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

#ph-social-proof-ticker.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.ph-ticker-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--ph-border-gold);
    background: #faf6ee;
    flex-shrink: 0;
}

.ph-ticker-info {
    flex: 1;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.4;
}

.ph-ticker-buyer {
    color: var(--ph-gold-200);
    font-weight: 800;
    display: block;
    font-size: 12.5px;
}

.ph-ticker-product {
    color: var(--ph-text-primary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 2px 0;
}

.ph-ticker-meta {
    color: var(--ph-text-muted);
    font-size: 10.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ph-ticker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.ph-ticker-close {
    background: transparent;
    border: none;
    color: #a09080;
    cursor: pointer;
    padding: 0 4px;
    font-size: 14px;
    align-self: flex-start;
}

.ph-ticker-close:hover {
    color: var(--ph-text-primary);
}

@media (max-width: 768px) {
    #ph-social-proof-ticker {
        bottom: 75px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
    #ph-wheel-trigger {
        bottom: 135px;
        left: 12px;
        font-size: 11px;
        padding: 8px 14px;
    }
}

/* =====================================================================
   DAZZLE FEATURE 3: WHOLESALE LIVE PROFIT CALCULATOR
   ===================================================================== */
.ph-profit-calc-card {
    background: #fff;
    border: 1.5px solid var(--ph-border-gold);
    border-radius: 14px;
    padding: 22px;
    margin: 20px 0;
    box-shadow: 0 4px 16px rgba(200, 147, 10, 0.08);
    direction: rtl;
}

.ph-profit-stat-box {
    background: #faf6ee;
    border: 1px solid var(--ph-border-gold);
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
}

.ph-profit-stat-val {
    font-size: 20px;
    font-weight: 900;
    color: var(--ph-text-primary);
    margin-top: 4px;
}

.ph-profit-stat-val.gold {
    color: var(--ph-gold-200);
}

.ph-profit-stat-val.green {
    color: #34d399;
}

.ph-profit-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #efe6d3;
    outline: none;
    margin: 15px 0;
}

.ph-profit-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ph-gold-200);
    cursor: pointer;
    box-shadow: 0 0 12px rgba(200, 147, 10, 0.5);
    border: 2px solid #fff;
}

/* =====================================================================
   DAZZLE FEATURE 4: LUXURY FABRIC & DETAILS ZOOM LOUPE
   ===================================================================== */
.ph-zoom-wrapper {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    border-radius: 10px;
}

.ph-zoom-lens {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 2.5px solid var(--ph-gold-200);
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(0,0,0,0.2);
    pointer-events: none;
    display: none;
    z-index: 50;
    background-repeat: no-repeat;
    background-color: #fff;
}

/* =====================================================================
   DAZZLE FEATURE 5: FLASH SALE FOMO FLAME BAR
   ===================================================================== */
.ph-fomo-bar {
    background: linear-gradient(90deg, #fef2f2 0%, #fee2e2 50%, #fef2f2 100%);
    border: 1px solid #fca5a5;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    color: #991b1b;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.1);
    direction: rtl;
}

.ph-fomo-progress-track {
    background: rgba(252, 165, 165, 0.3);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.ph-fomo-progress-fill {
    background: linear-gradient(90deg, #ef4444, #f59e0b);
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}
