/*
Theme Name: OLJR Commerce
Theme URI: https://shop.olir.work
Author: OLJR
Description: Responsive WooCommerce fashion/e-commerce theme inspired by modern marketplace UX. Original design using black, light red and yellow.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: oljr-commerce
Tags: e-commerce, woocommerce, responsive, custom-logo, custom-menu
*/

:root{
  --oljr-black:#111111;
  --oljr-black-2:#222222;
  --oljr-red:#ff4f64;
  --oljr-red-dark:#e83d53;
  --oljr-yellow:#ffc928;
  --oljr-yellow-dark:#e9ae00;
  --oljr-bg:#f7f7f7;
  --oljr-card:#ffffff;
  --oljr-muted:#6b6b6b;
  --oljr-border:#e7e7e7;
  --oljr-success:#168b45;
  --oljr-radius:8px;
  --oljr-shadow:0 2px 12px rgba(0,0,0,.06);
  --oljr-container:1320px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--oljr-bg);
  color:var(--oljr-black);
  font-family:Inter,Arial,Helvetica,sans-serif;
  font-size:14px;
  line-height:1.5;
}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.container{width:min(calc(100% - 32px),var(--oljr-container));margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-9999px;top:8px;z-index:99999;background:#fff;padding:10px}
.skip-link:focus{left:8px}

.top-strip{background:var(--oljr-black);color:#fff;font-size:12px}
.top-strip .container{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.top-strip a{color:#fff;opacity:.95}

.site-header{background:#fff;position:sticky;top:0;z-index:1000;box-shadow:0 1px 0 rgba(0,0,0,.06)}
.header-main{min-height:76px;display:flex;align-items:center;gap:22px}
.site-branding{flex:0 0 auto;display:flex;align-items:center}
.custom-logo{display:block;max-height:54px;width:auto}
.site-title{font-size:27px;font-weight:900;letter-spacing:-1px}
.site-title span{color:var(--oljr-red)}

.primary-nav{flex:0 0 auto}
.primary-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:24px}
.primary-nav a{font-weight:700;font-size:13px;letter-spacing:.3px}
.primary-nav a:hover{color:var(--oljr-red)}

.header-search{flex:1;max-width:560px;margin-left:auto}
.header-search form{position:relative}
.header-search input[type=search]{width:100%;height:44px;border:1px solid #eee;background:#f6f6f6;border-radius:5px;padding:0 48px 0 18px;outline:none}
.header-search input[type=search]:focus{background:#fff;border-color:#ccc}
.header-search button{position:absolute;right:0;top:0;width:46px;height:44px;border:0;background:transparent}

.header-actions{display:flex;align-items:center;gap:16px}
.header-action{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:40px;font-size:11px;font-weight:700}
.header-action .icon{font-size:20px;line-height:1}
.cart-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:20px;background:var(--oljr-red);color:#fff;font-size:10px;vertical-align:top;margin-left:-6px}
.mobile-menu-toggle{display:none;border:0;background:transparent;font-size:25px}

.category-bar{background:#fff;border-top:1px solid #f2f2f2;border-bottom:1px solid #eee}
.category-bar .container{overflow:auto}
.category-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:28px;min-height:46px;white-space:nowrap}
.category-menu a{font-size:12px;font-weight:800;text-transform:uppercase}
.category-menu .sale a{color:var(--oljr-red)}
.category-menu .deal a{color:#b17c00}

.hero{position:relative;overflow:hidden;background:#fff}
.hero-inner{min-height:470px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:20px}
.hero-copy{padding:55px 0}
.hero-kicker{display:inline-flex;background:var(--oljr-yellow);padding:7px 12px;border-radius:4px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:1px}
.hero h1{font-size:clamp(38px,5vw,72px);line-height:.98;margin:18px 0 20px;letter-spacing:-3px;max-width:680px}
.hero h1 strong{color:var(--oljr-red)}
.hero p{font-size:17px;color:#555;max-width:540px}
.hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 24px;border-radius:5px;border:1px solid transparent;font-weight:800;font-size:13px;transition:.2s}
.btn-primary{background:var(--oljr-black);color:#fff}
.btn-primary:hover{background:#333}
.btn-accent{background:var(--oljr-red);color:#fff}
.btn-accent:hover{background:var(--oljr-red-dark)}
.btn-yellow{background:var(--oljr-yellow);color:#111}
.btn-outline{background:#fff;border-color:#ccc}
.hero-art{height:100%;min-height:390px;background:linear-gradient(135deg,#111 0%,#292929 55%,#ff4f64 55%,#ffc928 100%);border-radius:0 0 0 90px;position:relative;overflow:hidden}
.hero-art:after{content:"";position:absolute;width:280px;height:280px;border:55px solid rgba(255,255,255,.08);border-radius:50%;right:-40px;top:45px}
.hero-art-card{position:absolute;right:12%;bottom:45px;background:#fff;padding:18px;border-radius:10px;box-shadow:0 18px 50px rgba(0,0,0,.2);transform:rotate(-4deg);width:260px}
.hero-art-card strong{font-size:22px}
.hero-art-card .price{color:var(--oljr-red);font-size:25px;font-weight:900}

.section{padding:48px 0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.section-title{font-size:26px;line-height:1.1;margin:0;font-weight:900;letter-spacing:-.7px}
.section-subtitle{color:var(--oljr-muted);margin:5px 0 0}
.view-all{font-weight:800;font-size:13px}
.view-all:hover{color:var(--oljr-red)}

.category-cards{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.category-card{background:#fff;border-radius:var(--oljr-radius);overflow:hidden;text-align:center;box-shadow:var(--oljr-shadow)}
.category-card .category-media{aspect-ratio:1/1;background:linear-gradient(145deg,#eee,#fff);display:flex;align-items:center;justify-content:center;font-size:50px}
.category-card:nth-child(2n) .category-media{background:#fff0f2}
.category-card:nth-child(3n) .category-media{background:#fff8d9}
.category-card span{display:block;padding:12px 8px;font-weight:800}

.products-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0!important;padding:0!important}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;background:#fff;border-radius:7px;overflow:hidden;box-shadow:var(--oljr-shadow);padding:0!important;position:relative}
.woocommerce ul.products li.product a.woocommerce-loop-product__link{display:block}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.35;padding:0 14px!important;margin:11px 0 5px!important;font-weight:700}
.woocommerce ul.products li.product .price{padding:0 14px!important;margin:0 0 13px!important;color:#111!important;font-weight:800}
.woocommerce ul.products li.product .price del{color:#999!important;font-weight:500}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .button{margin:0 14px 15px!important;width:calc(100% - 28px);text-align:center;background:var(--oljr-black)!important;color:#fff!important;border-radius:4px!important}
.woocommerce ul.products li.product .button:hover{background:var(--oljr-red)!important}
.woocommerce ul.products li.product img{width:100%;aspect-ratio:3/4;object-fit:cover;margin:0!important;background:#f4f4f4}
.woocommerce span.onsale{background:var(--oljr-red)!important;min-width:auto!important;min-height:auto!important;padding:5px 9px!important;border-radius:3px!important;top:10px!important;left:10px!important;right:auto!important;margin:0!important;font-size:11px!important;font-weight:800!important}
.product-card-meta{padding:0 14px 14px}
.brand-line{font-size:11px;color:#777;text-transform:uppercase;font-weight:800}

.deal-banner{background:var(--oljr-black);color:#fff;border-radius:10px;padding:35px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.deal-banner h2{margin:0;font-size:32px}
.deal-banner p{margin:7px 0 0;color:#ccc}

.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.trust-item{background:#fff;border:1px solid #eee;border-radius:7px;padding:22px;display:flex;gap:13px;align-items:flex-start}
.trust-icon{width:40px;height:40px;border-radius:50%;background:#fff4b8;display:grid;place-items:center;font-size:19px;flex:none}
.trust-item strong{display:block;margin-bottom:3px}
.trust-item span{color:#777;font-size:12px}

.site-footer{background:#111;color:#fff;margin-top:45px}
.footer-main{padding:50px 0;display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:35px}
.footer-brand p{color:#bbb;max-width:360px}
.footer-col h3{font-size:13px;text-transform:uppercase;margin:0 0 16px}
.footer-col ul{list-style:none;padding:0;margin:0}
.footer-col li{margin:9px 0}
.footer-col a{color:#bbb;font-size:13px}
.footer-col a:hover{color:#fff}
.footer-bottom{border-top:1px solid #2d2d2d;padding:17px 0;color:#aaa;font-size:12px;display:flex;justify-content:space-between;gap:20px}

.page-hero{background:#fff;padding:34px 0;border-bottom:1px solid #eee}
.page-hero h1{margin:0;font-size:32px;letter-spacing:-1px}
.breadcrumbs{font-size:12px;color:#777;margin-bottom:8px}
.breadcrumbs a:hover{color:var(--oljr-red)}

.shop-toolbar{background:#fff;border-radius:7px;padding:14px 16px;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center;gap:15px}
.woocommerce .woocommerce-result-count{margin:0!important;color:#777}
.woocommerce .woocommerce-ordering{margin:0!important}
.woocommerce .woocommerce-ordering select{height:38px;border:1px solid #ddd;border-radius:4px;padding:0 10px;background:#fff}

.woocommerce .site-main{padding:28px 0}
.woocommerce .woocommerce-breadcrumb{font-size:12px;color:#777;margin:0 0 18px}
.woocommerce .woocommerce-breadcrumb a{color:#555}
.woocommerce .woocommerce-notices-wrapper{margin-bottom:10px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--oljr-red)!important;background:#fff!important;border-radius:5px;box-shadow:var(--oljr-shadow)}
.woocommerce-message:before,.woocommerce-info:before{color:var(--oljr-red)!important}

.single-product div.product{background:#fff;padding:25px;border-radius:8px;box-shadow:var(--oljr-shadow)}
.single-product div.product .product_title{font-size:32px;line-height:1.1}
.single-product div.product p.price{font-size:25px;color:var(--oljr-red);font-weight:900}
.single-product div.product form.cart .quantity .qty{height:44px;border:1px solid #ddd}
.single-product div.product form.cart .button{height:44px;background:var(--oljr-black);border-radius:4px;padding:0 28px}
.single-product div.product form.cart .button:hover{background:var(--oljr-red)}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important;margin:30px 0 0!important}
.woocommerce div.product .woocommerce-tabs ul.tabs:before{border-bottom-color:#eee}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:#fff!important;border:0!important;margin:0!important;padding:10px 18px!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom:3px solid var(--oljr-red)!important}
.woocommerce div.product .woocommerce-tabs .panel{background:#fff;padding:20px;border:1px solid #eee;border-radius:0 0 7px 7px}

.woocommerce table.shop_table{background:#fff;border:1px solid #eee!important;border-radius:7px;overflow:hidden}
.woocommerce table.shop_table th{font-size:12px;text-transform:uppercase}
.woocommerce-cart .cart-collaterals .cart_totals{background:#fff;padding:20px;border-radius:7px;box-shadow:var(--oljr-shadow)}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order{background:var(--oljr-red)!important;border-radius:4px!important}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover{background:var(--oljr-red-dark)!important}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{min-height:42px;border:1px solid #ddd;border-radius:4px;padding:8px 11px;background:#fff}
.woocommerce form.checkout{background:#fff;padding:25px;border-radius:8px}
.woocommerce form.checkout h3{font-size:20px}

.newsletter{background:var(--oljr-yellow);padding:40px 0}
.newsletter-inner{display:flex;justify-content:space-between;align-items:center;gap:25px}
.newsletter h2{margin:0;font-size:28px}
.newsletter form{display:flex;max-width:520px;width:100%}
.newsletter input{height:44px;flex:1;border:0;padding:0 15px;border-radius:4px 0 0 4px}
.newsletter button{border:0;background:var(--oljr-black);color:#fff;padding:0 20px;border-radius:0 4px 4px 0;font-weight:800}

@media (max-width:1100px){
  .primary-nav{display:none}
  .mobile-menu-toggle{display:block}
  .header-search{order:5;flex-basis:100%;max-width:none;margin:0 0 14px}
  .header-main{flex-wrap:wrap;padding:12px 0}
  .category-cards{grid-template-columns:repeat(3,1fr)}
  .products-grid,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer-main{grid-template-columns:1.4fr repeat(2,1fr)}
}
@media (max-width:760px){
  .container{width:min(calc(100% - 22px),var(--oljr-container))}
  .top-strip .container{justify-content:center}
  .top-strip .desktop-only{display:none}
  .header-main{gap:10px}
  .site-title{font-size:23px}
  .custom-logo{max-height:45px}
  .header-actions{margin-left:auto;gap:8px}
  .header-action{min-width:30px}
  .header-action .label{display:none}
  .hero-inner{grid-template-columns:1fr}
  .hero-copy{padding:40px 0 25px}
  .hero-art{min-height:250px;border-radius:0 0 0 50px}
  .hero h1{letter-spacing:-2px}
  .section{padding:35px 0}
  .category-cards{grid-template-columns:repeat(3,1fr);gap:9px}
  .category-card .category-media{font-size:32px}
  .products-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}
  .deal-banner{padding:25px;display:block}
  .deal-banner .btn{margin-top:16px}
  .trust-grid{grid-template-columns:repeat(2,1fr)}
  .footer-main{grid-template-columns:1fr 1fr;gap:25px}
  .footer-brand{grid-column:1/-1}
  .footer-bottom{display:block}
  .footer-bottom>*{display:block;margin:4px 0}
  .newsletter-inner{display:block}
  .newsletter form{margin-top:18px}
  .shop-toolbar{align-items:flex-start;flex-direction:column}
  .single-product div.product{padding:14px}
  .single-product div.product .product_title{font-size:24px}
}
@media (max-width:420px){
  .category-cards{grid-template-columns:repeat(2,1fr)}
  .trust-grid{grid-template-columns:1fr}
  .footer-main{grid-template-columns:1fr}
  .footer-brand{grid-column:auto}
  .hero-buttons .btn{width:100%}
}


/* Mobile navigation state */
@media (max-width:1100px){
  .primary-nav.is-open{
    display:block;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    background:#fff;
    border-top:1px solid #eee;
    box-shadow:0 12px 20px rgba(0,0,0,.08);
    padding:12px 16px;
  }
  .primary-nav.is-open ul{display:block}
  .primary-nav.is-open li{padding:12px 0;border-bottom:1px solid #f2f2f2}
  .site-header{position:sticky}
}
