/* =============================================
   Apparel Category Page — Custom Styles
   ============================================= */
html{scroll-behavior:smooth}

/* HERO */
.ap-hero{background:linear-gradient(135deg,#9A3412 0%,#EA580C 50%,#F97316 100%);color:#fff;padding:56px 0;position:relative;overflow:hidden}
.ap-hero::after{content:'';position:absolute;top:-50%;right:-10%;width:500px;height:500px;background:rgba(255,255,255,.05);border-radius:50%;pointer-events:none}
.ap-hero .container{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.ap-hero-content h1{font-size:38px;font-weight:800;line-height:1.2;margin-bottom:14px}
.ap-hero-content h1 span{color:#10B981}
.ap-hero-content>p{font-size:17px;opacity:.9;margin-bottom:22px;line-height:1.7}
.ap-hero-ctas{display:flex;gap:12px;flex-wrap:wrap}
.ap-hero-stats{display:flex;gap:28px;margin-top:28px;flex-wrap:wrap}
.ap-stat{text-align:center}
.ap-stat strong{display:block;font-size:24px;font-weight:800}
.ap-stat span{font-size:12px;opacity:.8}
.ap-hero-visual{display:grid;grid-template-columns:1fr 1fr;gap:12px;transform:rotate(-3deg);position:relative;z-index:1}
.ap-hero-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 10px 25px rgba(0,0,0,.15);color:#1E293B}
.ap-hero-card img{width:100%;height:120px;object-fit:cover}
.ap-hero-card-text{padding:12px 14px}
.ap-hero-card-text h4{font-size:13px;font-weight:600;margin-bottom:3px}
.ap-hero-price{color:#EA580C;font-weight:700;font-size:17px}
.ap-hero-price small{font-size:12px;color:#94A3B8;font-weight:400}
.ap-hero-card.featured{grid-column:span 2;display:grid;grid-template-columns:120px 1fr;align-items:center}
.ap-hero-card.featured img{height:100%;min-height:80px}

/* BUTTONS */
.ap-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 28px;border-radius:8px;font-size:15px;font-weight:600;text-decoration:none;transition:all .2s;border:none;cursor:pointer;min-height:48px}
.ap-btn-accent{background:#10B981;color:#fff}
.ap-btn-accent:hover{background:#059669;transform:translateY(-2px);box-shadow:0 4px 12px rgba(16,185,129,.4);color:#fff}
.ap-btn-whatsapp{background:#25D366;color:#fff}
.ap-btn-whatsapp:hover{background:#1DA851;color:#fff}
.ap-btn-white{background:#fff;color:#EA580C}
.ap-btn-white:hover{background:#FFF7ED;color:#C9450A}

/* TRUST BAR */
.ap-trust-bar{background:#FFF5F0;border-bottom:1px solid #FBECDE;padding:18px 0}
.ap-trust-items{display:flex;justify-content:center;gap:36px;flex-wrap:wrap}
.ap-trust-item{display:flex;align-items:center;gap:10px;font-size:14px;color:#666}
.ap-trust-item i{font-size:20px;color:#EA580C;width:24px;text-align:center;flex-shrink:0}
.ap-trust-item strong{display:block;font-weight:600;color:#1E293B}
.ap-trust-item small{font-size:12px;color:#999}

/* JUMP NAV */
.ap-jump-nav{padding:44px 0 28px;text-align:center}
.ap-jump-nav h2{font-size:26px;font-weight:700;margin-bottom:6px}
.ap-jump-subtitle{color:#666;font-size:15px;margin-bottom:28px}
.ap-jump-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.ap-jump-card{background:#fff;border:2px solid #FBECDE;border-radius:12px;padding:24px 16px;text-align:center;text-decoration:none;color:#1E293B;transition:all .3s}
.ap-jump-card:hover,.ap-jump-card.active{border-color:#EA580C;box-shadow:0 4px 12px rgba(234,88,12,.12);transform:translateY(-4px);color:#1E293B}
.ap-jump-card i{font-size:28px;color:#EA580C;margin-bottom:10px;display:block}
.ap-jump-card h3{font-size:15px;font-weight:600;margin-bottom:4px}
.ap-jump-card span{font-size:12px;color:#999}

/* PRODUCT SECTIONS */
.ap-section{padding:40px 0}
.ap-section:nth-child(even){background:#FFF5F0}
.ap-section-header{display:flex;align-items:flex-start;gap:16px;margin-bottom:28px;padding-bottom:18px;border-bottom:2px solid #FBECDE}
.ap-section-icon{width:50px;height:50px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;color:#fff}
.ap-section-icon.regular,.ap-section-icon.tshirts{background:#EA580C}
.ap-section-icon.premium,.ap-section-icon.polos{background:#10B981}
.ap-section-icon.special,.ap-section-icon.hoodies{background:#F59E0B}
.ap-section-header h2{font-size:20px;font-weight:700;margin-bottom:3px}
.ap-section-header p{font-size:14px;color:#666;margin:0}
.ap-price-tag{display:inline-block;background:#10B981;color:#fff;font-size:12px;font-weight:700;padding:2px 10px;border-radius:20px;margin-left:8px;vertical-align:middle}

/* PRICE VS */
.ap-price-vs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px}
.vs-label{font-size:12px;color:#94A3B8;font-weight:500}
.vs-market{font-size:13px;color:#64748B;text-decoration:line-through}
.vs-save{font-size:12px;color:#10B981;font-weight:700;background:#ECFDF5;padding:2px 8px;border-radius:20px}

/* PRODUCT GRID */
.ap-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ap-product-card{background:#fff;border:1px solid #FBECDE;border-radius:12px;overflow:hidden;transition:all .3s;position:relative;text-decoration:none;color:#1E293B;display:block}
.ap-product-card:hover{box-shadow:0 10px 25px rgba(0,0,0,.1);transform:translateY(-4px);border-color:transparent;color:#1E293B}
.ap-product-img{width:100%;height:240px;overflow:hidden;background:#FFF5F0}
.ap-product-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.ap-product-card:hover .ap-product-img img{transform:scale(1.08)}
.ap-img-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#CCAA99;font-size:13px;padding:20px;text-align:center}
.ap-product-info{padding:16px}
.ap-product-info h3{font-size:15px;font-weight:600;margin-bottom:8px;line-height:1.3}
.ap-product-price{font-size:18px;font-weight:700;color:#1E293B;margin-bottom:12px}
.ap-product-price .woocommerce-Price-amount{font-size:18px;font-weight:700}
.ap-product-price .woocommerce-Price-currencySymbol{font-size:14px}
.ap-select-btn{display:inline-block;padding:8px 18px;background:#EA580C;color:#fff;border-radius:6px;font-size:13px;font-weight:600;transition:background .2s}
.ap-product-card:hover .ap-select-btn{background:#C9450A}

/* BADGES */
.ap-badge{position:absolute;top:12px;left:12px;z-index:2;padding:4px 12px;border-radius:20px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.ap-badge-bestseller{background:#DBEAFE;color:#1D4ED8}
.ap-badge-eco{background:#D1FAE5;color:#065F46}
.ap-badge-premium{background:#FEF3C7;color:#92400E}
.ap-badge-trending{background:#FCE7F3;color:#831843}

/* HOW IT WORKS */
.ap-how-it-works{padding:56px 0;text-align:center;background:#fff}
.ap-how-it-works h2{font-size:26px;font-weight:700;margin-bottom:6px}
.ap-section-subtitle{color:#666;font-size:15px;margin-bottom:32px}
.ap-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:24px}
.ap-step{text-align:center;position:relative}
.ap-step:not(:last-child)::after{content:'→';position:absolute;right:-18px;top:28px;font-size:22px;color:#CCAA99}
.ap-step-num{width:56px;height:56px;background:#EA580C;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;margin:0 auto 14px}
.ap-step h3{font-size:15px;font-weight:600;margin-bottom:6px}
.ap-step p{font-size:13px;color:#666}

/* SIZE CHART */
.ap-size-chart{padding:48px 0;background:#fff9f0}
.ap-size-chart-inner{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.ap-size-chart h3{text-align:center;font-size:22px;font-weight:700;margin-bottom:24px;color:#1a1a1a}
.ap-size-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:8px}
.ap-size-table{width:100%;border-collapse:collapse;font-size:14px;min-width:280px}
.ap-size-table thead tr{background:#EA580C;color:#fff}
.ap-size-table th{padding:10px 12px;text-align:left;font-weight:600}
.ap-size-table td{padding:10px 12px;border-bottom:1px solid #f0ebe4}
.ap-size-table tbody tr:last-child td{border-bottom:none}
.ap-size-table tbody tr:nth-child(odd){background:#fff}
.ap-size-table tbody tr:nth-child(even){background:#fff8f3}
.ap-print-areas h4{font-size:16px;font-weight:600;margin-bottom:14px;color:#1a1a1a}
.ap-print-area-card{background:#fff;border:2px dashed #EA580C;border-radius:8px;padding:16px 20px;margin-bottom:12px;display:flex;align-items:center;gap:12px}
.ap-print-area-card i{color:#EA580C;font-size:18px;flex-shrink:0}
.ap-print-area-card strong{display:block;font-size:13px;font-weight:600;color:#1E293B}
.ap-print-area-card span{font-size:12px;color:#64748B}
.ap-size-note{font-size:12px;color:#94A3B8;margin-top:8px;text-align:center}

/* FAQ */
.ap-faq{padding:56px 0;background:#FFF5F0}
.ap-faq h2{text-align:center;font-size:26px;font-weight:700;margin-bottom:28px}
.ap-faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:900px;margin:0 auto}
.ap-faq-item{border:1px solid #FBECDE;border-radius:8px;overflow:hidden;background:#fff}
.ap-faq-q{padding:14px 18px;font-size:14px;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center;background:#fff;border:none;width:100%;text-align:left;color:#1E293B;transition:background .2s;min-height:48px}
.ap-faq-q:hover{background:#FFF5F0}
.ap-faq-q span{font-size:20px;color:#EA580C;font-weight:300;transition:transform .2s;margin-left:12px;flex-shrink:0}
.ap-faq-item.open .ap-faq-q span{transform:rotate(45deg)}
.ap-faq-item.open .ap-faq-q{color:#EA580C}
.ap-faq-a{padding:0 18px 14px;font-size:14px;color:#666;line-height:1.7;display:none}
.ap-faq-item.open .ap-faq-a{display:block}

/* SEO CONTENT */
.ap-seo-content{padding:56px 0;background:#fff}
.ap-seo-content .container{max-width:860px}
.ap-seo-content h2{font-size:22px;font-weight:700;margin-bottom:14px}
.ap-seo-content h3{font-size:17px;font-weight:600;margin:20px 0 8px}
.ap-seo-content p{font-size:15px;color:#666;line-height:1.8;margin-bottom:10px}
.ap-seo-content ul{margin:8px 0 16px 20px;color:#666;font-size:15px;line-height:1.8}

/* BOTTOM CTA */
.ap-bottom-cta{padding:56px 0;background:linear-gradient(135deg,#9A3412 0%,#EA580C 100%);color:#fff;text-align:center}
.ap-bottom-cta h2{font-size:30px;font-weight:800;margin-bottom:10px}
.ap-bottom-cta>p,.ap-bottom-cta .container>p{font-size:17px;opacity:.9;margin-bottom:22px}
.ap-cta-btns{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}

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

/* Tablet 1024px */
@media(max-width:1024px){
    .ap-hero .container{grid-template-columns:1fr;text-align:center}
    .ap-hero-visual{display:none}
    .ap-hero-ctas,.ap-hero-stats{justify-content:center}
    .ap-product-grid{grid-template-columns:repeat(2,1fr)}
    .ap-steps{grid-template-columns:repeat(2,1fr);gap:20px}
    .ap-step:not(:last-child)::after{display:none}
}

/* Mobile 768px */
@media(max-width:768px){
    .ap-hero-content h1{font-size:28px}
    .ap-hero-content>p{font-size:15px;margin-bottom:18px}
    .ap-trust-items{gap:16px}
    .ap-jump-nav{padding:32px 0 20px}
    .ap-jump-nav h2{font-size:22px}
    .ap-jump-subtitle{font-size:14px;margin-bottom:20px}
    .ap-jump-cards{gap:10px}
    .ap-jump-card{padding:16px 10px}
    .ap-jump-card i{font-size:22px;margin-bottom:6px}
    .ap-jump-card h3{font-size:13px}
    .ap-jump-card span{font-size:11px}
    .ap-product-grid{grid-template-columns:repeat(2,1fr);gap:12px}
    .ap-product-img{height:190px}
    .ap-faq-grid{grid-template-columns:1fr}
    .ap-faq{padding:40px 0}
    .ap-how-it-works{padding:40px 0}
    .ap-seo-content{padding:36px 0}
    .ap-section{padding:28px 0}
    .ap-section-header h2{font-size:18px}
    .ap-price-tag{font-size:11px;padding:2px 8px}
    .vs-save{font-size:11px}
    .ap-size-chart-inner{grid-template-columns:1fr}
    .ap-size-chart{padding:32px 0}
    /* inline bulk pricing table */
    #apparel-bulk-pricing{padding:28px 16px !important;margin-top:32px !important}
    #apparel-bulk-pricing h3{font-size:18px !important;margin-bottom:16px !important}
}

/* Mobile 480px */
@media(max-width:480px){
    .ap-hero{padding:32px 0}
    .ap-hero-content h1{font-size:22px;line-height:1.3}
    .ap-hero-content>p{font-size:14px}
    .ap-hero-ctas{flex-direction:column;align-items:stretch;gap:10px}
    .ap-hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;justify-items:center}
    .ap-stat{background:rgba(255,255,255,.1);border-radius:8px;padding:10px 8px;width:100%}
    .ap-stat strong{font-size:20px}

    .ap-trust-bar{padding:14px 0}
    .ap-trust-items{display:grid;grid-template-columns:1fr 1fr;gap:12px;justify-items:start;text-align:left}
    .ap-trust-item{gap:8px;font-size:13px}
    .ap-trust-item i{font-size:16px}
    .ap-trust-item small{display:none}

    .ap-jump-nav{padding:24px 0 16px}
    .ap-jump-nav h2{font-size:18px}
    .ap-jump-cards{grid-template-columns:repeat(3,1fr);gap:8px}
    .ap-jump-card{padding:12px 6px;border-radius:8px}
    .ap-jump-card i{font-size:18px;margin-bottom:4px}
    .ap-jump-card h3{font-size:11px;margin-bottom:0}
    .ap-jump-card span{display:none}

    .ap-product-grid{grid-template-columns:repeat(2,1fr);gap:10px}
    .ap-product-img{height:160px}
    .ap-product-info{padding:10px}
    .ap-product-info h3{font-size:13px;margin-bottom:6px}
    .ap-product-price{font-size:15px;margin-bottom:8px}
    .ap-select-btn{padding:7px 12px;font-size:12px;display:block;text-align:center}
    .ap-badge{font-size:10px;padding:3px 8px;top:8px;left:8px}

    .ap-section{padding:24px 0}
    .ap-section-header{gap:12px}
    .ap-section-icon{width:40px;height:40px;font-size:16px}
    .ap-section-header h2{font-size:16px}
    .ap-section-header p{font-size:13px}
    .ap-price-vs{gap:6px}

    .ap-steps{grid-template-columns:1fr 1fr;gap:16px}
    .ap-step-num{width:44px;height:44px;font-size:18px;margin-bottom:10px}
    .ap-step h3{font-size:13px;margin-bottom:4px}
    .ap-step p{font-size:12px}

    .ap-size-chart{padding:24px 0}
    .ap-size-chart h3{font-size:18px;margin-bottom:16px}
    .ap-print-area-card{padding:12px 14px}

    .ap-faq h2{font-size:20px;margin-bottom:20px}
    .ap-faq-q{font-size:13px;padding:12px 14px}
    .ap-faq{padding:32px 0}

    .ap-seo-content h2{font-size:18px}
    .ap-seo-content h3{font-size:15px}
    .ap-seo-content p,.ap-seo-content ul{font-size:14px}

    .ap-bottom-cta{padding:32px 0}
    .ap-bottom-cta h2{font-size:22px}
    .ap-bottom-cta .container>p{font-size:15px;margin-bottom:18px}
    .ap-cta-btns{flex-direction:column;align-items:stretch;gap:10px}
    .ap-btn{font-size:14px;padding:13px 20px}

    /* Bulk pricing table */
    #apparel-bulk-pricing{padding:20px 12px !important;margin-top:24px !important;border-radius:6px !important}
    #apparel-bulk-pricing h3{font-size:16px !important;margin-bottom:14px !important}
    #apparel-bulk-pricing table{font-size:12px !important}
    #apparel-bulk-pricing td,#apparel-bulk-pricing th{padding:8px 6px !important}
}

/* Small phone 375px */
@media(max-width:375px){
    .ap-hero-content h1{font-size:20px}
    .ap-stat strong{font-size:18px}
    .ap-product-img{height:140px}
    .ap-product-info h3{font-size:12px}
    .ap-steps{grid-template-columns:1fr}
    .ap-step{padding-bottom:16px;border-bottom:1px solid #FBECDE}
    .ap-step:last-child{border-bottom:none}
    .ap-bottom-cta h2{font-size:18px}
    .ap-trust-items{grid-template-columns:1fr}
    .ap-jump-cards{grid-template-columns:1fr}
    .ap-jump-card{padding:14px 16px;display:flex;align-items:center;gap:12px;text-align:left;border-radius:10px}
    .ap-jump-card i{margin-bottom:0;font-size:20px;flex-shrink:0}
    .ap-jump-card h3{font-size:13px;margin-bottom:2px}
    .ap-jump-card span{display:block;font-size:11px}
}
