/*
Theme Name:  Mannwo Sports
Theme URI:   https://mannwosports.com
Description: Premium custom sportswear WooCommerce theme with full vendor discount system and per-vendor dashboards. Design matches the React website exactly.
Author:      Mannwo Sports
Version:     2.0.0
Text Domain: mannwo-sports
Tags: woocommerce, custom, sports, vendor, ecommerce
*/


/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary:       #E30613;
  --primary-dark:  #c0051f;
  --black:         #000000;
  --dark:          #0a0a0a;
  --dark-2:        #1a1a1a;
  --white:         #ffffff;
  --muted:         #f5f5f5;
  --muted-fg:      #6b7280;
  --border:        #e5e7eb;
  --font-heading:  'Montserrat', sans-serif;
  --font-body:     'Poppins', sans-serif;
  --container:     1200px;
  --radius:        6px;
  --transition:    0.3s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  color: #333;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
}
.section-title .hl { color: var(--primary); }
.title-bar { width: 60px; height: 3px; background: var(--primary); margin: 12px auto 0; }
.section-head { text-align: center; margin-bottom: 50px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 13px 24px; border-radius: var(--radius);
  transition: var(--transition); border: 2px solid transparent;
  white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--black); }
.btn-dark { background: var(--black); color: #fff; border-color: var(--black); }
.btn-dark:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ============================================================
   VENDOR WELCOME BAR
   ============================================================ */
.vendor-welcome-bar {
  background: var(--black); color: #fff;
  padding: 10px 0; font-size: 13px;
  border-bottom: 2px solid var(--primary);
}
.vendor-welcome-bar .container {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.vendor-discount-info { display: flex; align-items: center; gap: 10px; }
.vendor-discount-tag {
  background: var(--primary); color: #fff;
  padding: 3px 10px; border-radius: 3px;
  font-weight: 700; font-size: 12px; letter-spacing: 1px;
}
.vendor-welcome-bar a { color: var(--primary); font-weight: 700; font-size: 12px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.mannwo-topbar { background: var(--black); color: #fff; padding: 8px 0; font-size: 12px; }
.topbar-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.topbar-left { display: flex; align-items: center; gap: 8px; }
.topbar-left .welcome { opacity: 0.7; }
.topbar-shipping { color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-right .follow { opacity: 0.7; }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
  width: 26px; height: 26px;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; transition: var(--transition);
}
.topbar-social a:hover { background: var(--primary); border-color: var(--primary); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky; top: 0; z-index: 9000;
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; padding: 14px 0; gap: 20px;
}
.site-logo { display: block; line-height: 1; }
.logo-text {
  font-family: var(--font-heading); font-weight: 900;
  font-size: 22px; color: var(--black); line-height: 1; letter-spacing: 1px;
}
.logo-text span { color: var(--primary); }
.logo-sub { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted-fg); margin-top: 2px; }
.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav ul li a {
  font-family: var(--font-heading); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 8px 11px; border-bottom: 2px solid transparent;
  color: var(--black); transition: var(--transition); display: block;
}
.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a,
.main-nav ul li.current_page_item > a { color: var(--primary); border-bottom-color: var(--primary); }
.header-icons { display: flex; align-items: center; gap: 4px; }
.header-icon-btn {
  width: 38px; height: 38px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%; color: var(--black);
  font-size: 17px; transition: var(--transition); position: relative;
}
.header-icon-btn:hover { color: var(--primary); background: var(--muted); }
.cart-count {
  position: absolute; top: -1px; right: -1px;
  background: var(--primary); color: #fff;
  font-size: 9px; font-weight: 700; width: 17px; height: 17px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.mobile-menu-toggle { display: none; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; font-size: 20px; color: var(--black); }
.mobile-nav {
  display: none; background: #fff; border-top: 1px solid var(--border);
  padding: 16px 20px; position: absolute; width: 100%; left: 0;
  top: 100%; box-shadow: 0 8px 20px rgba(0,0,0,0.1); z-index: 8999;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 14px; }
.mobile-nav ul li a {
  font-family: var(--font-heading); font-size: 13px; font-weight: 700;
  text-transform: uppercase; color: var(--black);
}
.mobile-nav ul li.current-menu-item > a { color: var(--primary); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative; overflow: hidden;
  min-height: 580px; background: var(--black);
  display: flex; align-items: center;
}
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 0.8s ease; pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: all; }
.slide-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,#0d0d0d 0%,#1a0000 40%,#2d0505 100%);
}
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right,rgba(0,0,0,.8) 0%,rgba(0,0,0,.4) 50%,transparent 100%);
  z-index: 1;
}
.slide-content {
  position: relative; z-index: 2;
  max-width: 560px; padding: 60px 0;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}
.slide.active .slide-content { opacity: 1; transform: translateY(0); }
.slide-tag {
  display: inline-block; background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; padding: 4px 12px; margin-bottom: 20px;
}
.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem,4vw,3.2rem);
  font-weight: 900; text-transform: uppercase;
  color: #fff; line-height: 1.1; margin-bottom: 16px;
}
.slide-title .hl { color: var(--primary); }
.slide-desc { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.7; margin-bottom: 30px; }
.slide-btns { display: flex; gap: 16px; flex-wrap: wrap; }
/* .slide-icon {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  font-size: 18rem; color: var(--primary); opacity: 0.07;
  pointer-events: none; z-index: 1; line-height: 1;
} */
.slide-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 650px;
    max-width: 45%;
    height: auto;
    opacity: 1;
    z-index: 10;
    filter: none;
}

@media (max-width: 968px){
	.slide-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    max-width: 45%;
    height: auto;
    opacity: 0.3;
    z-index: 10;
    filter: none;
}
}

@media (max-width: 576px){
	.slide-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    max-width: 45%;
    height: auto;
    opacity: 0.05;
    z-index: 10;
    filter: none;
}
}
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 44px; height: 44px;
  background: rgba(0,0,0,.4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; transition: var(--transition); border: none;
}
.slider-arrow:hover { background: var(--primary); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }
.slider-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 8px;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: none;
  transition: var(--transition); cursor: pointer; padding: 0;
}
.slider-dot.active { background: var(--primary); transform: scale(1.3); }

/* ============================================================
   FEATURES BAR
   ============================================================ */
.features-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 24px 0; }
.features-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; align-items: center; }
.feature-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius); transition: var(--transition); }
.feature-item:hover { background: var(--muted); }
.feature-icon { width: 46px; height: 46px; background: var(--muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 20px; flex-shrink: 0; }
.feature-title { font-family: var(--font-heading); font-size: 13px; font-weight: 700; margin-bottom: 2px; line-height: 1.2; }
.feature-desc { font-size: 11px; color: var(--muted-fg); }

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-section { padding: 70px 0; background: var(--muted); }
.categories-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.category-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08); transition: var(--transition); cursor: pointer;
}
.category-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(0,0,0,.15); }
.category-img {
  height: 220px; background: var(--dark-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; color: rgba(227,6,19,.3); transition: var(--transition);
}
.category-card:hover .category-img { color: rgba(227,6,19,.6); }
.category-footer {
  background: var(--black); padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.category-name { font-family: var(--font-heading); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; }
.category-cta { color: var(--primary); font-size: 11px; font-weight: 700; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }

/* ============================================================
   ABOUT + QUOTE
   ============================================================ */
.about-quote-section { padding: 70px 0; background: #fff; }
.about-quote-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 40px; align-items: start; }
.about-img-col {
    height: 450px; /* or your desired height */
    border-radius: var(--radius);
    overflow: hidden;
    padding: 0;
}

.about-img-col .icon-wrap {
    width: 100%;
    height: 100%;
}

.about-img-col .icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-img-col p { color: rgba(255,255,255,.35); font-size: 13px; }
.about-col h2 { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 800; margin-bottom: 16px; color: var(--black); line-height: 1.2; }
.about-col h2 span { color: var(--primary); }
.about-col > p { color: var(--muted-fg); font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.about-feature { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--black); }
.about-feature .icon { width: 36px; height: 36px; background: var(--muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 15px; flex-shrink: 0; }
.quote-col {
  background: var(--black); color: #fff;
  border-radius: var(--radius); padding: 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,.2);
}
.quote-col h3 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.quote-col h3 span { color: var(--primary); }
.quote-col .sub { font-size: 12px; opacity: .65; margin-bottom: 20px; }
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qf-field { margin-bottom: 12px; }
.qf-field label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; opacity: .8; }
.qf-field input,
.qf-field textarea,
.qf-field select {
  width: 100%; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); color: #fff;
  padding: 10px 12px; font-size: 13px; border-radius: 4px; transition: var(--transition);
}
.qf-field input:focus, .qf-field textarea:focus, .qf-field select:focus { outline: none; border-color: var(--primary); }
.qf-field input::placeholder, .qf-field textarea::placeholder { color: rgba(255,255,255,.45); }
.qf-field textarea { resize: vertical; min-height: 70px; }
.qf-field select option { background: #222; color: #fff; }
.btn-quote {
  width: 100%; background: var(--primary); color: #fff; border: none;
  padding: 14px; font-family: var(--font-heading); font-weight: 700;
  font-size: 13px; text-transform: uppercase; letter-spacing: 2px;
  border-radius: 4px; margin-top: 8px; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-quote:hover { background: var(--primary-dark); }
.quote-notice { font-size: 13px; margin-top: 10px; padding: 8px 12px; border-radius: 4px; display: none; }
.quote-notice.success { background: rgba(34,197,94,.15); color: #86efac; display: block; }
.quote-notice.error   { background: rgba(239,68,68,.15); color: #fca5a5; display: block; }


/*============================================================
 CONTACT US
  ============================================================*/

/* ==========================
   Contact Page
========================== */

.contact-wrap {
    padding: 80px 0;
    background: #f8f9fb;
}

.contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 30px;
}

/* Left Card */

.contact-info-card {
    background: #111;
    color: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.contact-info-card h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item .icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.footer-contact-item span {
    line-height: 1.7;
    font-size: 15px;
}

/* Social */

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Right Side */

.contact-form-wrap {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.contact-form-wrap h3 {
    font-size: 30px;
    margin-bottom: 25px;
    color: #111;
}

/* WordPress Content */

.contact-form-wrap .entry-content {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Quote Form Box */

.contact-form-wrap > div {
    background: #111 !important;
    border-radius: 16px !important;
    padding: 35px !important;
}

/* Inputs */

.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {

    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 15px;
    transition: .3s;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,0,0,0.1);
}

/* Labels */

.contact-form-wrap label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

/* ==========================
   File Upload Field
========================== */

.contact-form-wrap input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px dashed #ddd;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form-wrap input[type="file"]:hover {
    border-color: var(--primary);
}

.contact-form-wrap input[type="file"]::file-selector-button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-right: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.contact-form-wrap input[type="file"]::file-selector-button:hover {
    opacity: 0.9;
}

/* Upload Box Style */

.file-upload-wrap {
    border: 2px dashed #444;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    background: rgba(255,255,255,0.05);
    transition: 0.3s;
}

.file-upload-wrap:hover {
    border-color: var(--primary);
}

.file-upload-wrap i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.file-upload-wrap p {
    margin: 10px 0;
    color: #ccc;
    font-size: 14px;
}

/* Multiple Files */

.file-list {
    margin-top: 15px;
}

.file-list span {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    margin: 5px;
    font-size: 13px;
}

/* Dark Form Area */

.contact-form-wrap .quote-form {
    color: #fff;
}

.contact-form-wrap .quote-form label {
    color: #fff;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.contact-form-wrap .quote-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* Required Mark */

.contact-form-wrap .required {
    color: #ff4d4d;
}

/* Submit Button */

.contact-form-wrap button,
.contact-form-wrap input[type="submit"],
.contact-form-wrap .btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.contact-form-wrap button:hover,
.contact-form-wrap input[type="submit"]:hover,
.contact-form-wrap .btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}





/* Responsive */

@media (max-width: 992px) {

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

    .contact-info-card {
        order: 2;
    }

    .contact-form-wrap {
        order: 1;
    }

  
}

@media (max-width: 576px) {

    .contact-wrap {
        padding: 50px 0;
    }

    .contact-form-wrap,
    .contact-info-card {
        padding: 25px;
    }

  
}

/* ============================================================
   YOUTUBE SHORTS
   ============================================================ */
.shorts-section { padding: 70px 0; background: var(--muted); }
.shorts-grid { display: grid; grid-template-columns: 1fr 200px; gap: 24px; align-items: start; }
.shorts-videos { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.short-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 9/16; background: #111; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.1); transition: var(--transition);
}
.short-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.short-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,#1a1a1a 0%,#2a0a0a 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: rgba(227,6,19,.25); transition: transform .5s ease;
}
.short-card:hover .short-bg { transform: scale(1.1); }
.short-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 10px; }
.short-play { width: 38px; height: 38px; background: rgba(229,0,0,.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; margin: auto; box-shadow: 0 4px 12px rgba(0,0,0,.3); padding-left: 2px; }
.short-info { background: linear-gradient(to top,rgba(0,0,0,.8),transparent); padding: 18px 6px 4px; }
.short-title { font-size: 10px; font-weight: 600; color: #fff; margin-bottom: 2px; line-height: 1.3; }
.short-views { font-size: 9px; color: rgba(255,255,255,.7); }
.shorts-sub {
  background: var(--black); color: #fff; border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; min-height: 250px; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
}
.yt-icon { width: 50px; height: 50px; background: #FF0000; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; box-shadow: 0 4px 15px rgba(255,0,0,.3); }
.shorts-sub p { font-size: 13px; font-weight: 600; line-height: 1.3; }
.shorts-sub small { font-size: 11px; opacity: .65; }

/* ============================================================
   POPULAR PRODUCTS
   ============================================================ */
.products-section { padding: 70px 0; background: #fff; }
.products-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,.12); border-color: transparent; }
.product-thumb { height: 180px; background: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 48px; color: rgba(227,6,19,.25); position: relative; transition: var(--transition); }
.product-card:hover .product-thumb { color: rgba(227,6,19,.45); }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--primary); color: #fff; font-size: 9px; font-weight: 700; padding: 3px 7px; border-radius: 3px; text-transform: uppercase; }
.product-info { padding: 12px; }
.product-name { font-size: 12px; font-weight: 600; color: var(--black); margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { font-weight: 700; font-size: 15px; color: var(--black); margin-bottom: 8px; }
.product-price .old { font-size: 11px; font-weight: 400; color: var(--muted-fg); text-decoration: line-through; margin-right: 6px; }
.btn-add-cart { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; background: var(--black); color: #fff; padding: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; border-radius: 4px; transition: var(--transition); border: none; cursor: pointer; }
.btn-add-cart:hover { background: var(--primary); }
.products-view-all { text-align: center; margin-top: 40px; }
/* WooCommerce overrides */
.products-grid .add_to_cart_button,
.products-grid .button { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100% !important; background: var(--black) !important; color: #fff !important; padding: 8px !important; font-size: 11px !important; font-family: var(--font-heading) !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: .5px !important; border-radius: 4px !important; transition: var(--transition) !important; border: none !important; }
.products-grid .add_to_cart_button:hover, .products-grid .button:hover { background: var(--primary) !important; }
.vendor-price-notice { background: var(--black); color: #fff; padding: 12px 16px; border-radius: var(--radius); margin: 12px 0; font-size: 14px; }
.vendor-price-notice .lbl { color: var(--primary); font-weight: 700; }

/* ============================================================
   STATS COUNTER
   ============================================================ */
.stats-section { padding: 60px 0; background: var(--black); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stat-item { padding: 20px; }
.stat-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 12px; display: flex; justify-content: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 13px; opacity: .75; text-transform: uppercase; letter-spacing: 1px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 70px 0; background: var(--muted); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,.05); transition: var(--transition); position: relative; overflow: hidden; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.tc-quote-bg { position: absolute; top: 6px; left: 20px; font-size: 6rem; font-family: Georgia,serif; color: rgba(227,6,19,.08); line-height: 1; user-select: none; }
.tc-stars { color: #FFB700; font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; position: relative; z-index: 1; }
.tc-text { font-size: 14px; color: var(--muted-fg); line-height: 1.8; font-style: italic; margin-bottom: 20px; position: relative; z-index: 1; }
.tc-author { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.tc-avatar { width: 44px; height: 44px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: #fff; flex-shrink: 0; }
.tc-name { font-weight: 700; font-size: 14px; color: var(--black); }
.tc-title { font-size: 12px; color: var(--muted-fg); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0a0a0a; color: #fff; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-logo { font-family: var(--font-heading); font-weight: 900; font-size: 22px; margin-bottom: 16px; line-height: 1; }
.footer-logo span { color: var(--primary); }
.footer-about { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,.06); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: 13px; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-col-title { font-family: var(--font-heading); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { display: flex; align-items: center; font-size: 13px; color: rgba(255,255,255,.55); transition: var(--transition); gap: 6px; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-links a i { font-size: 9px; opacity: .5; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.contact-row { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: rgba(255,255,255,.55); }
.contact-row i { color: var(--primary); margin-top: 2px; flex-shrink: 0; width: 14px; }
.btn-whatsapp-footer { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; padding: 10px 18px; border-radius: 4px; font-size: 13px; font-weight: 700; margin-top: 8px; transition: var(--transition); }
.btn-whatsapp-footer:hover { background: #1ebd5a; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.35); }
.footer-pay { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.35); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 6px 30px rgba(37,211,102,.75); }
}
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 9999;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; animation: pulse-wa 2s infinite;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ============================================================
   VENDOR DASHBOARD PAGE
   ============================================================ */
.vd-page { background: var(--muted); min-height: 100vh; }
.vd-header { background: var(--black); color: #fff; padding: 30px 0; }
.vd-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.vd-greeting h1 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; }
.vd-greeting h1 span { color: var(--primary); }
.vd-greeting p { font-size: 13px; opacity: .65; }
.vd-discount-badge { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 12px 20px; }
.vd-badge-pct { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.vd-badge-meta { font-size: 12px; opacity: .7; line-height: 1.5; }
.vd-badge-meta strong { color: #fff; font-size: 13px; display: block; }
.vd-nav { background: #111; border-bottom: 1px solid rgba(255,255,255,.08); }
.vd-nav ul { display: flex; align-items: center; gap: 0; }
.vd-nav ul li a {
  display: block; padding: 14px 20px;
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; color: rgba(255,255,255,.55);
  border-bottom: 3px solid transparent; transition: var(--transition);
}
.vd-nav ul li a:hover,
.vd-nav ul li a.active { color: #fff; border-bottom-color: var(--primary); }
.vd-body { padding: 30px 0 60px; }
.vd-stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 28px; }
.vd-stat-card { background: #fff; border-radius: 8px; padding: 20px 22px; box-shadow: 0 2px 10px rgba(0,0,0,.06); display: flex; align-items: center; gap: 16px; }
.vd-stat-icon { width: 50px; height: 50px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.vd-stat-icon.red   { background: rgba(227,6,19,.1);   color: var(--primary); }
.vd-stat-icon.blue  { background: rgba(59,130,246,.1); color: #3b82f6; }
.vd-stat-icon.green { background: rgba(34,197,94,.1);  color: #22c55e; }
.vd-stat-icon.gold  { background: rgba(245,158,11,.1); color: #f59e0b; }
.vd-stat-val { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--black); line-height: 1; margin-bottom: 4px; }
.vd-stat-label { font-size: 12px; color: var(--muted-fg); }
.vd-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.vd-panel { background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.06); overflow: hidden; margin-bottom: 24px; }
.vd-panel-head { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.vd-panel-head h3 { font-family: var(--font-heading); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--black); }
.vd-panel-body { padding: 22px; }
/* Orders table */
.orders-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.orders-table th { background: var(--muted); color: var(--muted-fg); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 10px 14px; text-align: left; white-space: nowrap; }
.orders-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.orders-table tr:last-child td { border-bottom: none; }
.orders-table tr:hover td { background: #fafafa; }
.order-num { font-weight: 700; color: var(--primary); white-space: nowrap; }
.order-status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.status-processing { background: rgba(59,130,246,.1); color: #3b82f6; }
.status-completed  { background: rgba(34,197,94,.1);  color: #22c55e; }
.status-pending, .status-pending-payment { background: rgba(245,158,11,.1); color: #f59e0b; }
.status-cancelled  { background: rgba(239,68,68,.1);  color: #ef4444; }
.status-on-hold    { background: rgba(107,114,128,.1); color: #6b7280; }
.status-refunded   { background: rgba(139,92,246,.1);  color: #8b5cf6; }
.price-original { font-size: 11px; color: var(--muted-fg); text-decoration: line-through; display: block; }
.price-vendor { font-weight: 700; color: var(--black); }
.price-savings { font-size: 11px; color: #22c55e; display: block; }
.btn-invoice { display: inline-flex; align-items: center; gap: 5px; background: var(--black); color: #fff; padding: 6px 12px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; border-radius: 4px; transition: var(--transition); white-space: nowrap; }
.btn-invoice:hover { background: var(--primary); color: #fff; }
.no-orders { text-align: center; padding: 40px; color: var(--muted-fg); font-size: 14px; }
.no-orders i { font-size: 40px; display: block; margin-bottom: 12px; opacity: .4; }
/* Vendor profile */
.vp-row { display: flex; align-items: flex-start; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13px; gap: 12px; }
.vp-row:last-child { border-bottom: none; }
.vp-label { color: var(--muted-fg); flex-shrink: 0; font-size: 12px; }
.vp-val { font-weight: 600; color: var(--black); text-align: right; }
.vp-val.disc { color: var(--primary); font-family: var(--font-heading); font-size: 17px; font-weight: 800; }
/* Tier display */
.tier-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 6px; border: 2px solid var(--border); font-size: 13px; font-weight: 600; background: var(--muted); color: var(--muted-fg); margin-bottom: 8px; }
.tier-item.active { background: rgba(227,6,19,.08); border-color: var(--primary); color: var(--black); }
.tier-pct { font-size: 16px; font-weight: 800; }
.tier-item.active .tier-pct { color: var(--primary); }
.tier-active-badge { background: var(--primary); color: #fff; font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 3px; text-transform: uppercase; }
/* Invoice print styles */
@media print {
  .site-header, .site-footer, .vd-header, .vd-nav, .vd-stats-row, .vd-panel:not(.invoice-panel), .whatsapp-float { display: none !important; }
  .invoice-print { display: block !important; }
}

/* ============================================================
   ADMIN VENDOR MANAGEMENT
   ============================================================ */
.mannwo-admin-header { border-bottom: 3px solid var(--primary); padding-bottom: 15px; margin-bottom: 25px; }
.mannwo-admin-header h2 { font-size: 22px; color: var(--black); display: flex; align-items: center; gap: 10px; }
.mannwo-admin-header h2 span { color: var(--primary); }
.vendor-mgmt-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vendor-mgmt-table th { background: var(--black); color: #fff; padding: 11px 14px; font-size: 11px; text-align: left; text-transform: uppercase; letter-spacing: .5px; }
.vendor-mgmt-table td { padding: 12px 14px; border-bottom: 1px solid #eee; vertical-align: middle; }
.vendor-mgmt-table tr:hover td { background: #fafafa; }
.disc-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.disc-options { display: flex; gap: 6px; }
.disc-opt { position: relative; }
.disc-opt input[type=radio] { position: absolute; opacity: 0; width: 0; }
.disc-opt label { display: inline-block; padding: 5px 13px; border: 2px solid #ddd; border-radius: 4px; font-size: 12px; font-weight: 700; cursor: pointer; transition: .2s; color: #555; }
.disc-opt input:checked + label { border-color: var(--primary); background: rgba(227,6,19,.08); color: var(--primary); }
.disc-opt label:hover { border-color: #aaa; }
.btn-save-disc { background: var(--primary); color: #fff; padding: 7px 16px; font-size: 12px; font-weight: 700; border-radius: 4px; border: none; cursor: pointer; transition: .2s; }
.btn-save-disc:hover { background: var(--primary-dark); }
.btn-make-vendor { background: var(--black); color: #fff; padding: 6px 14px; font-size: 11px; font-weight: 600; border-radius: 4px; border: none; cursor: pointer; transition: .2s; }
.btn-make-vendor:hover { background: #333; }
.btn-remove-vendor { background: rgba(239,68,68,.1); color: #ef4444; padding: 6px 14px; font-size: 11px; font-weight: 600; border-radius: 4px; border: 1px solid rgba(239,68,68,.2); cursor: pointer; transition: .2s; }
.btn-remove-vendor:hover { background: #ef4444; color: #fff; border-color: #ef4444; }
.pending-badge { background: rgba(245,158,11,.12); color: #f59e0b; padding: 3px 8px; border-radius: 3px; font-size: 11px; font-weight: 700; }
.vendor-badge-active { background: rgba(34,197,94,.1); color: #22c55e; padding: 3px 8px; border-radius: 3px; font-size: 11px; font-weight: 700; }
.applications-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.applications-table th { background: #f5f5f5; color: #555; padding: 10px 14px; font-size: 11px; text-align: left; text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid #ddd; }
.applications-table td { padding: 11px 14px; border-bottom: 1px solid #eee; vertical-align: middle; }
.btn-approve { background: rgba(34,197,94,.1); color: #22c55e; padding: 6px 14px; font-size: 11px; font-weight: 600; border-radius: 4px; border: 1px solid rgba(34,197,94,.2); cursor: pointer; transition: .2s; margin-right: 6px; }
.btn-approve:hover { background: #22c55e; color: #fff; }
.btn-reject { background: rgba(239,68,68,.1); color: #ef4444; padding: 6px 14px; font-size: 11px; font-weight: 600; border-radius: 4px; border: 1px solid rgba(239,68,68,.2); cursor: pointer; transition: .2s; }
.btn-reject:hover { background: #ef4444; color: #fff; }

/* ============================================================
   NOTICES
   ============================================================ */
.site-notice { padding: 14px 18px; border-radius: var(--radius); font-size: 14px; margin: 20px 0; display: flex; align-items: center; gap: 10px; }
.site-notice.info    { background: rgba(59,130,246,.08); color: #3b82f6; border-left: 3px solid #3b82f6; }
.site-notice.error   { background: rgba(239,68,68,.08);  color: #ef4444; border-left: 3px solid #ef4444; }
.site-notice.success { background: rgba(34,197,94,.08);  color: #22c55e; border-left: 3px solid #22c55e; }
.site-notice.warning { background: rgba(245,158,11,.08); color: #f59e0b; border-left: 3px solid #f59e0b; }

/* ============================================================
   WOOCOMMERCE
   ============================================================ */
.woocommerce-page-wrap { padding: 40px 0 60px; }
.mannwo-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 40px 0 20px; flex-wrap: wrap; }
.mannwo-pagination a, .mannwo-pagination span { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 13px; font-weight: 600; border: 1px solid var(--border); color: var(--black); transition: var(--transition); }
.mannwo-pagination a:hover, .mannwo-pagination span.current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) { .products-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 1024px) {
  .about-quote-grid { grid-template-columns: 1fr 1fr; }
  .about-img-col { display: none; }
  .categories-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .vd-stats-row { grid-template-columns: repeat(2,1fr); }
  .vd-grid { grid-template-columns: 1fr; }
  .shorts-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .topbar-left .welcome { display: none; }
  .about-quote-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .shorts-videos { grid-template-columns: repeat(3,1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .vd-stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-title { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .slide-title { font-size: 1.8rem; }
  .slide-btns { flex-direction: column; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .shorts-videos { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .vd-stats-row { grid-template-columns: 1fr; }
  .qf-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CUSTOM ORDER FORM FIELDS
   ============================================================ */
.co-field { display: flex; flex-direction: column; gap: 5px; }
.co-field label { font-size: 12px; font-weight: 700; color: var(--black); text-transform: uppercase; letter-spacing: .4px; }
.co-field input[type="text"],
.co-field input[type="tel"],
.co-field input[type="number"],
.co-field input[type="email"],
.co-field select,
.co-field textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: 13px; color: var(--black); background: #fafafa; transition: var(--transition); box-sizing: border-box; }
.co-field input:focus,
.co-field select:focus,
.co-field textarea:focus { border-color: var(--primary); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(227,6,19,.08); }
.co-field input[type="file"] { padding: 8px; background: #fff; }
.co-field small { font-size: 11px; color: #9ca3af; }
.co-field textarea { resize: vertical; min-height: 80px; }

/* ============================================================
   VENDOR / CUSTOMER DASHBOARD – SHARED STRUCTURE
   ============================================================ */
.vd-page { background: var(--light-gray); min-height: 80vh; }
.vd-header { background: linear-gradient(135deg, var(--black) 0%, #1a1a2e 100%); padding: 36px 0; color: #fff; }
.vd-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.vd-greeting h1 { font-size: 1.6rem; margin: 0 0 6px; font-family: var(--font-heading); font-weight: 900; color: #fff; }
.vd-greeting h1 span { color: var(--primary); }
.vd-greeting p { margin: 0; color: rgba(255,255,255,.55); font-size: 13px; }

/* Vendor discount badge in header */
.vd-discount-badge { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 20px; }
.vd-badge-pct { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.vd-badge-meta { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.5; }
.vd-badge-meta strong { display: block; color: #fff; }

/* Tab nav */
.vd-nav { background: rgba(0,0,0,.85); border-bottom: 1px solid rgba(255,255,255,.06); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); }
.vd-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.vd-nav ul::-webkit-scrollbar { display: none; }
.vd-nav li { flex-shrink: 0; }
.vd-nav a { display: flex; align-items: center; gap: 7px; padding: 16px 18px; color: rgba(255,255,255,.5); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; text-decoration: none; transition: var(--transition); white-space: nowrap; border-bottom: 3px solid transparent; }
.vd-nav a:hover { color: rgba(255,255,255,.85); background: rgba(255,255,255,.04); }
.vd-nav a.active { color: #fff; border-bottom-color: var(--primary); background: rgba(227,6,19,.08); }
.vd-nav a i { font-size: 13px; }

/* Dashboard body */
.vd-body { padding: 28px 0 60px; }

/* Stats row */
.vd-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vd-stat-card { background: #fff; border-radius: 10px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.06); border: 1px solid var(--border); }
.vd-stat-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.vd-stat-icon.red   { background: rgba(227,6,19,.08);   color: #E30613; }
.vd-stat-icon.blue  { background: rgba(59,130,246,.08);  color: #3b82f6; }
.vd-stat-icon.green { background: rgba(34,197,94,.08);   color: #22c55e; }
.vd-stat-icon.gold  { background: rgba(245,158,11,.08);  color: #f59e0b; }
.vd-stat-val   { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 900; color: var(--black); line-height: 1; }
.vd-stat-label { font-size: 11px; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: .4px; margin-top: 3px; }

/* Grid layout */
.vd-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; }

/* Panel cards */
.vd-panel { background: #fff; border-radius: 10px; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.vd-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--border); gap: 12px; flex-wrap: wrap; }
.vd-panel-head h3 { margin: 0; font-family: var(--font-heading); font-size: 14px; font-weight: 800; color: var(--black); text-transform: uppercase; letter-spacing: .4px; }
.vd-panel-body { padding: 20px 22px; }

/* Orders table */
.orders-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.orders-table th { background: #fafafa; padding: 10px 14px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: #9ca3af; text-align: left; border-bottom: 2px solid var(--border); white-space: nowrap; }
.orders-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.orders-table tr:last-child td { border-bottom: none; }
.orders-table tr:hover { background: #fafafa; }

/* Order status badges */
.order-num { font-weight: 700; color: var(--black); }
.order-status { padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; display: inline-block; }
.status-pending    { background: rgba(245,158,11,.1);  color: #f59e0b; }
.status-processing { background: rgba(59,130,246,.1);  color: #3b82f6; }
.status-completed  { background: rgba(34,197,94,.1);   color: #22c55e; }
.status-cancelled  { background: rgba(239,68,68,.1);   color: #ef4444; }
.status-on-hold    { background: rgba(107,114,128,.1); color: #6b7280; }
.status-refunded   { background: rgba(139,92,246,.1);  color: #8b5cf6; }

/* Price display */
.price-original { color: #9ca3af; text-decoration: line-through; font-size: 11px; }
.price-vendor   { color: var(--black); font-weight: 700; }
.price-savings  { color: #22c55e; font-size: 11px; font-weight: 700; }
.price-savings i { font-size: 9px; }

/* Invoice button */
.btn-invoice { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; background: rgba(227,6,19,.08); color: #E30613; border: 1px solid rgba(227,6,19,.2); cursor: pointer; text-decoration: none; transition: var(--transition); }
.btn-invoice:hover { background: var(--primary); color: #fff; }

/* No orders placeholder */
.no-orders { padding: 48px 24px; text-align: center; color: #9ca3af; }
.no-orders i { font-size: 2.5rem; margin-bottom: 12px; display: block; color: #e5e7eb; }
.no-orders p { font-size: 14px; margin: 0; }

/* Profile rows */
.vp-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.vp-row:last-child { border-bottom: none; }
.vp-label { color: #6b7280; font-weight: 600; }
.vp-val   { color: var(--black); font-weight: 700; }
.vp-val.disc { color: var(--primary); }

/* Tier cards */
.tier-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); }
.tier-item:last-of-type { border-bottom: none; }
.tier-item.active { }
.tier-pct { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 900; color: var(--black); }
.tier-item.active .tier-pct { color: var(--primary); }
.tier-active-badge { background: var(--primary); color: #fff; font-size: 9px; padding: 2px 8px; border-radius: 20px; font-weight: 700; letter-spacing: .4px; }

/* Tracking step line */
.tracking-steps { display: flex; align-items: center; }

/* ============================================================
   RESPONSIVE – DASHBOARD
   ============================================================ */
@media (max-width: 1024px) {
  .vd-stats-row { grid-template-columns: repeat(2, 1fr); }
  .vd-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .vd-stats-row { grid-template-columns: repeat(2, 1fr); }
  .vd-header { padding: 24px 0; }
  .vd-greeting h1 { font-size: 1.3rem; }
  .vd-discount-badge { display: none; }
}
@media (max-width: 480px) {
  .vd-stats-row { grid-template-columns: 1fr 1fr; }
  .vd-panel-head { flex-direction: column; align-items: flex-start; }
  .orders-table th, .orders-table td { padding: 8px 10px; font-size: 11px; }
}

/* ============================================================
   FRONTEND AUTH — LOGIN / REGISTRATION
   ============================================================ */
.auth-page-wrap { background: var(--light-gray); min-height: 80vh; padding: 40px 0 60px; }

.auth-wrapper { max-width: 560px; margin: 0 auto; }

/* Branding */
.auth-brand { text-align: center; margin-bottom: 24px; }
.auth-logo { font-family: var(--font-heading); font-weight: 900; font-size: 1.8rem; color: var(--black); text-decoration: none; letter-spacing: -1px; }
.auth-logo span { color: var(--primary); }
.auth-brand-sub { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: #9ca3af; margin-top: 4px; }

/* Tab bar */
.auth-tabs { display: flex; background: #fff; border-radius: 10px; padding: 5px; gap: 4px; margin-bottom: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.07); border: 1px solid var(--border); }
.auth-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 8px; border-radius: 7px; border: none; background: none; font-family: var(--font-heading); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: #9ca3af; cursor: pointer; transition: var(--transition); }
.auth-tab:hover { color: var(--black); background: var(--light-gray); }
.auth-tab.active { background: var(--primary); color: #fff; }

/* Perks bar */
.auth-perks-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 16px; }
.auth-perks-bar > div { background: var(--auth-perk-bg, rgba(227,6,19,.06)); color: var(--auth-perk-color, #E30613); border-radius: 8px; padding: 10px 6px; text-align: center; font-size: 11px; font-weight: 700; line-height: 1.4; }
.auth-perks-bar > div i { display: block; font-size: 16px; margin-bottom: 5px; }

/* Panels */
.auth-panel { display: none; }
.auth-panel.active { display: block; }

/* Card */
.auth-card { background: #fff; border-radius: 12px; padding: 36px; box-shadow: 0 4px 24px rgba(0,0,0,.08); border: 1px solid var(--border); }
.auth-card-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; color: var(--black); margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.auth-card-title i { color: var(--primary); font-size: 1rem; }
.auth-card-sub { font-size: 13px; color: #6b7280; margin: 0 0 24px; line-height: 1.5; }

/* Notice */
.auth-notice { padding: 12px 16px; border-radius: 6px; font-size: 13px; margin-bottom: 18px; display: flex; align-items: flex-start; gap: 8px; }
.auth-notice.success { background: rgba(34,197,94,.08); color: #16a34a; border: 1px solid rgba(34,197,94,.25); }
.auth-notice.error   { background: rgba(239,68,68,.08); color: #dc2626; border: 1px solid rgba(239,68,68,.25); }
.auth-notice.info    { background: rgba(59,130,246,.08); color: #2563eb; border: 1px solid rgba(59,130,246,.2); }

/* Form layout */
.auth-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.auth-field label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--black); display: flex; align-items: center; gap: 6px; }
.auth-field label i { color: #9ca3af; font-size: 10px; }
.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="tel"],
.auth-field input[type="password"],
.auth-field select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 7px; font-family: var(--font-body); font-size: 14px; color: var(--black); background: #fafafa; transition: var(--transition); box-sizing: border-box; }
.auth-field input:focus,
.auth-field select:focus { border-color: var(--primary); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(227,6,19,.08); }
.auth-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* Password field */
.auth-pw-wrap { position: relative; }
.auth-pw-wrap input { padding-right: 42px; width: 100%; box-sizing: border-box; }
.auth-pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #9ca3af; cursor: pointer; padding: 4px; font-size: 13px; line-height: 1; transition: var(--transition); }
.auth-pw-toggle:hover { color: var(--black); }

/* Password strength */
.auth-pw-strength { margin-top: 7px; }
.auth-strength-bar { height: 4px; background: #e5e7eb; border-radius: 2px; overflow: hidden; margin-bottom: 4px; }
.auth-strength-fill { height: 100%; border-radius: 2px; transition: width .3s, background .3s; width: 0; }
.auth-strength-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }

/* Misc form elements */
.auth-row-between { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.auth-checkbox { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #6b7280; cursor: pointer; line-height: 1.4; }
.auth-checkbox input[type="checkbox"] { margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.auth-link-sm { color: var(--primary); font-size: 12px; font-weight: 600; text-decoration: none; }
.auth-link-sm:hover { text-decoration: underline; }
.auth-terms { margin-bottom: 18px; }

/* Submit button */
.auth-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; background: var(--primary); color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; border: none; border-radius: 7px; cursor: pointer; transition: var(--transition); text-decoration: none; }
.auth-btn:hover { background: #c0051f; transform: translateY(-1px); }
.auth-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.auth-btn-blue { background: #3b82f6; }
.auth-btn-blue:hover { background: #2563eb; }

/* Switch prompt */
.auth-switch-prompt { text-align: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: #6b7280; }
.auth-switch-prompt:nth-child(n+2) { border-top: none; padding-top: 0; margin-top: 8px; }
.auth-switch-link { background: none; border: none; color: var(--primary); font-weight: 700; font-size: 13px; cursor: pointer; padding: 0; margin-left: 4px; }
.auth-switch-link:hover { text-decoration: underline; }

/* ============================================================
   HEADER ACCOUNT DROPDOWN
   ============================================================ */
.header-account-dropdown { position: relative; }
.header-account-menu { position: absolute; right: 0; top: calc(100% + 12px); width: 280px; background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.16); border: 1px solid var(--border); padding: 12px; z-index: 9999; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
.header-account-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.ham-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #9ca3af; padding: 4px 6px 10px; }
.ham-item { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 8px; text-decoration: none; transition: var(--transition); }
.ham-item:hover { background: var(--light-gray); }
.ham-icon { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.ham-vendor .ham-icon { background: rgba(227,6,19,.08); color: var(--primary); }
.ham-customer .ham-icon { background: rgba(59,130,246,.08); color: #3b82f6; }
.ham-label { font-size: 13px; font-weight: 700; color: var(--black); }
.ham-sub { font-size: 11px; color: #9ca3af; margin-top: 1px; }
.ham-divider { height: 1px; background: var(--border); margin: 10px 0; }
.ham-reg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ham-reg-link { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 8px; border-radius: 7px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; text-decoration: none; background: var(--light-gray); color: var(--black); transition: var(--transition); }
.ham-reg-link:hover { background: var(--black); color: #fff; }

/* ============================================================
   RESPONSIVE – AUTH
   ============================================================ */
@media (max-width: 600px) {
  .auth-card { padding: 24px 18px; }
  .auth-grid-2 { grid-template-columns: 1fr; }
  .auth-perks-bar { grid-template-columns: repeat(2, 1fr); }
  .auth-tabs { font-size: 11px; }
}
@media (max-width: 400px) {
  .auth-perks-bar { grid-template-columns: repeat(2, 1fr); }
  .ham-reg-row { grid-template-columns: 1fr; }
}

/* =============================================================
   MANNWO v3 – CUSTOM ORDER FORMS & PAYMENT SYSTEM
   ============================================================= */

/* --- Co-subtab bar --- */
.co-subtab-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 4px;
}
.co-subtab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: all .2s;
    flex: 1;
    justify-content: center;
}
.co-subtab:hover { background: #fff; color: #1f2937; }
.co-subtab.active { background: #fff; color: #E30613; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

/* --- Order type selector (bulk vs team) --- */
.order-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}
.order-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}
.order-type-btn i { font-size: 28px; color: #9ca3af; transition: color .2s; }
.order-type-btn span { font-size: 14px; font-weight: 700; color: #1f2937; }
.order-type-btn small { font-size: 11px; color: #9ca3af; }
.order-type-btn:hover { border-color: #E30613; }
.order-type-btn.active { border-color: #E30613; background: #fff5f5; }
.order-type-btn.active i { color: #E30613; }
@media (max-width: 480px) { .order-type-selector { grid-template-columns: 1fr; } }

/* --- Custom order form --- */
.co-form { animation: fadeIn .2s ease; }
.co-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (max-width: 640px) { .co-form-grid { grid-template-columns: 1fr; } }
.co-field { display: flex; flex-direction: column; gap: 5px; }
.co-field label { font-size: 12px; font-weight: 700; color: #374151; text-transform: uppercase; letter-spacing: .4px; }
.co-field input, .co-field select, .co-field textarea {
    padding: 10px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    color: #1f2937;
    background: #fafafa;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
}
.co-field input:focus, .co-field select:focus, .co-field textarea:focus {
    outline: none;
    border-color: #E30613;
    background: #fff;
}
.co-field textarea { resize: vertical; min-height: 80px; }
.co-field .field-hint { font-size: 11px; color: #9ca3af; margin: 0; }
.co-field .field-hint a { color: #E30613; }
.req { color: #E30613; }

/* Size breakdown grid */
.size-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}
.size-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.size-item span { font-size: 10px; font-weight: 700; color: #6b7280; text-transform: uppercase; }
.size-item input { text-align: center; padding: 8px 4px !important; font-size: 13px !important; }
@media (max-width: 600px) { .size-breakdown-grid { grid-template-columns: repeat(4, 1fr); } }

/* Submit row */
.co-submit-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}
.co-form-notice { font-size: 12px; color: #9ca3af; }
.btn-lg { padding: 14px 28px !important; font-size: 14px !important; }
.co-form-msg {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}
.co-form-msg.success { background: #f0fdf4; color: #15803d; border: 1px solid #86efac; }
.co-form-msg.error   { background: #fff5f5; color: #dc2626; border: 1px solid #fca5a5; }

/* Info banner */
.co-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #1e40af;
}
.co-info-banner i { color: #3b82f6; font-size: 16px; margin-top: 1px; flex-shrink: 0; }

/* Co badge */
.co-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: .3px;
}

/* Order card */
.co-order-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    transition: box-shadow .2s;
}
.co-order-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.co-order-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #f9fafb;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 8px;
}
.co-order-card-body { padding: 18px; }
.co-order-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.meta-label { display: block; font-size: 10px; color: #9ca3af; font-weight: 700; text-transform: uppercase; margin-bottom: 2px; }
.meta-val   { font-size: 13px; font-weight: 600; color: #1f2937; }

/* Admin note box */
.admin-note-box {
    background: #fef9ec;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    color: #92400e;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.admin-note-box i { color: #f59e0b; flex-shrink: 0; margin-top: 1px; }

/* Payment due box */
.payment-due-box {
    background: #fff8f8;
    border: 1.5px solid #fca5a5;
    border-radius: 12px;
    padding: 18px;
    margin-top: 14px;
}
.payment-due-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.payment-due-header > i {
    width: 48px;
    height: 48px;
    background: #fee2e2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #E30613;
    flex-shrink: 0;
}

/* Payment methods */
.payment-details { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.pay-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
}
.pay-method > i { font-size: 20px; flex-shrink: 0; }
.pay-method > div { flex: 1; }
.pay-method strong { display: block; font-size: 12px; margin-bottom: 2px; }
.pay-method small { color: #6b7280; }

/* Proof upload */
.proof-upload-area { margin-top: 12px; }
.file-input {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1.5px dashed #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    font-size: 13px;
    cursor: pointer;
}
.file-input:hover { border-color: #E30613; }
.proof-form-msg {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}
.proof-form-msg.success { background: #f0fdf4; color: #15803d; }
.proof-form-msg.error   { background: #fff5f5; color: #dc2626; }

/* Discount card highlight */
.discount-card { border: 1.5px solid #fee2e2; }

/* Design card */
.design-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
}
.design-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.design-files { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.design-file-item { flex: 0 0 auto; max-width: 200px; }
.design-action-row .design-revision-note { width: 100%; padding: 8px 12px; border: 1.5px solid #e5e7eb; border-radius: 8px; font-family: inherit; font-size: 13px; resize: vertical; }
.design-action-row .design-revision-note:focus { outline: none; border-color: #E30613; }

/* --- Responsive fixes --- */
@media (max-width: 768px) {
    .co-order-card-head { flex-direction: column; align-items: flex-start; }
    .co-submit-row { flex-direction: column; align-items: flex-start; }
    .payment-due-header { flex-wrap: wrap; }
}

/* =============================================================
   PAYMENT QR CODE BLOCK
   ============================================================= */

.payment-qr-block {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
}

.payment-qr-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    text-align: left;
}
.payment-qr-header > i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}
.payment-qr-header strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
}
.payment-qr-header span {
    font-size: 11px;
    color: #6b7280;
}

.payment-qr-image-wrap {
    position: relative;
    display: inline-block;
    margin: 0 auto 12px;
}
.payment-qr-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border: 3px solid #f3f4f6;
    border-radius: 12px;
    background: #fff;
    display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.payment-qr-amount {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #E30613;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(227,6,19,.3);
}
.payment-qr-amount i { margin-right: 2px; font-size: 11px; }

.payment-qr-hint {
    margin: 20px 0 0;
    font-size: 11px;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: left;
    line-height: 1.6;
}
.payment-qr-hint i { color: #3b82f6; margin-right: 4px; }

/* UPI app icons row */
.upi-apps-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 10px 0 14px;
}
.upi-app-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #6b7280;
}
.upi-app-icon img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

/* Divider between payment methods */
.payment-methods-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    font-size: 11px;
    color: #9ca3af;
}
.payment-methods-divider::before,
.payment-methods-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

@media (max-width: 480px) {
    .payment-qr-img { width: 150px; height: 150px; }
}
