/*
Theme Name: Pop Riot
Theme URI: https://popriot.in
Author: Pop Riot
Author URI: https://www.instagram.com/popriotstore/
Description: Custom comic pop-art WooCommerce theme for Pop Riot — bold graphic tee streetwear store. Includes homepage, shop, product, cart/checkout and account page templates.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: popriot
*/

/* ==== BASE RESETS ==== */
*{box-sizing:border-box;}
body{margin:0; padding:0;}
img{max-width:100%; height:auto; display:block;}
.screen-reader-text{position:absolute; left:-9999px;}

/* ==== HOME PAGE STYLES ==== */
:root{
    --green: #8FE84A;
    --green-dark: #6BC72E;
    --yellow: #F3F04A;
    --purple: #B324D6;
    --purple-dark: #8A1AA8;
    --navy: #1C1C4D;
    --pink: #FF3D9A;
    --cream: #FFF9E8;
    --white: #ffffff;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  body{
    font-family:'Space Grotesk', sans-serif;
    background:var(--cream);
    color:var(--navy);
    overflow-x:hidden;
  }
  .comic{
    font-family:'Bangers', cursive;
    letter-spacing:1px;
  }
  .halftone{
    background-image: radial-gradient(var(--green-dark) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
  }
  .panel{
    border:4px solid var(--navy);
    box-shadow: 8px 8px 0 var(--navy);
  }
  .panel-purple-shadow{
    box-shadow: 8px 8px 0 var(--purple);
  }
  a{text-decoration:none; color:inherit;}
  ul{list-style:none;}

  /* ===== HEADER ===== */
  header{
    position:sticky; top:0; z-index:100;
    background:var(--yellow);
    border-bottom:4px solid var(--navy);
    padding:16px 40px;
    display:flex; align-items:center; justify-content:space-between;
  }
  .logo-mark{
    font-family:'Bangers', cursive;
    font-size:28px;
    color:var(--navy);
    display:flex; align-items:center; gap:10px;
  }
  .logo-mark span.dot{
    width:14px; height:14px; background:var(--purple); border-radius:50%; border:2px solid var(--navy);
    display:inline-block;
  }
  nav ul{display:flex; gap:32px;}
  nav a{
    font-weight:600; font-size:15px; text-transform:uppercase;
    position:relative;
  }
  nav a:hover{color:var(--purple);}
  .cart-btn{
    background:var(--navy); color:var(--yellow); font-family:'Bangers',cursive;
    padding:10px 22px; border-radius:30px; font-size:18px; letter-spacing:1px;
    border:3px solid var(--navy);
  }

  /* ===== HERO ===== */
  .hero{
    background:var(--green);
    position:relative;
    padding:80px 40px 60px;
    display:grid; grid-template-columns:1.1fr 1fr; gap:40px; align-items:center;
    overflow:hidden;
    border-bottom:6px solid var(--navy);
  }
  .hero::before{
    content:"";
    position:absolute; inset:0;
    background-image: radial-gradient(rgba(28,28,77,0.12) 2px, transparent 2px);
    background-size: 16px 16px;
    pointer-events:none;
  }
  .hero-copy{position:relative; z-index:2;}
  .eyebrow-burst{
    display:inline-block;
    background:var(--pink);
    color:var(--white);
    font-family:'Bangers',cursive;
    font-size:16px;
    padding:6px 18px;
    border:3px solid var(--navy);
    border-radius:20px;
    transform:rotate(-4deg);
    box-shadow:4px 4px 0 var(--navy);
    margin-bottom:24px;
  }
  .hero h1{
    font-size:96px;
    line-height:0.9;
    color:var(--yellow);
    -webkit-text-stroke: 3px var(--navy);
    text-shadow: 6px 6px 0 var(--purple), 6px 6px 0 4px var(--navy);
    margin-bottom:28px;
  }
  .hero p{
    font-size:19px;
    max-width:440px;
    margin-bottom:32px;
    font-weight:500;
  }
  .btn-row{display:flex; gap:20px; align-items:center;}
  .btn-comic{
    font-family:'Bangers', cursive;
    font-size:22px;
    letter-spacing:1px;
    background:var(--navy);
    color:var(--yellow);
    padding:16px 36px;
    border:4px solid var(--navy);
    border-radius:50px;
    display:inline-block;
    box-shadow:6px 6px 0 var(--purple-dark);
    transition:transform .15s ease;
  }
  .btn-comic:hover{transform:translate(-3px,-3px); box-shadow:9px 9px 0 var(--purple-dark);}
  .btn-outline{
    font-family:'Bangers', cursive;
    font-size:20px;
    color:var(--navy);
    border-bottom:3px solid var(--navy);
    padding-bottom:2px;
  }
  .hero-art{
    position:relative; z-index:2;
    display:flex; justify-content:center; align-items:center;
  }
  .tee-panel{
    background:var(--yellow);
    width:340px; height:420px;
    border:5px solid var(--navy);
    box-shadow: 12px 12px 0 var(--navy);
    border-radius:14px;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    position:relative;
    transform:rotate(3deg);
  }
  .tee-panel .halftone-strip{
    position:absolute; inset:0;
    background-image: radial-gradient(var(--purple) 1.4px, transparent 1.4px);
    background-size:9px 9px;
    opacity:.25;
    border-radius:10px;
  }
  .tee-illustration{font-size:150px; position:relative; z-index:2;}
  .price-tag{
    position:absolute; bottom:-22px; left:-22px;
    background:var(--pink); color:white; font-family:'Bangers',cursive;
    font-size:22px; padding:10px 20px; border:3px solid var(--navy);
    border-radius:50%; transform:rotate(-10deg);
    box-shadow:4px 4px 0 var(--navy);
  }
  .pow{
    position:absolute; font-family:'Bangers',cursive; color:var(--pink);
    -webkit-text-stroke:2px var(--navy); font-size:34px;
  }
  .pow.p1{top:20px; right:60px; transform:rotate(12deg);}
  .pow.p2{bottom:40px; right:0; transform:rotate(-8deg); color:var(--yellow);}

  /* ===== MARQUEE ===== */
  .marquee{
    background:var(--navy); color:var(--yellow);
    font-family:'Bangers',cursive; font-size:22px;
    padding:14px 0; white-space:nowrap; overflow:hidden;
    border-bottom:4px solid var(--navy);
  }
  .marquee-track{display:inline-block; animation:scroll 22s linear infinite;}
  .marquee-track span{margin:0 30px; color:var(--yellow);}
  .marquee-track span.alt{color:var(--pink);}
  @keyframes scroll{ from{transform:translateX(0);} to{transform:translateX(-50%);} }

  /* ===== CATEGORY BURSTS ===== */
  .categories{
    padding:80px 40px;
    background:var(--cream);
    text-align:center;
  }
  .section-title{
    font-family:'Bangers',cursive;
    font-size:48px;
    color:var(--navy);
    margin-bottom:8px;
  }
  .section-sub{
    font-size:16px; color:#555; margin-bottom:48px;
  }
  .cat-grid{
    display:grid; grid-template-columns:repeat(4,1fr); gap:28px;
  }
  .cat-card{
    background:var(--white);
    border:4px solid var(--navy);
    border-radius:16px;
    padding:32px 20px;
    box-shadow:7px 7px 0 var(--navy);
    transition:transform .15s ease, box-shadow .15s ease;
    cursor:pointer;
    position:relative;
  }
  .cat-card:hover{ transform:translate(-4px,-4px); box-shadow:11px 11px 0 var(--purple);}
  .cat-card .burst{
    width:70px; height:70px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-size:32px; margin:0 auto 18px;
    border:3px solid var(--navy);
  }
  .cat-card:nth-child(1) .burst{background:var(--yellow);}
  .cat-card:nth-child(2) .burst{background:var(--pink);}
  .cat-card:nth-child(3) .burst{background:var(--green);}
  .cat-card:nth-child(4) .burst{background:var(--purple); }
  .cat-card h3{
    font-family:'Bangers',cursive; font-size:22px; letter-spacing:1px; margin-bottom:6px;
  }
  .cat-card p{font-size:13px; color:#666;}

  /* ===== PRODUCTS ===== */
  .products{
    padding:80px 40px 100px;
    background:var(--purple);
    position:relative;
    border-top:6px solid var(--navy);
    border-bottom:6px solid var(--navy);
  }
  .products::before{
    content:""; position:absolute; inset:0;
    background-image: radial-gradient(rgba(255,255,255,0.15) 2px, transparent 2px);
    background-size:14px 14px;
  }
  .products .section-title, .products .section-sub{color:var(--yellow); position:relative; z-index:2;}
  .products .section-sub{color:var(--cream);}
  .prod-grid{
    position:relative; z-index:2;
    display:grid; grid-template-columns:repeat(4,1fr); gap:26px; margin-top:20px;
  }
  .prod-card{
    background:var(--cream);
    border:4px solid var(--navy);
    border-radius:14px;
    overflow:hidden;
    box-shadow:6px 6px 0 var(--navy);
    transition:transform .15s ease;
  }
  .prod-card:hover{transform:translateY(-6px);}
  .prod-img{
    height:220px;
    background:var(--yellow);
    display:flex; align-items:center; justify-content:center;
    font-size:90px;
    border-bottom:4px solid var(--navy);
    position:relative;
    background-image: radial-gradient(var(--green-dark) 1.4px, transparent 1.4px);
    background-size:10px 10px;
  }
  .new-flag{
    position:absolute; top:10px; left:10px;
    background:var(--pink); color:white; font-family:'Bangers',cursive;
    font-size:13px; padding:4px 12px; border:2px solid var(--navy); border-radius:20px;
    transform:rotate(-6deg);
  }
  .prod-info{padding:16px 18px;}
  .prod-info h4{font-family:'Space Grotesk'; font-weight:700; font-size:15px; margin-bottom:6px;}
  .prod-info .row{display:flex; justify-content:space-between; align-items:center;}
  .price{font-family:'Bangers',cursive; font-size:20px; color:var(--purple-dark);}
  .add-btn{
    background:var(--navy); color:var(--yellow); border:none;
    font-family:'Bangers',cursive; font-size:14px; padding:8px 14px; border-radius:20px;
    cursor:pointer;
  }

  /* ===== INSTAGRAM STRIP ===== */
  .insta{
    padding:70px 40px; text-align:center; background:var(--yellow);
    border-bottom:6px solid var(--navy);
  }
  .insta .section-title{color:var(--navy);}
  .insta-handle{
    font-family:'Bangers',cursive; color:var(--purple-dark); font-size:20px; margin-bottom:36px; display:inline-block;
  }
  .insta-grid{
    display:grid; grid-template-columns:repeat(5,1fr); gap:16px; max-width:1000px; margin:0 auto;
  }
  .insta-tile{
    aspect-ratio:1; background:var(--green);
    border:3px solid var(--navy); border-radius:10px;
    display:flex; align-items:center; justify-content:center; font-size:34px;
    box-shadow:4px 4px 0 var(--navy);
  }
  .insta-tile:nth-child(2n){background:var(--pink); color:white;}
  .insta-tile:nth-child(3n){background:var(--purple); color:white;}

  /* ===== NEWSLETTER ===== */
  .newsletter{
    background:var(--navy); color:var(--cream);
    padding:70px 40px; text-align:center;
  }
  .newsletter .comic{font-size:40px; color:var(--yellow); margin-bottom:14px;}
  .newsletter p{margin-bottom:28px; color:#cfcfe8;}
  .bubble-form{
    display:inline-flex; background:white; border:4px solid var(--yellow);
    border-radius:40px; overflow:hidden; box-shadow:6px 6px 0 var(--purple);
  }
  .bubble-form input{
    border:none; padding:14px 22px; font-size:15px; width:280px; font-family:'Space Grotesk';
  }
  .bubble-form button{
    background:var(--pink); color:white; border:none; font-family:'Bangers',cursive;
    font-size:17px; padding:0 30px; cursor:pointer;
  }

  /* ===== FOOTER ===== */
  footer{
    background:var(--green); padding:50px 40px 30px; border-top:4px solid var(--navy);
  }
  .foot-grid{
    display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:30px; margin-bottom:30px;
  }
  .foot-grid h5{font-family:'Bangers',cursive; font-size:18px; margin-bottom:14px;}
  .foot-grid ul li{margin-bottom:8px; font-size:14px;}
  .foot-bottom{
    border-top:3px dashed var(--navy); padding-top:18px; font-size:13px;
    display:flex; justify-content:space-between;
  }

  @media(max-width:900px){
    .hero{grid-template-columns:1fr; text-align:center;}
    .hero-copy{margin:0 auto;}
    .hero h1{font-size:64px;}
    .cat-grid, .prod-grid{grid-template-columns:repeat(2,1fr);}
    .insta-grid{grid-template-columns:repeat(3,1fr);}
    .foot-grid{grid-template-columns:1fr 1fr;}
    nav{display:none;}
  }

/* ==== SHOP PAGE STYLES ==== */
:root{
    --green:#8FE84A; --green-dark:#6BC72E; --yellow:#F3F04A;
    --purple:#B324D6; --purple-dark:#8A1AA8; --navy:#1C1C4D;
    --pink:#FF3D9A; --cream:#FFF9E8; --white:#fff;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  body{font-family:'Space Grotesk',sans-serif; background:var(--cream); color:var(--navy);}
  .comic{font-family:'Bangers',cursive; letter-spacing:1px;}
  a{text-decoration:none; color:inherit;}
  ul{list-style:none;}

  header{
    position:sticky; top:0; z-index:100; background:var(--yellow);
    border-bottom:4px solid var(--navy); padding:16px 40px;
    display:flex; align-items:center; justify-content:space-between;
  }
  .logo-mark{font-family:'Bangers',cursive; font-size:26px; display:flex; align-items:center; gap:10px;}
  .logo-mark span.dot{width:12px; height:12px; background:var(--purple); border-radius:50%; border:2px solid var(--navy); display:inline-block;}
  nav ul{display:flex; gap:28px;}
  nav a{font-weight:600; font-size:14px; text-transform:uppercase;}
  nav a:hover{color:var(--purple-dark);}
  .cart-btn{background:var(--navy); color:var(--yellow); font-family:'Bangers',cursive; padding:9px 20px; border-radius:30px; font-size:16px;}

  .breadcrumb-bar{
    background:var(--green); border-bottom:5px solid var(--navy); padding:36px 40px;
    position:relative; overflow:hidden;
  }
  .breadcrumb-bar::before{
    content:""; position:absolute; inset:0;
    background-image:radial-gradient(rgba(28,28,77,0.1) 2px, transparent 2px);
    background-size:14px 14px;
  }
  .breadcrumb-bar h1{font-size:44px; position:relative; z-index:2;}
  .breadcrumb-bar p{font-size:13px; position:relative; z-index:2; margin-top:6px; font-weight:600;}

  .shop-wrap{ display:grid; grid-template-columns:270px 1fr; gap:36px; padding:40px; max-width:1400px; margin:0 auto;}

  /* SIDEBAR FILTERS */
  .filters{align-self:start; position:sticky; top:90px;}
  .filter-box{
    background:var(--white); border:4px solid var(--navy); border-radius:14px;
    padding:20px 22px; margin-bottom:22px; box-shadow:6px 6px 0 var(--navy);
  }
  .filter-box h4{font-family:'Bangers',cursive; font-size:18px; margin-bottom:14px; color:var(--purple-dark);}
  .filter-box label{display:flex; align-items:center; gap:10px; font-size:14px; margin-bottom:10px; cursor:pointer;}
  .filter-box input[type=checkbox]{width:16px; height:16px; accent-color:var(--purple);}
  .swatch-row{display:flex; flex-wrap:wrap; gap:10px;}
  .swatch{
    width:30px; height:30px; border-radius:50%; border:3px solid var(--navy); cursor:pointer;
    position:relative;
  }
  .swatch.selected::after{
    content:"✓"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
    color:white; font-size:14px; font-weight:bold;
  }
  .size-row{display:flex; flex-wrap:wrap; gap:8px;}
  .size-pill{
    border:3px solid var(--navy); padding:6px 12px; border-radius:8px; font-size:13px; font-weight:700; cursor:pointer;
  }
  .size-pill.active{background:var(--navy); color:var(--yellow);}
  .price-range{width:100%; accent-color:var(--purple);}
  .clear-filters{font-size:12px; color:var(--purple-dark); font-weight:700; text-decoration:underline; cursor:pointer;}

  /* TOOLBAR */
  .toolbar{display:flex; justify-content:space-between; align-items:center; margin-bottom:22px; flex-wrap:wrap; gap:14px;}
  .result-count{font-size:14px; font-weight:600;}
  .sort-select{
    border:3px solid var(--navy); border-radius:20px; padding:8px 16px; font-family:'Space Grotesk'; font-weight:600; font-size:13px;
    background:white;
  }

  /* PRODUCT GRID */
  .prod-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
  .prod-card{
    background:var(--white); border:4px solid var(--navy); border-radius:14px; overflow:hidden;
    box-shadow:6px 6px 0 var(--navy); transition:transform .15s ease;
  }
  .prod-card:hover{transform:translateY(-6px);}
  .prod-img{
    height:230px; background:var(--yellow); display:flex; align-items:center; justify-content:center;
    font-size:90px; border-bottom:4px solid var(--navy); position:relative;
    background-image:radial-gradient(var(--green-dark) 1.4px, transparent 1.4px); background-size:10px 10px;
  }
  .flag{position:absolute; top:10px; left:10px; font-family:'Bangers',cursive; font-size:12px; color:white; padding:4px 12px; border:2px solid var(--navy); border-radius:20px; transform:rotate(-6deg);}
  .flag.new{background:var(--pink);}
  .flag.sale{background:var(--purple);}
  .wishlist{position:absolute; top:10px; right:10px; font-size:19px; color:var(--navy); cursor:pointer; transition:color .15s ease; line-height:1;}
  .wishlist:hover{color:var(--pink);}
  .prod-info{padding:16px 18px;}
  .prod-info h4{font-weight:700; font-size:15px; margin-bottom:4px;}
  .mini-swatches{display:flex; gap:6px; margin:8px 0;}
  .mini-swatches span{width:16px; height:16px; border-radius:50%; border:2px solid var(--navy); display:inline-block;}
  .row{display:flex; justify-content:space-between; align-items:center; margin-top:8px;}
  .price{font-family:'Bangers',cursive; font-size:19px; color:var(--purple-dark);}
  .price .old{font-family:'Space Grotesk'; font-size:13px; color:#999; text-decoration:line-through; margin-right:6px;}
  .add-btn{background:var(--navy); color:var(--yellow); border:none; font-family:'Bangers',cursive; font-size:13px; padding:7px 14px; border-radius:20px; cursor:pointer;}

  .pagination{display:flex; justify-content:center; gap:10px; margin-top:44px;}
  .page-btn{width:40px; height:40px; border:3px solid var(--navy); border-radius:10px; display:flex; align-items:center; justify-content:center; font-weight:700; cursor:pointer;}
  .page-btn.active{background:var(--navy); color:var(--yellow);}

  @media(max-width:900px){
    .shop-wrap{grid-template-columns:1fr;}
    .prod-grid{grid-template-columns:repeat(2,1fr);}
    nav{display:none;}
  }

/* ==== PRODUCT PAGE STYLES ==== */
:root{
    --green:#8FE84A; --green-dark:#6BC72E; --yellow:#F3F04A;
    --purple:#B324D6; --purple-dark:#8A1AA8; --navy:#1C1C4D;
    --pink:#FF3D9A; --cream:#FFF9E8; --white:#fff;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  body{font-family:'Space Grotesk',sans-serif; background:var(--cream); color:var(--navy);}
  .comic{font-family:'Bangers',cursive; letter-spacing:1px;}
  a{text-decoration:none; color:inherit;}
  ul{list-style:none;}

  header{
    position:sticky; top:0; z-index:100; background:var(--yellow);
    border-bottom:4px solid var(--navy); padding:16px 40px;
    display:flex; align-items:center; justify-content:space-between;
  }
  .logo-mark{font-family:'Bangers',cursive; font-size:26px; display:flex; align-items:center; gap:10px;}
  .logo-mark span.dot{width:12px; height:12px; background:var(--purple); border-radius:50%; border:2px solid var(--navy); display:inline-block;}
  nav ul{display:flex; gap:28px;}
  nav a{font-weight:600; font-size:14px; text-transform:uppercase;}
  nav a:hover{color:var(--purple-dark);}
  .cart-btn{background:var(--navy); color:var(--yellow); font-family:'Bangers',cursive; padding:9px 20px; border-radius:30px; font-size:16px;}

  .crumb{padding:18px 40px; font-size:13px; font-weight:600; color:#666;}

  .product-wrap{
    display:grid; grid-template-columns:1fr 1fr; gap:56px; padding:20px 40px 70px; max-width:1300px; margin:0 auto;
  }

  /* GALLERY */
  .gallery-main{
    background:var(--yellow); border:5px solid var(--navy); border-radius:16px;
    height:520px; display:flex; align-items:center; justify-content:center; font-size:170px;
    box-shadow:10px 10px 0 var(--purple); position:relative; margin-bottom:18px;
    background-image:radial-gradient(var(--green-dark) 1.5px, transparent 1.5px); background-size:11px 11px;
  }
  .gallery-main .flag{position:absolute; top:16px; left:16px; background:var(--pink); color:white; font-family:'Bangers',cursive; font-size:13px; padding:5px 14px; border:2px solid var(--navy); border-radius:20px; transform:rotate(-6deg);}
  .thumbs{display:flex; gap:14px;}
  .thumb{width:80px; height:80px; background:var(--white); border:3px solid var(--navy); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:34px; cursor:pointer;}
  .thumb.active{border-color:var(--purple); box-shadow:3px 3px 0 var(--purple);}

  /* INFO */
  .p-title{font-size:34px; font-weight:800; margin-bottom:8px; line-height:1.1;}
  .p-meta{font-size:13px; color:#666; margin-bottom:16px;}
  .p-meta span{color:var(--pink); font-weight:700;}
  .p-price{display:flex; align-items:baseline; gap:12px; margin-bottom:22px;}
  .p-price .now{font-family:'Bangers',cursive; font-size:32px; color:var(--purple-dark);}
  .p-price .old{font-size:16px; color:#999; text-decoration:line-through;}
  .p-price .save{background:var(--green); border:2px solid var(--navy); border-radius:20px; font-size:12px; font-weight:800; padding:3px 10px;}

  .option-block{margin-bottom:24px;}
  .option-block h5{font-family:'Bangers',cursive; font-size:16px; margin-bottom:10px; letter-spacing:1px;}
  .color-options{display:flex; gap:12px; align-items:center;}
  .color-dot{width:36px; height:36px; border-radius:50%; border:3px solid var(--navy); cursor:pointer; position:relative;}
  .color-dot.active{outline:3px solid var(--purple); outline-offset:3px;}
  .selected-label{font-size:13px; font-weight:700; margin-left:6px;}

  .size-options{display:flex; gap:10px; flex-wrap:wrap;}
  .size-box{width:48px; height:44px; border:3px solid var(--navy); border-radius:10px; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:14px; cursor:pointer;}
  .size-box.active{background:var(--navy); color:var(--yellow);}
  .size-guide-link{font-size:12px; text-decoration:underline; color:var(--purple-dark); font-weight:700; margin-left:8px; cursor:pointer;}

  .qty-row{display:flex; align-items:center; gap:18px; margin-bottom:22px;}
  .qty-stepper{display:flex; align-items:center; border:3px solid var(--navy); border-radius:10px; overflow:hidden;}
  .qty-stepper button{background:var(--yellow); border:none; width:38px; height:40px; font-size:18px; font-weight:800; cursor:pointer;}
  .qty-stepper span{width:40px; text-align:center; font-weight:700;}

  .cta-row{display:flex; gap:16px; margin-bottom:30px;}
  .btn-comic{
    font-family:'Bangers',cursive; font-size:19px; background:var(--navy); color:var(--yellow);
    padding:16px 30px; border:4px solid var(--navy); border-radius:50px; box-shadow:6px 6px 0 var(--purple-dark);
    cursor:pointer; flex:1; text-align:center;
  }
  .btn-wishlist{
    width:58px; border:4px solid var(--navy); border-radius:50px; display:flex; align-items:center; justify-content:center; font-size:22px; cursor:pointer; background:white;
  }

  .trust-row{display:flex; gap:24px; font-size:12px; font-weight:700; color:#555; margin-bottom:30px; flex-wrap:wrap;}
  .trust-row span{display:flex; align-items:center; gap:6px;}

  .accordion{border-top:3px solid var(--navy);}
  .acc-item{border-bottom:3px solid var(--navy);}
  .acc-head{padding:16px 4px; font-family:'Bangers',cursive; font-size:16px; display:flex; justify-content:space-between; cursor:pointer;}
  .acc-body{padding:0 4px 16px; font-size:14px; color:#555; line-height:1.6;}

  /* RELATED */
  .related{padding:60px 40px 90px; background:var(--purple); position:relative; border-top:6px solid var(--navy);}
  .related::before{content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.15) 2px, transparent 2px); background-size:14px 14px;}
  .related h2{position:relative; z-index:2; color:var(--yellow); font-size:38px; text-align:center; margin-bottom:36px;}
  .rel-grid{position:relative; z-index:2; display:grid; grid-template-columns:repeat(4,1fr); gap:24px; max-width:1200px; margin:0 auto;}
  .rel-card{background:var(--cream); border:4px solid var(--navy); border-radius:14px; overflow:hidden; box-shadow:6px 6px 0 var(--navy);}
  .rel-img{height:180px; background:var(--yellow); display:flex; align-items:center; justify-content:center; font-size:70px; border-bottom:4px solid var(--navy);}
  .rel-info{padding:14px 16px;}
  .rel-info h4{font-size:14px; font-weight:700; margin-bottom:6px;}
  .rel-info .price{font-family:'Bangers',cursive; color:var(--purple-dark); font-size:17px;}

  @media(max-width:900px){
    .product-wrap{grid-template-columns:1fr;}
    .rel-grid{grid-template-columns:repeat(2,1fr);}
    nav{display:none;}
  }

/* ==== CART PAGE STYLES ==== */
:root{
    --green:#8FE84A; --green-dark:#6BC72E; --yellow:#F3F04A;
    --purple:#B324D6; --purple-dark:#8A1AA8; --navy:#1C1C4D;
    --pink:#FF3D9A; --cream:#FFF9E8; --white:#fff;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  body{font-family:'Space Grotesk',sans-serif; background:var(--cream); color:var(--navy);}
  .comic{font-family:'Bangers',cursive; letter-spacing:1px;}
  a{text-decoration:none; color:inherit;}
  ul{list-style:none;}

  header{
    position:sticky; top:0; z-index:100; background:var(--yellow);
    border-bottom:4px solid var(--navy); padding:16px 40px;
    display:flex; align-items:center; justify-content:space-between;
  }
  .logo-mark{font-family:'Bangers',cursive; font-size:26px; display:flex; align-items:center; gap:10px;}
  .logo-mark span.dot{width:12px; height:12px; background:var(--purple); border-radius:50%; border:2px solid var(--navy); display:inline-block;}
  .cart-btn{background:var(--navy); color:var(--yellow); font-family:'Bangers',cursive; padding:9px 20px; border-radius:30px; font-size:16px;}

  .steps{display:flex; justify-content:center; gap:0; padding:26px 20px 10px; max-width:600px; margin:0 auto;}
  .step{display:flex; align-items:center; gap:10px; flex:1; position:relative;}
  .step .circle{
    width:34px; height:34px; border-radius:50%; border:3px solid var(--navy); display:flex; align-items:center; justify-content:center;
    font-family:'Bangers',cursive; font-size:15px; background:white; flex-shrink:0;
  }
  .step.done .circle{background:var(--green);}
  .step.active .circle{background:var(--pink); color:white;}
  .step-label{font-size:12px; font-weight:700; white-space:nowrap;}
  .step:not(:last-child)::after{ content:""; flex:1; height:3px; background:var(--navy); margin:0 4px; }

  .cart-title{text-align:center; padding:10px 40px 30px;}
  .cart-title h1{font-size:38px;}

  .cart-wrap{
    display:grid; grid-template-columns:1fr 380px; gap:40px; padding:0 40px 80px; max-width:1200px; margin:0 auto;
  }
  .cart-items{background:white; border:4px solid var(--navy); border-radius:16px; box-shadow:8px 8px 0 var(--navy); padding:10px 24px;}
  .cart-line{display:flex; gap:18px; align-items:center; padding:20px 0; border-bottom:3px dashed var(--navy);}
  .cart-line:last-child{border-bottom:none;}
  .cart-thumb{
    width:80px; height:80px; background:var(--yellow); border:3px solid var(--navy); border-radius:10px;
    display:flex; align-items:center; justify-content:center; font-size:34px; flex-shrink:0;
    background-image:radial-gradient(var(--green-dark) 1.4px, transparent 1.4px); background-size:9px 9px;
  }
  .cart-details{flex:1;}
  .cart-details h4{font-size:15px; font-weight:700; margin-bottom:4px;}
  .cart-details p{font-size:12px; color:#666;}
  .cart-qty{display:flex; align-items:center; border:3px solid var(--navy); border-radius:8px; overflow:hidden;}
  .cart-qty button{background:var(--yellow); border:none; width:30px; height:32px; font-weight:800; cursor:pointer;}
  .cart-qty span{width:32px; text-align:center; font-weight:700; font-size:13px;}
  .cart-price{font-family:'Bangers',cursive; font-size:19px; color:var(--purple-dark); width:70px; text-align:right;}
  .remove-x{color:var(--pink); font-weight:800; cursor:pointer; font-size:16px; margin-left:6px;}

  .promo-row{display:flex; gap:10px; margin-top:20px;}
  .promo-row input{flex:1; border:3px solid var(--navy); border-radius:20px; padding:10px 16px; font-family:'Space Grotesk'; font-size:13px;}
  .promo-row button{background:var(--navy); color:var(--yellow); border:none; border-radius:20px; padding:0 22px; font-family:'Bangers',cursive; font-size:14px; cursor:pointer;}

  .summary{
    background:var(--purple); border:4px solid var(--navy); border-radius:16px; box-shadow:8px 8px 0 var(--navy);
    padding:26px; height:fit-content; color:white; position:relative; overflow:hidden;
  }
  .summary::before{content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.12) 2px, transparent 2px); background-size:12px 12px;}
  .summary h3{position:relative; z-index:2; font-family:'Bangers',cursive; font-size:22px; color:var(--yellow); margin-bottom:18px;}
  .sum-row{position:relative; z-index:2; display:flex; justify-content:space-between; font-size:14px; margin-bottom:12px;}
  .sum-row.total{font-family:'Bangers',cursive; font-size:22px; color:var(--yellow); border-top:3px dashed rgba(255,255,255,.4); padding-top:14px; margin-top:14px;}
  .checkout-btn{
    position:relative; z-index:2; display:block; text-align:center; width:100%; background:var(--yellow); color:var(--navy);
    font-family:'Bangers',cursive; font-size:19px; padding:16px; border:4px solid var(--navy); border-radius:50px;
    margin-top:20px; box-shadow:5px 5px 0 var(--navy); cursor:pointer;
  }
  .trust-badges{position:relative; z-index:2; display:flex; gap:14px; margin-top:18px; font-size:11px; flex-wrap:wrap; opacity:.9;}

  .checkout-wrap{
    display:grid; grid-template-columns:1fr 380px; gap:40px; padding:0 40px 90px; max-width:1200px; margin:60px auto 0;
  }
  .form-panel{background:white; border:4px solid var(--navy); border-radius:16px; box-shadow:8px 8px 0 var(--navy); padding:30px;}
  .form-panel h3{font-family:'Bangers',cursive; font-size:20px; color:var(--purple-dark); margin:24px 0 14px;}
  .form-panel h3:first-child{margin-top:0;}
  .form-row{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px;}
  .form-row.full{grid-template-columns:1fr;}
  .form-row input, .form-row select{
    border:3px solid var(--navy); border-radius:10px; padding:12px 14px; font-family:'Space Grotesk'; font-size:14px; width:100%;
  }
  .pay-options{display:flex; gap:12px; margin-top:6px;}
  .pay-option{ flex:1; border:3px solid var(--navy); border-radius:12px; padding:16px; text-align:center; font-weight:700; font-size:13px; cursor:pointer; }
  .pay-option.active{background:var(--yellow); box-shadow:4px 4px 0 var(--navy);}
  .pay-option .icon{font-size:26px; display:block; margin-bottom:6px;}

  .mini-cart{background:var(--cream); border:4px solid var(--navy); border-radius:16px; box-shadow:8px 8px 0 var(--navy); padding:24px; height:fit-content;}
  .mini-cart h3{font-family:'Bangers',cursive; font-size:19px; margin-bottom:16px;}
  .mini-line{display:flex; gap:12px; align-items:center; margin-bottom:14px;}
  .mini-thumb{width:52px; height:52px; background:var(--yellow); border:2px solid var(--navy); border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0;}
  .mini-line-info{flex:1; font-size:12px;}
  .mini-line-info strong{font-size:13px; display:block;}
  .mini-price{font-family:'Bangers',cursive; font-size:15px; color:var(--purple-dark);}
  .mini-total-row{display:flex; justify-content:space-between; font-size:13px; margin-top:14px; padding-top:14px; border-top:2px dashed var(--navy);}
  .mini-total-row.grand{font-family:'Bangers',cursive; font-size:19px; color:var(--purple-dark);}
  .place-order-btn{
    display:block; text-align:center; width:100%; background:var(--navy); color:var(--yellow);
    font-family:'Bangers',cursive; font-size:18px; padding:16px; border-radius:50px; margin-top:18px; box-shadow:5px 5px 0 var(--purple);
    cursor:pointer;
  }

/* ==== ACCOUNT PAGE STYLES ==== */
:root{
    --green:#8FE84A; --yellow:#F3F04A; --purple:#B324D6; --purple-dark:#8A1AA8;
    --navy:#1C1C4D; --pink:#FF3D9A; --cream:#FFF9E8; --white:#fff;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  body{font-family:'Space Grotesk',sans-serif; background:var(--green); color:var(--navy); min-height:100vh;
    display:flex; align-items:center; justify-content:center; padding:40px;
    background-image:radial-gradient(rgba(28,28,77,0.1) 2px, transparent 2px); background-size:16px 16px;
  }
  .comic{font-family:'Bangers',cursive; letter-spacing:1px;}
  a{text-decoration:none; color:inherit;}

  .auth-card{
    background:var(--cream); border:5px solid var(--navy); border-radius:20px; box-shadow:12px 12px 0 var(--purple);
    width:420px; max-width:100%; padding:40px 36px;
  }
  .logo-mark{font-family:'Bangers',cursive; font-size:26px; display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:6px;}
  .logo-mark span.dot{width:12px; height:12px; background:var(--purple); border-radius:50%; border:2px solid var(--navy); display:inline-block;}
  .auth-title{text-align:center; font-size:28px; margin:14px 0 4px;}
  .auth-sub{text-align:center; font-size:13px; color:#666; margin-bottom:28px;}

  .google-btn{
    display:flex; align-items:center; justify-content:center; gap:12px;
    background:white; border:3px solid var(--navy); border-radius:50px; padding:13px; font-weight:700; font-size:14px;
    cursor:pointer; box-shadow:4px 4px 0 var(--navy); margin-bottom:18px;
  }
  .google-btn:hover{transform:translate(-2px,-2px); box-shadow:6px 6px 0 var(--navy);}
  .google-icon{width:20px; height:20px;}

  .divider{display:flex; align-items:center; gap:12px; margin:20px 0; font-size:12px; color:#888; font-weight:700;}
  .divider::before, .divider::after{content:""; flex:1; height:2px; background:#ddd;}

  .field{margin-bottom:16px;}
  .field label{font-size:12px; font-weight:700; display:block; margin-bottom:6px;}
  .field input{width:100%; border:3px solid var(--navy); border-radius:10px; padding:12px 14px; font-family:'Space Grotesk'; font-size:14px;}

  .submit-btn{
    width:100%; background:var(--navy); color:var(--yellow); font-family:'Bangers',cursive; font-size:18px;
    padding:14px; border:none; border-radius:50px; box-shadow:5px 5px 0 var(--purple); cursor:pointer; margin-top:6px;
  }

  .switch-line{text-align:center; font-size:13px; margin-top:22px;}
  .switch-line a{color:var(--purple-dark); font-weight:700; text-decoration:underline;}

  .tab-row{display:flex; background:white; border:3px solid var(--navy); border-radius:50px; padding:4px; margin-bottom:26px;}
  .tab{flex:1; text-align:center; padding:9px; font-family:'Bangers',cursive; font-size:15px; border-radius:50px; cursor:pointer;}
  .tab.active{background:var(--yellow); box-shadow:2px 2px 0 var(--navy);}