/* ===============================================
   GLOBAL RESET & GENERAL
================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    color: #222;
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: #222;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===============================================
   HEADER (Etsy-Style Light Header)
================================================ */
.site-header-light {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e3e3e3;
    padding: 14px 0;
}

.header-inner-light {
    max-width: 1600px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    padding: 0 20px;
}

.logo-light a {
    font-size: 1.9rem;
    font-weight: bold;
    color: #333;
}

/* SEARCH BAR */
.search-bar {
    flex: 1;
    display: flex;
    max-width: 480px;
}

.search-bar input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 6px 0 0 6px;
}

.search-bar button {
    padding: 10px 16px;
    background: #f3c2d3;
    border: 1px solid #f1a9c3;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
}

.main-nav-light a {
    margin-left: 18px;
    color: #444;
    font-size: 0.95rem;
}

/* ===============================================
   PAGE LAYOUT
================================================ */
.site-main-light.container {
    max-width: 1600px;
    width: 100%;
    margin: auto;
    padding: 20px;
}

/* ===============================================
   SHOP BANNER
================================================ */
.shop-banner img {
    width: 100%;
    display: block;
    max-height: 300px;
    object-fit: cover;
    border-radius: 6px;
}

/* ===============================================
   CATEGORIES SIDEBAR
================================================ */
.shop-layout {
    display: flex;
    gap: 32px;
    margin-top: 30px;
}

.category-sidebar {
    width: 240px;
}

.category-sidebar h3 {
    margin-bottom: 14px;
    color: #444;
    font-size: 1.05rem;
    font-weight: bold;
}

.category-sidebar ul {
    list-style: none;
}

.category-sidebar li {
    margin-bottom: 12px;
}

.category-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.0rem;
}

.cat-icon-sidebar {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

/* ===============================================
   PRODUCT GRID (Etsy Style)
================================================ */
.product-grid-wrapper {
    flex: 1;
}

.product-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 28px;
}

/* CARD BOX */
.product-card-modern {
    background: white;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.product-card-modern:hover {
    box-shadow: 0 3px 16px rgba(0,0,0,0.08);
}

/* UNIFORM IMAGE BOX */
.product-img-wrapper {
    width: 100%;
    height: 270px;   /* Uniform height */
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* makes all images uniform like Etsy */
}

/* PRODUCT TEXT */
.product-info {
    padding: 12px 14px;
}

.product-info h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 6px;
}

.product-info .price {
    font-size: 1rem;
    font-weight: bold;
    color: #444;
}

/* ===============================================
   FORM PAGES (Login, Register, Cart)
================================================ */
.form-page {
    max-width: 480px;
    margin: 40px auto;
    padding: 25px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
}

.form-page h1 {
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: #333;
}

.form-page label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #444;
}

.form-page input,
.form-page textarea,
.form-page select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 1rem;
}

.form-page button,
.btn {
    display: inline-block;
    padding: 10px 18px;
    background: #f3c2d3;
    border: 1px solid #f1a9c3;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.form-page button:hover,
.btn:hover {
    background: #ffd9e7;
}

/* CART TABLE */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-table th,
.cart-table td {
    padding: 12px;
    border-bottom: 1px solid #e3e3e3;
}

.cart-total {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: right;
    margin-top: 20px;
}

/* ===============================================
   MOBILE RESPONSIVE
================================================ */
@media (max-width: 900px) {
    .header-inner-light {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .search-bar {
        width: 100%;
        max-width: none;
    }

    .shop-layout {
        flex-direction: column;
    }

    .category-sidebar {
        width: 100%;
    }

    .product-img-wrapper {
        height: 220px;
    }
}

/* ===============================================
   Category collapsible sidebar (index & category)
================================================ */
.category-collapse-btn {
    display: none; /* hidden on desktop, shown on mobile */
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 12px;
    width: 100%;
    text-align: left;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 1rem;
    cursor: pointer;
}

.category-collapse-box {
    display: block; /* visible by default on desktop */
}

/* MOBILE BEHAVIOR: collapse categories on small screens */
@media (max-width: 900px) {

    /* Show button only on mobile */
    .category-collapse-btn {
        display: block;
    }

    /* Start with list collapsed on mobile */
    .category-collapse-box {
        display: none;
    }

    /* When "open" class is added by JS, show it */
    .category-collapse-box.open {
        display: block;
        margin-top: 10px;
    }

    .category-sidebar {
        width: 100%;
    }
}

/* Mobile-only centered footer text */
@media (max-width: 900px) {
    .site-footer p {
        text-align: center;
    }
}


/* ==========================================================
   PPP Soft-sell landing page (isolated styles)
========================================================== */
.ppp-hero{
  background: #fff;
  padding: 26px 0 10px;
}
.ppp-hero-inner{
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 26px;
  align-items: start;
}
.ppp-hero-copy h1{
  font-size: 2.4rem;
  color:#222;
  margin-bottom: 10px;
}
.ppp-subhead{
  font-size: 1.1rem;
  color:#444;
  max-width: 60ch;
}
.ppp-soft-note{
  margin-top: 12px;
  color:#444;
}
.ppp-hero-actions{
  display:flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.ppp-btn{
  display:inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #e3e3e3;
  background:#fff;
  color:#222;
  text-decoration:none;
}
.ppp-btn:hover{ text-decoration:none; }
.ppp-btn.primary{
  background:#f3c2d3;
  border-color:#f1a9c3;
}
.ppp-hero-card{
  border:1px solid #e3e3e3;
  border-radius: 10px;
  overflow:hidden;
  background:#fff;
}
.ppp-hero-card-top{ padding: 16px; }
.ppp-hero-card-top h3{ margin-bottom: 10px; color:#333; }
.ppp-hero-card-top ul{ margin-left: 18px; color:#444; }
.ppp-hero-card-top li{ margin: 7px 0; }
.ppp-hero-card-bottom{
  padding: 14px 16px;
  background:#fafafa;
  border-top:1px solid #eee;
}
.ppp-muted{ color:#666; }
.ppp-section{
  padding: 28px 0;
}
.ppp-section-alt{
  background:#fafafa;
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
}
.ppp-wrap{
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}
.ppp-cta-grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ppp-cta{
  border:1px solid #e3e3e3;
  border-radius: 10px;
  background:#fff;
  padding: 14px;
  text-decoration:none;
}
.ppp-cta-title{ font-weight:700; color:#333; margin-bottom: 4px; }
.ppp-cta-sub{ color:#666; }
.ppp-inline-actions{
  display:flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.ppp-two-col{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items:start;
}
.ppp-bullets{ margin-top: 14px; display:grid; gap: 12px; }
.ppp-bullet-title{ font-weight:700; color:#333; margin-bottom: 3px; }
.ppp-testimonial{ display:grid; gap: 12px; }
.ppp-testimonial-card{
  background:#fff;
  border:1px solid #e3e3e3;
  border-radius: 10px;
  padding: 14px;
}
.ppp-quote{ font-size: 1.02rem; color:#333; }
.ppp-final{
  padding: 34px 0 40px;
}

/* Mobile */
@media (max-width: 900px){
  .ppp-hero-inner{ grid-template-columns: 1fr; }
  .ppp-cta-grid{ grid-template-columns: 1fr; }
  .ppp-two-col{ grid-template-columns: 1fr; }
  .ppp-hero-copy h1{ font-size: 2rem; }
}







