/* =====================================================
   OKI DUCKY — g13-ui.css
   Brand Design Tokens + Core Components
   ===================================================== */

:root {
    /* Brand Colors */
    --od-primary: #1A1A1A;
    --od-secondary: #F5F0EA;
    --od-accent: #E8920D;
    --od-dark: #1A1A1A;
    --od-light: #F8F6F1;
    --od-white: #FFFFFF;
    --od-text: #1A1A1A;
    --od-text-muted: #6F6F6F;
    --od-text-light: #999999;
    --od-border: #DDDBD5;
    --od-border-light: #E5E5E5;
    --od-success: #28A745;
    --od-bg: #F8F6F1;

    /* Typography */
    --od-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --od-font-secondary: 'Poppins', sans-serif;

    /* Border Radius */
    --od-radius-pill: 50px;
    --od-radius-card: 12px;
    --od-radius-sm: 8px;
    --od-radius-lg: 16px;

    /* Shadows */
    --od-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --od-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --od-shadow-lg: 0 8px 24px rgba(0,0,0,0.1);

    /* Transitions */
    --od-transition: 150ms ease;
    --od-transition-slow: 300ms ease;
}

/* =====================================================
   BASE
   ===================================================== */

* { box-sizing: border-box; }

body {
    font-family: var(--od-font-primary);
    color: var(--od-text);
    background: var(--od-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--od-font-secondary);
}

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

a:hover { color: var(--od-accent); }

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

/* =====================================================
   TOPBAR
   ===================================================== */

.od-topbar {
    background: var(--od-primary);
    color: var(--od-white);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    padding: 8px 0;
}

.od-topbar i { margin-right: 6px; color: var(--od-accent); }

/* =====================================================
   NAVBAR
   ===================================================== */

.od-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--od-transition);
}

.od-logo img { height: 48px; }

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

.od-nav-links .nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: var(--od-primary) !important;
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
    border: none;
}

.od-nav-links .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--od-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.od-nav-links .nav-link:hover::after,
.od-nav-links .nav-link.active::after {
    width: 100%;
}

.od-nav-icons {
    display: flex;
    gap: 24px;
    align-items: center;
}

.od-nav-icon {
    font-size: 1.15rem;
    color: var(--od-primary);
    position: relative;
    transition: transform 0.2s ease, color 0.2s ease;
}

.od-nav-icon:hover { 
    color: var(--od-accent); 
    transform: translateY(-2px);
}

.od-cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--od-accent);
    color: var(--od-white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Hamburger Animation */
.od-custom-toggler {
    padding: 0;
    width: 32px;
    height: 24px;
    position: relative;
}
.od-custom-toggler:focus {
    box-shadow: none;
    outline: none;
}
.hamburger-icon {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}
.hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--od-primary);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
.hamburger-icon span:nth-child(1) { top: 0px; }
.hamburger-icon span:nth-child(2) { top: 10px; }
.hamburger-icon span:nth-child(3) { top: 20px; }

/* When expanded, transform to X */
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Mobile Menu Premium Typography */
@media (max-width: 991.98px) {
    .od-navbar .navbar-collapse {
        background: var(--od-bg);
        text-align: center;
        border-top: 1px solid rgba(0,0,0,0.05);
        border-radius: 0 0 16px 16px;
        box-shadow: 0 20px 30px rgba(0,0,0,0.05);
    }
    
    .od-navbar .navbar-nav {
        padding-top: 24px;
    }
    
    .od-nav-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .od-nav-links .nav-link {
        font-size: 1.8rem !important; /* Premium large typography */
        font-weight: 700;
        letter-spacing: 2px;
        padding: 10px 0;
        display: inline-block;
    }

    .od-nav-icons {
        margin-left: auto;
        margin-right: 15px;
        gap: 20px;
    }
    
    .od-nav-icon {
        font-size: 1.4rem;
    }
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */

.od-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--od-dark);
}

.od-hero-title .od-accent-dot { color: var(--od-accent); }

.od-page-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.od-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.od-accent-text {
    color: var(--od-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.od-btn {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: none;
    transition: all var(--od-transition);
}

.od-btn-pill {
    border-radius: var(--od-radius-pill) !important;
}

.od-btn:hover { transform: translateY(-1px); }

.btn-dark.od-btn {
    background: var(--od-primary);
    border-color: var(--od-primary);
}

.btn-dark.od-btn:hover {
    background: #333;
    border-color: #333;
}

.btn-outline-dark.od-btn {
    border-color: var(--od-primary);
    color: var(--od-primary);
}

.btn-outline-dark.od-btn:hover {
    background: var(--od-primary);
    color: var(--od-white);
}

/* =====================================================
   INPUTS
   ===================================================== */

.od-input {
    border: 1px solid var(--od-border);
    border-radius: var(--od-radius-sm);
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: border-color var(--od-transition);
}

.od-input:focus {
    border-color: var(--od-primary);
    box-shadow: none;
    outline: none;
}

.od-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--od-text);
    margin-bottom: 4px;
    display: block;
}

/* =====================================================
   LINKS
   ===================================================== */

.od-link-arrow {
    color: var(--od-text);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color var(--od-transition);
}

.od-link-arrow:hover { color: var(--od-accent); }

.od-link-sm {
    font-size: 0.75rem;
    color: var(--od-text-muted);
    text-decoration: underline;
}

/* =====================================================
   BREADCRUMBS
   ===================================================== */

.od-breadcrumbs {
    font-size: 0.75rem;
    color: var(--od-text-muted);
    letter-spacing: 0.5px;
}

.od-breadcrumbs a { color: var(--od-text-muted); }
.od-breadcrumbs a:hover { color: var(--od-text); }

/* =====================================================
   PRODUCT CARD
   ===================================================== */

.od-product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform var(--od-transition);
}

.od-product-card:hover {
    transform: translateY(-2px);
    color: inherit;
}

.od-product-card-img {
    position: relative;
    background: var(--od-secondary);
    border-radius: var(--od-radius-card);
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: 10px;
}

.od-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.od-wishlist-btn-sm {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 0.9rem;
    color: var(--od-text);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--od-transition);
}

.od-wishlist-btn-sm:hover { opacity: 1; color: var(--od-accent); }

.od-product-card-name {
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.od-product-card-price {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.od-color-dots {
    display: flex;
    gap: 4px;
}

.od-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--od-border);
    display: inline-block;
}

/* =====================================================
   BADGES
   ===================================================== */

.od-badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--od-accent);
    color: var(--od-white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--od-radius-pill);
    letter-spacing: 0.5px;
    z-index: 2;
}

/* =====================================================
   TRUST BAR
   ===================================================== */

.od-trust-bar {
    border-top: 1px solid var(--od-border-light);
    border-bottom: 1px solid var(--od-border-light);
}

.od-trust-bar p { font-size: 0.8rem; margin-bottom: 2px; }
.od-trust-bar small { font-size: 0.72rem; }

/* =====================================================
   NEWSLETTER
   ===================================================== */

.od-newsletter {
    background: var(--od-secondary);
}

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

.od-footer {
    background: var(--od-light);
    border-top: 1px solid var(--od-border-light);
}

.od-footer h6 { font-size: 0.78rem; letter-spacing: 0.5px; }
.od-footer ul li { margin-bottom: 6px; }
.od-footer ul li a {
    font-size: 0.82rem;
    color: var(--od-text-muted);
}
.od-footer ul li a:hover { color: var(--od-text); }

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

.od-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--od-primary);
    color: var(--od-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background var(--od-transition);
}

.od-social-icons a:hover { background: var(--od-accent); color: var(--od-white); }

/* =====================================================
   STEPPER
   ===================================================== */

.od-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.od-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
}

.od-step.active, .od-step.completed { opacity: 1; }

.od-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--od-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--od-text-muted);
}

.od-step.active .od-step-circle,
.od-step.completed .od-step-circle {
    background: var(--od-primary);
    border-color: var(--od-primary);
    color: var(--od-white);
}

.od-step span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.od-step-line {
    width: 60px;
    height: 2px;
    background: var(--od-border);
    margin: 0 8px;
    margin-bottom: 20px;
}

/* =====================================================
   QUANTITY SELECTOR
   ===================================================== */

.od-quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--od-border);
    border-radius: var(--od-radius-pill);
    overflow: hidden;
}

.od-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--od-transition);
}

.od-qty-btn:hover { background: var(--od-secondary); }

.od-qty-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* =====================================================
   COLOR SWATCHES
   ===================================================== */

.od-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--od-transition);
}

.od-color-swatch.active { border-color: var(--od-primary); }
.od-color-swatch:hover { border-color: var(--od-text-muted); }

/* =====================================================
   SIZE BUTTONS
   ===================================================== */

.od-size-btn {
    min-width: 40px;
    height: 36px;
    border: 1px solid var(--od-border);
    border-radius: var(--od-radius-sm);
    background: none;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--od-transition);
}

.od-size-btn.active {
    background: var(--od-primary);
    border-color: var(--od-primary);
    color: var(--od-white);
}

.od-size-btn:hover:not(.active) {
    border-color: var(--od-primary);
}

/* =====================================================
   CORTE BUTTONS (Dama / Caballero)
   ===================================================== */

.od-corte-btn {
    min-width: 64px;
    height: 36px;
    border: 1px solid var(--od-border);
    border-radius: var(--od-radius-sm);
    background: none;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--od-transition);
}

.od-corte-btn.active {
    background: var(--od-primary);
    border-color: var(--od-primary);
    color: var(--od-white);
}

.od-corte-btn:hover:not(.active) {
    border-color: var(--od-primary);
}

/* =====================================================
   ORDER SUMMARY
   ===================================================== */

.od-order-summary {
    border: 1px solid var(--od-border-light);
    border-radius: var(--od-radius-card);
    padding: 24px;
}

.od-summary-img {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.od-summary-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--od-radius-sm);
}

.od-summary-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--od-primary);
    color: var(--od-white);
    font-size: 0.65rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* =====================================================
   CART ITEM
   ===================================================== */

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

.od-cart-item-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: var(--od-secondary);
    border-radius: var(--od-radius-sm);
    overflow: hidden;
}

.od-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.od-cart-item-info { flex-grow: 1; }
.od-cart-item-info h6 { font-size: 0.85rem; text-transform: uppercase; }

.od-cart-item-total { font-weight: 700; white-space: nowrap; }

.od-cart-item-remove {
    background: none;
    border: none;
    color: var(--od-text-muted);
    cursor: pointer;
    padding: 4px;
}

.od-cart-item-remove:hover { color: var(--od-primary); }

/* =====================================================
   PAYMENT OPTIONS
   ===================================================== */

.od-payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--od-border-light);
    border-radius: var(--od-radius-sm);
    cursor: pointer;
    margin-bottom: 8px;
    transition: border-color var(--od-transition);
}

.od-payment-option.active {
    border-color: var(--od-primary);
}

.od-payment-option input { display: none; }

.od-payment-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--od-border);
    flex-shrink: 0;
    position: relative;
}

.od-payment-option.active .od-payment-radio {
    border-color: var(--od-primary);
}

.od-payment-option.active .od-payment-radio::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--od-primary);
}

.od-payment-icons {
    font-size: 1.3rem;
    color: var(--od-text-muted);
    display: flex;
    gap: 8px;
}

/* =====================================================
   SUCCESS
   ===================================================== */

.od-success-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--od-success);
    color: var(--od-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
}

.od-order-confirmation {
    background: var(--od-secondary);
    padding: 24px;
    border-radius: var(--od-radius-card);
}

/* =====================================================
   ACCORDION
   ===================================================== */

.od-accordion-item {
    border-bottom: 1px solid var(--od-border-light);
}

.od-accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.od-accordion-body {
    padding-bottom: 16px;
    font-size: 0.9rem;
    color: var(--od-text-muted);
}

/* =====================================================
   FILTERS
   ===================================================== */



.od-filter-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--od-border-light);
}

.od-filter-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.od-filter-group .form-check {
    margin-bottom: 6px;
}

.od-filter-group .form-check-label {
    font-size: 0.85rem;
}

/* =====================================================
   ACCOUNT
   ===================================================== */

.od-account-sidebar {
    background: var(--od-light);
    padding: 24px;
    border-radius: var(--od-radius-card);
}

.od-account-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--od-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--od-text-muted);
    margin-bottom: 12px;
}

.od-account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--od-radius-sm);
    font-size: 0.85rem;
    color: var(--od-text-muted);
    margin-bottom: 2px;
    transition: all var(--od-transition);
}

.od-account-nav a:hover { background: var(--od-white); color: var(--od-text); }
.od-account-nav a.active { background: var(--od-white); color: var(--od-text); font-weight: 600; }

.od-order-card {
    border: 1px solid var(--od-border-light);
    border-radius: var(--od-radius-card);
    padding: 16px;
}

.od-order-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.od-status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.od-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* =====================================================
   AUTH CARD
   ===================================================== */

.od-auth-card {
    max-width: 420px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid var(--od-border-light);
    border-radius: var(--od-radius-card);
}

/* =====================================================
   PAGE HEADER
   ===================================================== */

.od-page-header {
    background: var(--od-secondary);
}

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

.od-hero {
    background: var(--od-secondary);
    overflow: hidden;
}

.od-hero-text {
    padding: 60px 40px;
}

.od-hero-subtitle {
    font-size: 1.1rem;
    color: var(--od-text-muted);
    margin-bottom: 24px;
}

.od-hero-image img {
    height: 100%;
    object-fit: cover;
}

/* =====================================================
   CATEGORY CARD
   ===================================================== */

.od-category-card {
    display: block;
    background: var(--od-secondary);
    border-radius: var(--od-radius-card);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--od-transition);
}

.od-category-card:hover {
    transform: translateY(-2px);
    color: inherit;
}

.od-category-img {
    aspect-ratio: 1;
    overflow: hidden;
}

.od-category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.od-category-info {
    padding: 12px 14px;
}

.od-category-info h6 { font-size: 0.82rem; }
.od-category-info small { font-size: 0.72rem; }

/* =====================================================
   DROPDOWNS
   ===================================================== */
.dropdown-item:active, 
.dropdown-item.active,
.dropdown-item:focus {
    background-color: var(--od-primary);
    color: var(--od-white);
}

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

@media (max-width: 768px) {
    .od-hero-title { font-size: 2.2rem; }
    .od-hero-text { padding: 30px 20px; }
    .od-page-title { font-size: 1.4rem; }
    .od-stepper { flex-wrap: wrap; }
    .od-cart-item { flex-wrap: wrap; }
    .od-auth-card { padding: 24px; }
}
