/* =====================================================
   PAWISTRY — CLEAN CONSOLIDATED CUSTOM CSS
   Replace the entire current Zoho Custom CSS with this.
   ===================================================== */


/* =====================================================
   1. HOMEPAGE PRODUCT GRID
   Keeps Zoho from reverting to its filmstrip widths.
   ===================================================== */

.zpelem-storecollection .theme-store-style-collection-row-02 {
    display: flex !important;
    flex-wrap: wrap !important;
    transform: none !important;
    width: 100% !important;
}

.zpelem-storecollection .zpfilmstrip-overflow-hidden,
.zpelem-storecollection .zpfilmstrip-gutter-fix {
    overflow: visible !important;
}

.zpelem-storecollection .zpcarousel-arrows-container {
    display: none !important;
}

/* Mobile: 1 product per row */
@media (max-width: 767px) {
    .zpelem-storecollection
    .theme-prod-box[class*="theme-product-count-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 28px !important;
    }
}

/* Tablet: 2 products per row */
@media (min-width: 768px) and (max-width: 991px) {
    .zpelem-storecollection
    .theme-prod-box[class*="theme-product-count-"] {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }
}

/* Desktop: 3 products per row */
@media (min-width: 992px) {
    .zpelem-storecollection
    .theme-prod-box[class*="theme-product-count-"] {
        width: 33.333333% !important;
        max-width: 33.333333% !important;
        flex: 0 0 33.333333% !important;
    }
}


/* =====================================================
   2. HEADER / LOGO
   ===================================================== */

.theme-branding-info,
.theme-logo-parent,
.theme-logo-parent a {
    background: transparent !important;
    box-shadow: none !important;
}

.theme-mobile-header-style-05
.theme-logo-parent
img[data-zs-logo] {
    width: 190px !important;
    height: auto !important;
    max-width: 190px !important;
    max-height: 58px !important;
    object-fit: contain !important;
}

.theme-mobile-header-style-05.theme-mobile-header-top {
    min-height: 78px !important;
}

.theme-mobile-header-style-05 .theme-branding-info {
    width: auto !important;
    padding: 6px !important;
}


/* =====================================================
   3. MOBILE HERO
   ===================================================== */

@media (max-width: 767px) {

    .zphero .zphero-slider-container .zpcontainer {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .zphero .zpelem-col {
        background: rgba(247, 245, 240, 0.86) !important;
        padding: 14px 16px !important;
        border-radius: 8px !important;
        max-width: 88% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .zphero .zpelem-heading h1,
    .zphero .zpelem-heading h2,
    .zphero .zpelem-heading h3 {
        font-size: 24px !important;
        line-height: 1.10 !important;
        letter-spacing: -0.5px !important;
        margin: 0 0 8px !important;
    }

    .zphero .zpelem-heading h4 {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }

    .zphero .zpelem-text,
    .zphero .zpelem-text p {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }

    .zphero .zpbutton {
        font-size: 12px !important;
        letter-spacing: 0.5px !important;
        padding: 10px 18px !important;
        border-radius: 999px !important;
    }
}


/* =====================================================
   4. PRODUCT CARD POLISH
   ===================================================== */

.zpelem-storecollection .theme-prod-box {
    display: flex !important;
    flex-direction: column !important;
    background: #F7F5F0 !important;
    border: 1px solid rgba(31, 58, 46, 0.10) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    padding: 18px !important;
    box-shadow: 0 6px 22px rgba(31, 58, 46, 0.06) !important;
}

.zpelem-storecollection .theme-product-image-area {
    order: 1 !important;
    background: #FFFFFF !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 18px !important;
}

/* Zoho's native theme uses object-fit: cover.
   contain keeps the full product image visible. */
.zpelem-storecollection
.theme-product-list-style-02
.theme-product-box-content
.theme-product-image-area
picture img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    scale: 1 !important;
    transform: none !important;
    background: #FFFFFF !important;
}

.zpelem-storecollection .theme-product-details-area {
    order: 2 !important;
    text-align: center !important;
    padding: 0 4px 6px !important;
}

.zpelem-storecollection .theme-product-name {
    margin-bottom: 7px !important;
}

.zpelem-storecollection .theme-product-name a {
    color: #1F3A2E !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
}

.zpelem-storecollection .theme-product-total-price-label {
    color: #1F3A2E !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

@media (max-width: 767px) {
    .zpelem-storecollection .theme-prod-box {
        padding: 14px !important;
        margin-bottom: 28px !important;
    }

    .zpelem-storecollection .theme-product-name a {
        font-size: 16px !important;
    }

    .zpelem-storecollection .theme-product-total-price-label {
        font-size: 17px !important;
    }
}


/* =====================================================
   5. HIDE THE SINGLE "HOME" BREADCRUMB ON HOMEPAGE
   Multi-level product breadcrumbs remain untouched.
   ===================================================== */

.theme-product-page-breadcrumb:has(
    .theme-product-breadcrumb >
    .theme-last-breadcrumb-nav:first-child:nth-last-child(2)
) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* =====================================================
   6. EVERYDAY ESSENTIALS / SHOP ALL
   ===================================================== */

/* Hidden source heading used by Zoho JS */
.zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
.theme-section-heading {
    font-size: 0 !important;
}

.zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
.theme-section-heading::after {
    content: "Everyday Essentials";
    font-size: 34px !important;
    line-height: 1.15 !important;
    color: #1F3A2E !important;
}

/* Visible filmstrip heading generated by Zoho */
.zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
.zpfilmstrip-title {
    font-size: 0 !important;
    line-height: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
.zpfilmstrip-title::after {
    content: "Everyday Essentials";
    display: block !important;
    font-size: 34px !important;
    line-height: 1.15 !important;
    color: #1F3A2E !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* View all -> Shop All */
.zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
.theme-viewall-text {
    font-size: 0 !important;
    line-height: 0 !important;
}

.zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
.theme-viewall-text::after {
    content: "Shop All";
    font-size: 14px !important;
    line-height: 1 !important;
}


/* =====================================================
   7. MOBILE — TITLE ROW + SECTION SPACING
   The native homepage section has 50px side padding.
   Reduce it so title and button have room.
   ===================================================== */

@media (max-width: 767px) {

    [data-element-id="elm_tsP5sE6jLCGGc-cSKEzY8A"].zpsection {
        padding-inline-start: 16px !important;
        padding-inline-end: 16px !important;
    }

    .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
    .zpfilmstrip-title-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
    .zpfilmstrip-title {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: none !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
    .zpfilmstrip-title::after {
        font-size: 20px !important;
        line-height: 1.10 !important;
        letter-spacing: -0.2px !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
    .zpfilmstrip-viewall-button {
        flex: 0 0 auto !important;
        min-inline-size: 0 !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
    .zpfilmstrip-viewall-button .zpbutton {
        min-width: 0 !important;
        padding: 8px 14px !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }

    .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
    .theme-viewall-text,
    .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
    .theme-viewall-text::after {
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
    .theme-viewall-text::after {
        font-size: 13px !important;
    }
}

/* =====================================================
   8. EXACT MOBILE TITLE + SHOP ALL FIX
   Zoho core sets min-inline-size:120px on the View All
   wrapper. Override the wrapper itself, not just the link.
   ===================================================== */

@media (max-width: 767px) {

    .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
    .zpfilmstrip-title-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
    .zpfilmstrip-title {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap !important;
    }

    .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
    .zpfilmstrip-title::after {
        font-size: 17px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
    .zpfilmstrip-viewall-button {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;

        flex: 0 0 auto !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;

        inline-size: auto !important;
        min-inline-size: 0 !important;
        max-inline-size: none !important;

        margin: 0 !important;
        margin-block-start: 0 !important;
        margin-inline-start: 0 !important;
    }

    .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
    .zpfilmstrip-viewall-button
    > .zpbutton-wrapper.zpbutton {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex: 0 0 auto !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;

        inline-size: auto !important;
        min-inline-size: 0 !important;
        max-inline-size: none !important;

        height: auto !important;
        min-height: 0 !important;

        padding: 8px 12px !important;
        margin: 0 !important;

        border-radius: 999px !important;
        box-sizing: border-box !important;

        white-space: nowrap !important;
    }

    .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
    .zpfilmstrip-viewall-button
    .theme-viewall-text::after {
        font-size: 12px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }
}


/* =====================================================
   9. MOBILE CART BUTTONS
   Zoho gives both buttons 35px horizontal padding inside
   two half-width flex cells, which makes the labels wrap.
   ===================================================== */

@media (max-width: 767px) {

    .theme-shopping-cart-table-container
    .theme-cart-table-row.theme-checkout-button-area {
        display: flex !important;
        flex-direction: row-reverse !important;
        align-items: stretch !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    .theme-shopping-cart-table-container
    .theme-cart-table-row.theme-checkout-button-area
    .theme-cart-table-data {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        width: auto !important;
        justify-content: center !important;
    }

    .theme-shopping-cart-table-container
    .theme-cart-table-row.theme-checkout-button-area
    .theme-cart-table-data
    .theme-checkout-button,

    .theme-shopping-cart-table-container
    .theme-cart-table-row.theme-checkout-button-area
    .theme-cart-table-data
    .theme-continue-shopping-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        height: 48px !important;
        min-height: 48px !important;

        padding: 10px 12px !important;
        margin: 0 !important;

        box-sizing: border-box !important;

        font-size: 14px !important;
        line-height: 1.1 !important;

        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .theme-shopping-cart-table-container
    .theme-cart-table-row.theme-checkout-button-area
    .theme-cart-table-data
    .theme-checkout-button *,

    .theme-shopping-cart-table-container
    .theme-cart-table-row.theme-checkout-button-area
    .theme-cart-table-data
    .theme-continue-shopping-button * {
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
}
/* Remove stray separator beside Everyday Essentials */
@media (max-width: 767px) {

  .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
  .zpfilmstrip-title-container {
      font-size: 0 !important;
  }

  .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
  .zpfilmstrip-title-container::before,
  .zpelem-storecollection[data-zs-collection-id="1634906000000919292"]
  .zpfilmstrip-title-container::after {
      content: none !important;
      display: none !important;
  }
}
/* =====================================================
   PAWISTRY — HOMEPAGE QUANTITY CONTROLS ONLY
   Matches the clean cart-page appearance
   ===================================================== */

/* Shared minus and plus styling */
.zpelem-storecollection .theme-prod-box .theme-quantity-decrease,
.zpelem-storecollection .theme-prod-box .theme-quantity-increase,
.zpelem-storecollection .theme-prod-box [data-zs-qty-dec],
.zpelem-storecollection .theme-prod-box [data-zs-qty-inc],
.zpelem-storecollection .theme-prod-box [class*="quantity-decrease"],
.zpelem-storecollection .theme-prod-box [class*="quantity-increase"] {
  appearance: none !important;
  -webkit-appearance: none !important;

  width: 31px !important;
  min-width: 31px !important;
  max-width: 31px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;

  padding: 0 !important;
  margin: 0 !important;

  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;

  color: #142a23 !important;
  -webkit-text-fill-color: #142a23 !important;

  border-radius: 0 !important;
  box-shadow: none !important;

  font-family: Inter, sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 28px !important;
  text-align: center !important;
  text-indent: 0 !important;
  opacity: 1 !important;
}

/* Minus button */
.zpelem-storecollection .theme-prod-box .theme-quantity-decrease,
.zpelem-storecollection .theme-prod-box [data-zs-qty-dec],
.zpelem-storecollection .theme-prod-box [class*="quantity-decrease"] {
  border: 1px solid #d8d0c3 !important;
  border-right: 0 !important;
}

/* Plus button */
.zpelem-storecollection .theme-prod-box .theme-quantity-increase,
.zpelem-storecollection .theme-prod-box [data-zs-qty-inc],
.zpelem-storecollection .theme-prod-box [class*="quantity-increase"] {
  border: 1px solid #d8d0c3 !important;
  border-left: 0 !important;
}

/* Quantity number */
.zpelem-storecollection .theme-prod-box [data-zs-quantity],
.zpelem-storecollection .theme-prod-box input[class*="quantity-input"],
.zpelem-storecollection .theme-prod-box input[class*="quantity-value"] {
  appearance: none !important;
  -webkit-appearance: none !important;

  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 30px !important;

  padding: 0 !important;
  margin: 0 !important;

  background: #ffffff !important;
  color: #142a23 !important;
  -webkit-text-fill-color: #142a23 !important;

  border: 1px solid #d8d0c3 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  font-family: Inter, sans-serif !important;
  font-size: 15px !important;
  line-height: 28px !important;
  text-align: center !important;
  opacity: 1 !important;
}
/* ==========================================
   PAWISTRY — HOMEPAGE QUANTITY CONTROLS
   Must remain below the global button styles
========================================== */

.theme-product-list-style-08
.theme-product-list-quantity {
  background: #ffffff !important;
  border: 1px solid #d8d0c3 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}

.theme-product-list-style-08
.theme-product-list-quantity-decrease,
.theme-product-list-style-08
.theme-product-list-quantity-increase {
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Remove the green clickable layer covering each sign */
.theme-product-list-style-08
.theme-product-list-quantity
input[type="button"].theme-cart-qty-btn {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* Visible minus and plus signs */
.theme-product-list-style-08
.theme-product-list-quantity-decrease svg,
.theme-product-list-style-08
.theme-product-list-quantity-increase svg,
.theme-product-list-style-08
.theme-product-list-quantity-decrease svg path,
.theme-product-list-style-08
.theme-product-list-quantity-increase svg path {
  fill: #1f3a2e !important;
}

/* Centre quantity */
.theme-product-list-style-08
.theme-product-list-quantity-field {
  background: #ffffff !important;
  color: #1f3a2e !important;
  -webkit-text-fill-color: #1f3a2e !important;
  border-left: 1px solid #d8d0c3 !important;
  border-right: 1px solid #d8d0c3 !important;
  border-radius: 0 !important;
}