/* =====================================================
   RD FASHION - STYLE.CSS (FINAL PRO VERSION - CLEANED)
===================================================== */


/* ================= ROOT VARIABLES ================= */
:root {
    --primary: #ff6600;
    --danger: #e63946;
    --dark: #111827;
    --bg: #f5f6fa;
    --card: #ffffff;
    --text: #333;
    --shadow: 0 6px 18px rgba(0,0,0,0.08);
    --radius: 12px;
}

.announce{
    background:#ff6600;
    color:#fff;
    text-align:center;
    padding:12px 15px;
    font-size:15px;
    font-weight:500;
}

.announce-btn{
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    margin-left:10px;
    padding:4px 10px;
    border:1px solid rgba(255,255,255,.4);
    border-radius:5px;
    transition:.3s;
}

.announce-btn:hover{
    background:#fff;
    color:#ff6600;
}

/* ================= GLOBAL RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    font-family: Arial, sans-serif;
    color: var(--text);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ================= NAVBAR ================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--dark);
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 22px;
}

.navbar a {
    color: #fff !important;
    transition: 0.2s;
    white-space: nowrap;
}

.navbar a:hover {
    color: var(--primary) !important;
}


/* ================= NAV BUTTON SYSTEM ================= */
.nav-btn {
    transition: all 0.25s ease;
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.btn:active,
.nav-btn:active {
    transform: scale(0.96);
}


/* ================= SEARCH ================= */
.search-box {
    width:min(100%,500px);
}

.search-box input {
    border-radius: 20px;
    padding: 8px 12px;
    border: 1px solid #ddd;
}


/* ================= NAV DROPDOWN (category -> subcategory) ================= */
.nav-item{
    position: relative;
    display: inline-block;
}

.nav-link{
    padding: 10px 12px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.cat-icon{
    font-size: 16px;
}

.dropdown-menu{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 999;
}

.nav-item:hover .dropdown-menu{
    display: block;
}

.dropdown-item{
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
}

/* merged: was duplicated twice before, kept the more complete hover state */
.dropdown-item:hover{
    background:#fff3eb;
    color:#ff6600;
    padding-left:25px;
}


/* ================= PRODUCT CARD ================= */
.product-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.35s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15) !important;
}

.product-card .btn{
    border-radius:10px;
    font-weight:600;
}

.product-img {
    height: 220px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
    filter: brightness(.98);
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-body {
    padding: 10px;
    text-align: center;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    height: 38px;
    overflow: hidden;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--danger);
}


/* ================= WISHLIST ================= */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.wishlist-btn i {
    color: #bbb;
    font-size: 16px;
    transition: 0.2s ease;
}

.wishlist-btn.active i {
    color: #ff2d7a;
    transform: scale(1.2);
}

.wishlist-btn:hover {
    transform: scale(1.1);
}

.btn-rd-wishlist:hover {
    background: #e11d48 !important;
    color: #fff !important;
}


/* ================= BADGES ================= */
.badge-stock,
.badge-out {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
}

.badge-stock { background: green; }
.badge-out { background: red; }


/* ================= FLASH DEALS ================= */
.flash-slider-wrapper{
    position: relative;
}

.flash-slider{
    display: flex;
    gap: 20px;
    scroll-behavior: smooth;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

/* hide the scrollbar itself only — layout props live on .flash-slider above */
.flash-slider::-webkit-scrollbar{
    display: none;
}

.flash-item{
    flex: 0 0 auto;
}

/* ARROWS */
.flash-btn{
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #000;
    color: #fff;
    border: none;
    width: 35px;
    height: 60px;
    font-size: 24px;
    z-index: 10;
    opacity: 0.6;
    cursor: pointer;
}

.flash-btn:hover{
    opacity: 1;
}

.flash-btn.left{
    left: 0;
}

.flash-btn.right{
    right: 0;
}


/* ================= CATEGORY ================= */
.cat-box {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.cat-box div {
    min-width: 120px;
    padding: 15px;
    background: #fff;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: 0.25s ease;
}

.cat-box div:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}


/* ================= HOT DEAL BUTTON ================= */
.btn-rd-hot {
    background: linear-gradient(135deg, #ff6600, #ff0000);
    color: #fff;
    border: none;
    font-weight: 600;
}

.btn-rd-hot:hover {
    background: linear-gradient(135deg, #ff3c00, #cc0000);
    box-shadow: 0 6px 18px rgba(255, 60, 0, 0.4);
    transform: translateY(-2px);
}


/* ================= MODAL ================= */
.modal-content {
    border-radius: var(--radius);
}


/* ================= TOAST ================= */
.toast-msg {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 99999;
    box-shadow: var(--shadow);
    animation: fadeIn 0.3s ease;
}


/* ================= ANIMATION ================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shine{
    0%{ left:-120%; }
    100%{ left:150%; }
}


/* ================= SHOP NOW BUTTON ================= */
.shop-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    padding:14px 34px;
    min-width:180px;

    background:linear-gradient(135deg,#ff6600,#ff8c1a);
    color:#fff;
    text-decoration:none;
    font-size:18px;
    font-weight:700;
    border-radius:50px;

    box-shadow:0 10px 25px rgba(255,102,0,.35);

    position:relative;
    overflow:hidden;

    /* fixed: previous version had a trailing comma with nothing after it,
       which is invalid CSS and could drop the whole transition */
    transition: transform .35s ease, box-shadow .35s ease;
}

.shop-btn span{
    font-size:20px;
    transition: transform .35s ease;
}

.shop-btn:hover{
    transform:translateY(-5px);
    box-shadow:0 16px 35px rgba(255,102,0,.45);
}

.shop-btn:hover span{
    transform:translateX(4px) rotate(-10deg);
}

.shop-btn:active{
    transform:scale(.96);
}

/* Continuous shine sweep */
.shop-btn::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:40%;
    height:100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.7),
        transparent
    );

    transform:skewX(-25deg);

    animation:shine 2.8s infinite;
}


/* ================= STOCK / BUY NOW ================= */
table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.stock-info{
    margin:8px 0;
    font-size:14px;
    font-weight:600;
}

.buy-now-btn{
    display:block;
    width:100%;
    text-align:center;
    margin-top:10px;
    padding:12px;
    background:#ff6b00;
    color:#fff;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.buy-now-btn:hover{
    background:#e55d00;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .search-box {
        width: 100%;
        margin-top: 10px;
    }

    #heroCarousel {
        height: 220px;
    }

    .product-img {
        height: 180px;
    }

    .nav-btn {
        font-size: 13px;
        padding: 5px 8px;
    }

    .shop-btn{
        padding:13px 28px;
        font-size:16px;
        min-width:160px;
    }

    .shop-btn span{
        font-size:18px;
    }
}

@media(max-width:480px){

    .shop-btn{
        width:100%;
        max-width:240px;
        margin:auto;
        padding:12px 24px;
        font-size:15px;
    }
}
:root{
    --rd-orange:#ff6b35;
    --rd-orange-dark:#e2531f;
    --rd-charcoal:#1c1c26;
    --rd-cream:#fdf8f3;
    --rd-gold:#c9a24b;
    --rd-line:#ece4d8;
    --rd-muted:#8a8a94;
    --radius-lg:22px;
    --radius-md:16px;
    --shadow-soft:0 18px 45px rgba(28,28,38,.08);
}

body{
    background:var(--rd-cream);
    font-family:'Poppins',sans-serif;
    color:var(--rd-charcoal);
}
.rd-serif{ font-family:'Playfair Display',serif; }

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size:12.5px;
    letter-spacing:3px;
    text-transform:uppercase;
    font-weight:600;
    color:var(--rd-gold);
}
.eyebrow::before{
    content:"";
    width:28px;
    height:1px;
    background:var(--rd-gold);
    display:inline-block;
}

/* ============ HERO / SEARCH ============ */
.track-hero{
    background:linear-gradient(120deg,var(--rd-charcoal) 0%,#2c2c3a 100%);
    color:#fff;
    padding:70px 20px 110px;
    text-align:center;
    position:relative;
}
.track-hero::after{
    content:"";
    position:absolute;
    left:0; right:0; bottom:-1px;
    height:60px;
    background:var(--rd-cream);
    clip-path:polygon(0 100%,100% 100%,100% 45%,0 100%);
}
.track-hero .eyebrow{ color:#ffbf9e; }
.track-hero .eyebrow::before{ background:#ffbf9e; }
.track-hero h1{
    font-size:clamp(30px,4vw,44px);
    font-weight:800;
    margin:14px 0 10px;
}
.track-hero p{
    color:#c9c9d2;
    max-width:520px;
    margin:0 auto;
    font-size:15.5px;
}

.search-card{
    background:#fff;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-soft);
    padding:34px;
    margin-top:-70px;
    position:relative;
    z-index:3;
}
.search-card .field-label{
    font-size:12.5px;
    font-weight:600;
    letter-spacing:.5px;
    text-transform:uppercase;
    color:var(--rd-muted);
    margin-bottom:6px;
    display:block;
}
.search-card .input-icon{
    position:relative;
}
.search-card .input-icon i{
    position:absolute;
    left:16px;
    top:50%;
    transform:translateY(-50%);
    color:var(--rd-muted);
    font-size:15px;
}
.search-card .form-control{
    border:1.5px solid var(--rd-line);
    border-radius:12px;
    padding:12px 16px 12px 42px;
    font-size:14.5px;
    background:#fcfaf7;
}
.search-card .form-control:focus{
    border-color:var(--rd-orange);
    box-shadow:0 0 0 4px rgba(255,107,53,.12);
    background:#fff;
}
.btn-track{
    background:var(--rd-orange);
    color:#fff;
    border:none;
    border-radius:12px;
    padding:13px 22px;
    font-weight:600;
    font-size:15px;
    width:100%;
    transition:.25s ease;
    box-shadow:0 10px 24px rgba(255,107,53,.28);
}
.btn-track:hover{
    background:var(--rd-orange-dark);
    color:#fff;
    transform:translateY(-2px);
}
.search-hint{
    font-size:12.5px;
    color:var(--rd-muted);
    margin-top:14px;
    text-align:center;
}

/* ============ RESULT WRAP ============ */
.result-wrap{ margin-top:34px; }

.result-header{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:26px;
}
.result-header h2{ font-size:24px; font-weight:700; margin:0; }
.result-header .code{
    font-family:monospace;
    color:var(--rd-gold);
    font-weight:600;
}

.status-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 18px;
    border-radius:30px;
    font-size:13.5px;
    font-weight:600;
    color:#fff;
}

/* ============ STATUS STEPPER ============ */
.stepper-card{
    background:#fff;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-soft);
    padding:34px;
    margin-bottom:24px;
}
.stepper{
    display:flex;
    justify-content:space-between;
    position:relative;
    margin-top:10px;
}
.stepper::before{
    content:"";
    position:absolute;
    top:22px;
    left:5%;
    right:5%;
    height:3px;
    background:var(--rd-line);
    z-index:0;
}
.stepper .fill{
    position:absolute;
    top:22px;
    left:5%;
    height:3px;
    background:var(--rd-orange);
    z-index:1;
    transition:width .6s ease;
}
.step{
    position:relative;
    z-index:2;
    flex:1;
    text-align:center;
}
.step .dot{
    width:46px;
    height:46px;
    border-radius:50%;
    background:#fff;
    border:3px solid var(--rd-line);
    color:var(--rd-muted);
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 10px;
    font-size:18px;
    transition:.3s ease;
}
.step.done .dot{
    background:var(--rd-orange);
    border-color:var(--rd-orange);
    color:#fff;
}
.step.current .dot{
    background:#fff;
    border-color:var(--rd-orange);
    color:var(--rd-orange);
    box-shadow:0 0 0 6px rgba(255,107,53,.15);
}
.step span{
    font-size:12.5px;
    font-weight:600;
    color:var(--rd-muted);
}
.step.done span, .step.current span{ color:var(--rd-charcoal); }

/* ============ INFO GRID ============ */
.info-card{
    background:#fff;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-soft);
    padding:30px;
    height:100%;
}
.info-card h6{
    font-size:12.5px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:var(--rd-muted);
    margin-bottom:18px;
    font-weight:600;
}
.info-row{
    display:flex;
    gap:14px;
    margin-bottom:16px;
}
.info-row .ic{
    flex:0 0 38px;
    height:38px;
    width:38px;
    border-radius:10px;
    background:#fff4ec;
    color:var(--rd-orange);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:15px;
}
.info-row strong{
    display:block;
    font-size:12px;
    color:var(--rd-muted);
    text-transform:uppercase;
    letter-spacing:.5px;
}
.info-row span{ font-size:14.5px; }

/* ============ ITEMS TABLE ============ */
.items-card{
    background:#fff;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-soft);
    padding:30px;
    margin-top:24px;
}
.items-table{
    width:100%;
    border-collapse:collapse;
}
.items-table thead th{
    text-align:left;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.8px;
    color:var(--rd-muted);
    padding:0 12px 14px;
    border-bottom:2px solid var(--rd-line);
}
.items-table tbody td{
    padding:16px 12px;
    border-bottom:1px solid var(--rd-line);
    font-size:14.5px;
    vertical-align:middle;
}
.items-table tbody tr:last-child td{ border-bottom:none; }
.product-cell{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:500;
}
.product-thumb{
    width:44px;
    height:44px;
    border-radius:10px;
    background:linear-gradient(135deg,#fff4ec,#ffe4d3);
    color:var(--rd-orange);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:17px;
    flex:0 0 auto;
}
.summary-row{
    display:flex;
    justify-content:space-between;
    padding:10px 12px;
    font-size:14.5px;
}
.summary-row.total{
    font-weight:700;
    font-size:17px;
    border-top:2px solid var(--rd-line);
    margin-top:6px;
    padding-top:16px;
    color:var(--rd-orange-dark);
}

/* ============ EMPTY / NOT FOUND ============ */
.empty-state{
    background:#fff;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-soft);
    padding:50px 30px;
    text-align:center;
}
.empty-state .ic{
    width:74px;
    height:74px;
    border-radius:50%;
    background:#fff1ef;
    color:#dc3545;
    font-size:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 18px;
}
.empty-state h5{ font-weight:700; margin-bottom:8px; }
.empty-state p{ color:var(--rd-muted); font-size:14.5px; max-width:380px; margin:0 auto; }

@media (max-width:767px){
    .stepper{ flex-wrap:wrap; row-gap:20px; }
    .stepper::before, .stepper .fill{ display:none; }
    .step{ flex:0 0 50%; }
}

/* ============ Register file ============ */
/* ============================================================
   RD Fashion — Shared Auth Pages Stylesheet
   Used by: login.php, register.php
   ============================================================ */

:root{
    --rd-orange:#ff6b35;
    --rd-orange-dark:#e2531f;
    --rd-charcoal:#1c1c26;
    --rd-cream:#fdf8f3;
    --rd-gold:#c9a24b;
    --rd-line:#ece4d8;
    --rd-muted:#8a8a94;
}

*{ box-sizing:border-box; }

body{
    margin:0;
    font-family:'Poppins',sans-serif;
    color:var(--rd-charcoal);
    background:var(--rd-cream);
    min-height:100vh;
}

.auth-wrap{
    min-height:100vh;
    display:flex;
}

/* ============ LEFT: BRAND PANEL ============ */
.brand-panel{
    flex:0 0 44%;
    position:relative;
    background:
        linear-gradient(135deg,rgba(28,28,38,.92),rgba(255,107,53,.55)),
        var(--brand-bg, url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?q=80&w=1200&auto=format&fit=crop')) center/cover no-repeat;
    color:#fff;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:52px 48px;
}
.brand-panel .logo{
    font-family:'Playfair Display',serif;
    font-size:24px;
    font-weight:700;
    letter-spacing:1px;
}
.brand-panel .logo span{ color:var(--rd-orange); }

.brand-panel .quote{ max-width:380px; }
.brand-panel .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size:12px;
    letter-spacing:3px;
    text-transform:uppercase;
    font-weight:600;
    color:#ffd8bd;
    margin-bottom:14px;
}
.brand-panel .eyebrow::before{
    content:"";
    width:26px;
    height:1px;
    background:#ffd8bd;
    display:inline-block;
}
.brand-panel h2{
    font-family:'Playfair Display',serif;
    font-size:30px;
    font-weight:700;
    line-height:1.35;
    margin-bottom:14px;
}
.brand-panel p.desc{
    color:#dcdce2;
    font-size:14.5px;
    line-height:1.7;
}
.brand-panel .foot-note{
    font-size:12.5px;
    color:#c9c9d2;
}

/* ============ RIGHT: FORM PANEL ============ */
:root{
    --rd-orange:#ff6b35;
    --rd-charcoal:#111117;
    --rd-muted:#8a8a94;
    --rd-line:#eceef1;
}

body{
    background:#f5f5f7;
    font-family:'Poppins', Arial, sans-serif;
    min-height:100vh;
}

.auth-wrap{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 16px;
}

.auth-card{
    background:#fff;
    max-width:900px;
    width:100%;
    border-radius:18px;
    box-shadow:0 20px 50px rgba(17,17,23,.10);
    overflow:hidden;
    display:grid;
    grid-template-columns:1fr 1fr;
}

/* ===== LEFT BRAND PANEL ===== */
.auth-side{
    background:linear-gradient(150deg, var(--rd-charcoal) 0%, #2a2a35 100%);
    color:#fff;
    padding:48px 40px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.auth-side .brand{
    font-weight:800;
    font-size:24px;
    letter-spacing:1px;
    margin-bottom:18px;
}

.auth-side .brand span{ color:var(--rd-orange); }

.auth-side p{
    color:#c7c7d1;
    font-size:14.5px;
    line-height:1.7;
}

.auth-side ul{
    list-style:none;
    padding:0;
    margin:24px 0 0;
}

.auth-side li{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:13.5px;
    color:#dcdce3;
    margin-bottom:12px;
}

.auth-side li::before{
    content:"✓";
    color:var(--rd-orange);
    font-weight:700;
}

/* Facebook blue */
.btn-follow-fb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1877F2; 
  color: #fff;
  border-radius: 20px;
  padding: 6px 14px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-follow-fb:hover {
  background: #145dbf;
  transform: translateY(-1px);
}

.btn-follow-fb i {
  font-size: 14px;
}
.logo-sub{
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    color: #6c757d;
    letter-spacing: 0.6px;
    line-height: 1.3;
    text-transform: capitalize;
    white-space: nowrap;
}
.site-logo{
    width:350px;
    height:auto;
    display:block;
}