/*
Theme Name: OZASHI Custom E-Commerce
Theme URI: http://ozashi.in
Author: Antigravity AI
Author URI: https://google.com
Description: Custom pixel-perfect theme for OZASHI.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.0
Text Domain: ozashi
*/
/* ===== OZASHI E-COMMERCE — DESIGN SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #2e5c3e;
  --primary-dark: #1a3d28;
  --primary-light: #eef3ef;
  --accent: #f28b30;
  --accent-dark: #d97825;
  --bg: #fdfaf6;
  --bg-warm: #f5f0e8;
  --text: #1a1a1a;
  --text-light: #666;
  --white: #fff;
  --border: #e8e4de;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(46,92,62,.1);
  --shadow-lg: 0 16px 48px rgba(46,92,62,.12);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-full: 100px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --max-w: 1280px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Outfit', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== SHARK TANK MARQUEE ===== */
.shark-marquee { background: #f5c518; overflow: hidden; white-space: nowrap; padding: 10px 0; border-top: 2px solid #e6b800; border-bottom: 2px solid #e6b800; }
.shark-marquee-track { display: inline-flex; animation: sharkm 18s linear infinite; }
.shark-marquee-item { display: inline-flex; align-items: center; padding: 0 32px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: #1a3d28; }
.shark-marquee-item .shark-highlight { color: #c0392b; margin: 0 6px; font-weight: 900; }
.shark-marquee-item .shark-bold { color: #1a1a1a; font-weight: 900; }
@keyframes sharkm { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ===== HEADER ===== */
.header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: 'Outfit'; font-size: 28px; font-weight: 800; letter-spacing: 6px; color: var(--primary-dark); text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text); transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 99;
    top: 100%;
    left: 0;
    border-radius: 8px;
    overflow: hidden;
    padding: 8px 0;
}
.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
}
.dropdown-content a::after {
    display: none;
}
.dropdown-content a:hover {
    background-color: #f7f4f0;
    color: var(--primary);
}
.dropdown:hover .dropdown-content {
    display: block;
}

.header-icons { display: flex; align-items: center; gap: 20px; }
.header-icons button { background: none; color: var(--text); transition: var(--transition); position: relative; }
.header-icons button:hover { color: var(--primary); }
.header-icons .cart-count { position: absolute; top: -8px; right: -8px; background: var(--accent); color: var(--white); font-size: 10px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hamburger { display: none; background: none; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: var(--transition); }

/* ===== PROMO BAR ===== */
.promo-bar { background: var(--primary); text-align: center; padding: 10px 16px; color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: .5px; }
.promo-bar strong { color: var(--accent); }

/* ===== HERO ===== */
.hero { background: var(--primary-light); padding: 80px 24px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -120px; right: -120px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(46,92,62,.08) 0%, transparent 70%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(242,139,48,.06) 0%, transparent 70%); border-radius: 50%; }
.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 900; color: var(--primary-dark); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p { font-size: 18px; color: var(--text-light); max-width: 560px; margin: 0 auto 32px; line-height: 1.7; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--white); padding: 16px 40px; border-radius: var(--radius-full); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; transition: var(--transition); box-shadow: 0 8px 24px rgba(242,139,48,.3); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(242,139,48,.4); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: var(--white); padding: 14px 32px; border-radius: var(--radius-full); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
.btn-secondary:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ===== TRUST STRIP ===== */
.trust-strip { background: var(--primary-dark); padding: 16px 0; overflow: hidden; }
.trust-strip-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-strip-inner .item { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 13px; font-weight: 500; white-space: nowrap; }
.trust-strip-inner .item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* ===== CATEGORY CARDS ===== */
.categories { padding: 64px 0; }
.categories .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { background: var(--primary-light); border-radius: var(--radius); padding: 28px 24px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; transition: var(--transition); border: 1px solid transparent; }
.cat-card:hover { background: var(--white); border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cat-card h3 { font-size: 16px; font-weight: 700; color: var(--primary-dark); }
.cat-card .arrow { width: 36px; height: 36px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.cat-card:hover .arrow { background: var(--accent); }

/* ===== SECTION TITLES ===== */
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; color: var(--primary-dark); margin-bottom: 12px; }
.section-title p { font-size: 16px; color: var(--text-light); max-width: 560px; margin: 0 auto; }

/* ===== TAB FILTERS ===== */
.tab-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn { padding: 10px 28px; border-radius: var(--radius-full); font-size: 14px; font-weight: 600; border: 2px solid var(--border); background: var(--white); color: var(--text); transition: var(--transition); }
.tab-btn.active, .tab-btn:hover { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }

/* ===== PRODUCT CARDS ===== */
.products { padding: 80px 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; position: relative; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.product-badge { position: absolute; top: 16px; right: 16px; background: var(--accent); color: var(--white); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: var(--radius-full); z-index: 2; }
.product-img { background: #f7f4f0; padding: 24px; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; overflow: hidden; }
.product-img img { height: 200px; object-fit: contain; transition: var(--transition); }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.stars { color: #f5a623; font-size: 13px; letter-spacing: 1px; }
.review-count { font-size: 12px; color: var(--text-light); }
.product-info h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.product-info .desc { font-size: 13px; color: var(--text-light); line-height: 1.5; margin-bottom: 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-pricing { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.price-old { font-size: 14px; color: #999; text-decoration: line-through; }
.price-new { font-size: 20px; font-weight: 800; color: var(--primary-dark); }
.product-actions { margin-top: auto; }
.btn-shop { display: block; width: 100%; padding: 14px; background: var(--primary); color: var(--white); text-align: center; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; transition: var(--transition); }
.btn-shop:hover { background: var(--primary-dark); }
.btn-quick-add { display: block; width: 100%; padding: 10px; text-align: center; font-size: 13px; font-weight: 600; color: var(--primary); background: none; margin-top: 8px; transition: var(--transition); }
.btn-quick-add:hover { color: var(--accent); }
.view-all-wrap { text-align: center; margin-top: 48px; }

/* ===== RESULTS / TRUST SECTION ===== */
.results { background: var(--primary); padding: 80px 0; color: var(--white); text-align: center; position: relative; overflow: hidden; }
.results::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.results .container { position: relative; z-index: 1; }
.results h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 900; margin-bottom: 12px; }
.results h2 span { color: var(--accent); }
.results > .container > p { font-size: 17px; opacity: .85; margin-bottom: 56px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.trust-card { text-align: center; }
.trust-icon { width: 64px; height: 64px; margin: 0 auto 20px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.trust-icon svg { width: 28px; height: 28px; color: var(--accent); }
.trust-card h4 { font-size: 18px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.trust-card p { font-size: 14px; opacity: .8; line-height: 1.6; }

/* ===== BENEFITS SECTION ===== */
.benefits { padding: 80px 0; background: var(--white); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card { background: var(--primary-light); border-radius: var(--radius); padding: 36px 28px; text-align: center; transition: var(--transition); }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-icon { width: 56px; height: 56px; margin: 0 auto 16px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.benefit-icon svg { width: 24px; height: 24px; color: var(--white); }
.benefit-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--primary-dark); }
.benefit-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ===== NEWSLETTER ===== */
.newsletter { padding: 80px 0; background: var(--bg-warm); position: relative; overflow: hidden; }
.newsletter::before, .newsletter::after { content: ''; position: absolute; width: 200px; height: 200px; }
.newsletter-inner { max-width: 600px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.newsletter h2 { font-size: 32px; font-weight: 800; color: var(--primary-dark); margin-bottom: 12px; }
.newsletter p { color: var(--text-light); margin-bottom: 32px; }
.newsletter-form { display: flex; flex-direction: column; gap: 16px; }
.newsletter-form input { padding: 16px 24px; border-radius: var(--radius-full); border: 2px solid var(--border); font-size: 15px; background: var(--white); transition: var(--transition); }
.newsletter-form input:focus { outline: none; border-color: var(--primary); }
.newsletter-form button { padding: 16px 32px; }

/* ===== FOOTER ===== */
.footer { background: var(--primary-dark); color: var(--white); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo { color: var(--white); margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 14px; opacity: .7; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-links a:hover { background: var(--accent); }
.social-links a svg { width: 16px; height: 16px; }
.footer h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; color: var(--accent); }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; opacity: .7; transition: var(--transition); }
.footer ul a:hover { opacity: 1; color: var(--accent); }
.footer-bottom { text-align: center; padding: 24px 0; font-size: 13px; opacity: .5; }
.payment-icons { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.payment-icons span { background: rgba(255,255,255,.1); padding: 6px 12px; border-radius: 4px; font-size: 11px; font-weight: 600; }

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail { padding: 48px 0 80px; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-gallery { position: sticky; top: 100px; }
.pd-main-img { background: #f7f4f0; border-radius: var(--radius); padding: 40px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pd-main-img img { max-height: 400px; object-fit: contain; }
.pd-thumbs { display: flex; gap: 12px; }
.pd-thumbs .thumb { width: 80px; height: 80px; background: #f7f4f0; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.pd-thumbs .thumb.active, .pd-thumbs .thumb:hover { border-color: var(--primary); }
.pd-thumbs .thumb img { max-height: 60px; object-fit: contain; }
.pd-info h1 { font-size: 32px; font-weight: 800; color: var(--primary-dark); margin-bottom: 8px; }
.pd-info .subtitle { font-size: 16px; color: var(--text-light); margin-bottom: 20px; }
.pd-pricing { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.pd-pricing .old { font-size: 18px; color: #999; text-decoration: line-through; }
.pd-pricing .current { font-size: 32px; font-weight: 800; color: var(--primary-dark); }
.pd-pricing .save { background: #e8f5e9; color: var(--primary); padding: 4px 12px; border-radius: var(--radius-full); font-size: 13px; font-weight: 700; }
.pd-benefits { margin-bottom: 28px; }
.pd-benefits li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; font-size: 15px; }
.pd-benefits li svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 32px; }
.pd-actions .btn-primary, .pd-actions .btn-secondary { flex: 1; justify-content: center; padding: 18px; font-size: 15px; }
.pd-accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-header { padding: 18px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: 15px; }
.accordion-header svg { transition: var(--transition); width: 20px; height: 20px; }
.accordion-item.open .accordion-header svg { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion-item.open .accordion-body { max-height: 600px; }
.accordion-body-inner { padding: 0 0 20px; font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ===== MOBILE NAV ===== */
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--white); z-index: 200; padding: 80px 24px 24px; transform: translateX(100%); transition: var(--transition); }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 16px 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-nav-close { position: absolute; top: 20px; right: 20px; background: none; font-size: 28px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .hero { padding: 48px 16px; }
  .categories .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-grid { grid-template-columns: 1fr; gap: 28px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .pd-actions { flex-direction: column; }
  .trust-strip-inner { gap: 24px; padding: 0 16px; }
  .section-title h2 { font-size: 28px; }
}
@media (max-width: 480px) {
  .categories .grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-img { padding: 16px; }
  .product-info { padding: 14px; }
  .product-info h3 { font-size: 14px; }
  .price-new { font-size: 17px; }
  .btn-shop { padding: 12px; font-size: 12px; }
}
