/* ============================================
   PRODUCT CARDS - CLEAN STYLING
============================================ */
.sh-product-card {
    border: 1px solid #E2E2E2 !important;
    border-radius: 12px !important;
    background-color: #FFFFFF;
    overflow: hidden;
    position: relative;
    transition: all 0.35s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sh-product-card:hover {
    box-shadow: 0 12px 30px rgba(47, 94, 46, 0.18);
    border-color: #2F5E2E !important;
    transform: translateY(-5px);
}

/* ============================================
   DISCOUNT TAGS - GOLDEN STYLE
============================================ */
.sh-product-card-discount-tag {
    font-weight: 600 !important;
    border-radius: 8px 0 12px 0 !important;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%) !important;
    color: #2F5E2E !important;
    right: auto !important;
    top: 0 !important;
    left: 0 !important;
    padding: 8px 16px;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
    z-index: 2;
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.sh-product-discount-tag {
    font-weight: 600 !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%) !important;
    color: #2F5E2E !important;
    padding: 6px 16px;
    font-size: 12px;
    box-shadow: 0 3px 8px rgba(212, 175, 55, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   ALL PRODUCT CARD BUTTONS - BASE RESET
============================================ */
.sh-product-card .pr-outlined-button,
.sh-product-card .universal-btn-style,
.sh-product-card button.flex {
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    letter-spacing: 0.2px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    padding: 8px 6px !important;
    min-height: 36px !important;
    height: auto !important;
}

/* ============================================
   DESKTOP LAYOUT (SIDE BY SIDE)
============================================ */
@media (min-width: 769px) {

  .sh-product-card .pr-card-price-ctn > div {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
  }

  .sh-product-card .pr-card-price-ctn > div > button {
    flex: 1 !important;
    width: 100% !important;
  }

}
/* ============================================
   DESKTOP - BUTTONS SIDE BY SIDE
============================================ */
@media (min-width: 769px) {

  .sh-product-card .flex.w-full.items-stretch {
    flex-direction: row !important;
    gap: 10px !important;
  }

  .sh-product-card .flex.w-full.items-stretch > button {
    flex: 1 !important;
    width: 100% !important;
  }

}
/* ============================================
   MOBILE - BUTTONS STACKED (ADD TO CART TOP, BUY NOW BOTTOM)
============================================ */
@media (max-width: 768px) {

  /* Stack vertically */
  .sh-product-card .flex.w-full.items-stretch {
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* Make full width */
  .sh-product-card .flex.w-full.items-stretch > button {
    width: 100% !important;
    border-radius: 40px !important;
    padding: 16px !important;
    font-size: 16px !important;
  }

  /* First button – Add to Cart – Dark Green */
  .sh-product-card .flex.w-full.items-stretch > button:first-child {
    background: linear-gradient(135deg, #2F5E2E, #4E8F4E) !important;
    color: #fff !important;
    border: none !important;
  }

  /* Second button – Buy Now – Teal */
  .sh-product-card .flex.w-full.items-stretch > button:last-child {
    background: linear-gradient(135deg, #29A56C, #34C77B) !important;
    color: #fff !important;
    border: none !important;
  }

}
/* ============================================
   EXTRA SMALL MOBILE
============================================ */
@media only screen and (max-width: 480px) {
    .sh-product-card .pr-outlined-button,
    .sh-product-card .universal-btn-style {
        padding: 14px 10px !important;
        font-size: 15px !important;
    }
}
/* ============================================
   BUTTON COLORS (DESKTOP)
============================================ */

/* Add to Cart = 1st button = dark green */
.sh-product-card .pr-card-price-ctn > div > button:nth-of-type(1),
.sh-product-card [class*="price"] > div > button:nth-of-type(1),
.sh-product-card .pr-outlined-button:nth-of-type(1),
.sh-product-card .universal-btn-style:nth-of-type(1) {
    background: linear-gradient(135deg, #2F5E2E 0%, #4E8F4E 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 3px 10px rgba(47, 94, 46, 0.25) !important;
}

.sh-product-card .pr-outlined-button:nth-of-type(1):hover,
.sh-product-card .universal-btn-style:nth-of-type(1):hover {
    background: linear-gradient(135deg, #4E8F4E 0%, #6BAA6B 100%) !important;
    box-shadow: 0 5px 16px rgba(47, 94, 46, 0.35) !important;
    transform: translateY(-1px);
}

/* Buy Now = 2nd button = teal green */
.sh-product-card .pr-card-price-ctn > div > button:nth-of-type(2),
.sh-product-card [class*="price"] > div > button:nth-of-type(2),
.sh-product-card .pr-outlined-button:nth-of-type(2),
.sh-product-card .universal-btn-style:nth-of-type(2) {
    background: linear-gradient(135deg, #29A56C 0%, #34C77B 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 3px 10px rgba(41, 165, 108, 0.25) !important;
}

.sh-product-card .pr-outlined-button:nth-of-type(2):hover,
.sh-product-card .universal-btn-style:nth-of-type(2):hover {
    background: linear-gradient(135deg, #34C77B 0%, #3FD68A 100%) !important;
    box-shadow: 0 5px 16px rgba(41, 165, 108, 0.35) !important;
    transform: translateY(-1px);
}

/* ============================================
   PLUS/MINUS QUANTITY BUTTONS
============================================ */
.sh-product-plus-minus-button {
    border: 2px solid #2F5E2E !important;
    background-color: #FFFFFF !important;
    color: #2F5E2E !important;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 30px !important;
}

.sh-product-plus-minus-button:hover {
    background-color: #2F5E2E !important;
    color: #FFFFFF !important;
}

/* ============================================
   SOLID BUTTON (general use)
============================================ */
.sh-solid-button {
    border-radius: 30px !important;
    background: linear-gradient(135deg, #2F5E2E 0%, #4E8F4E 100%) !important;
    color: #FFFFFF !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(47, 94, 46, 0.2);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.sh-solid-button:hover {
    background: linear-gradient(135deg, #4E8F4E 0%, #6BAA6B 100%) !important;
    box-shadow: 0 6px 18px rgba(47, 94, 46, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   PRODUCT DETAIL PAGE BUTTONS
============================================ */
.sh-product-detail-btn-ctn .pr-outlined-button,
.sh-product-detail-btn-ctn button:not([class*="whatsapp"]):not([class*="solid"]) {
    border-radius: 50px !important;
    background: #FFFFFF !important;
    color: #2F5E2E !important;
    border: 2px solid #2F5E2E !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 12px 32px !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

.sh-product-detail-btn-ctn .pr-outlined-button:hover,
.sh-product-detail-btn-ctn button:not([class*="whatsapp"]):not([class*="solid"]):hover {
    background: #2F5E2E !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(47, 94, 46, 0.25) !important;
    transform: translateY(-2px);
}

.sh-product-detail-btn-ctn .sh-solid-button {
    border-radius: 50px !important;
    background: linear-gradient(135deg, #2F5E2E 0%, #3D7A3C 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 12px 32px !important;
    box-shadow: 0 4px 16px rgba(47, 94, 46, 0.3) !important;
    transition: all 0.3s ease !important;
}

.sh-product-detail-btn-ctn .sh-solid-button:hover {
    background: linear-gradient(135deg, #3D7A3C 0%, #4E8F4E 100%) !important;
    box-shadow: 0 8px 24px rgba(47, 94, 46, 0.35) !important;
    transform: translateY(-2px);
}

/* ============================================
   PRODUCT IMAGE STYLING
============================================ */
.sh-product-card img,
.sh-product-card-image,
.sh-product-card-thumbnail {
    border-radius: 12px 12px 0 0 !important;
    display: block;
    width: 100%;
    transition: transform 0.5s ease;
}

.sh-product-card:hover img,
.sh-product-card:hover .sh-product-card-image,
.sh-product-card:hover .sh-product-card-thumbnail {
    transform: scale(1.05);
}

.sh-product-detail-image,
.sh-product-detail-image img {
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* ============================================
   PRICE STYLING
============================================ */
.sh-product-price {
    font-size: 22px;
    font-weight: 700;
    color: #2F5E2E;
    position: relative;
    display: inline-block;
}

.sh-product-original-price {
    font-size: 16px;
    color: #888;
    text-decoration: line-through;
    margin-left: 8px;
}

/* ============================================
   CARD CONTENT
============================================ */
.pr-long-card { padding: 0px; }

.pr-card-content {
    padding: 16px 20px !important;
    background: #FFFFFF;
    border-radius: 0 0 12px 12px !important;
}

/* ============================================
   CATEGORY CARDS - ANIMATED & ELEVATED
============================================ */
.sh-category-card > a > div {
    padding: 24px 20px !important;
    border: 2px solid transparent !important;
    border-radius: 16px !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #FFFFFF !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.sh-category-card > a > div::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, #2F5E2E 0%, #4E8F4E 50%, #2F5E2E 100%);
    background-size: 200% 200%;
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.sh-category-card > a > div::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.7s ease;
    z-index: 1;
}

.sh-category-card > a > div:hover::after { left: 100%; }

.sh-category-card > a > div > img,
.sh-category-card > a > div > svg,
.sh-category-card > a > div > i {
    width: 48px !important; height: 48px !important;
    margin-bottom: 16px !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: grayscale(0.5) brightness(0.9);
}

.sh-category-card > a > div:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(47, 94, 46, 0.15);
    border-color: transparent !important;
}

.sh-category-card > a > div:hover::before {
    opacity: 1;
    animation: borderGlow 2s infinite linear;
}

.sh-category-card > a > div:hover > img,
.sh-category-card > a > div:hover > svg,
.sh-category-card > a > div:hover > i {
    transform: scale(1.2) rotate(5deg);
    filter: grayscale(0) brightness(1);
}

.sh-category-card:nth-child(3n-2) > a > div { animation: floatCard 6s ease-in-out infinite; }
.sh-category-card:nth-child(3n-1) > a > div { animation: floatCard 6s ease-in-out infinite 0.5s; }
.sh-category-card:nth-child(3n)   > a > div { animation: floatCard 6s ease-in-out infinite 1s; }

.sh-category-card:nth-child(3n-2) > a > div {
    background: linear-gradient(135deg, rgba(238,246,238,0.9) 0%, rgba(255,255,255,1) 50%, rgba(248,252,248,0.9) 100%) !important;
    border-top: 4px solid rgba(47,94,46,0.1) !important;
}
.sh-category-card:nth-child(3n-1) > a > div {
    background: linear-gradient(135deg, rgba(255,249,230,0.9) 0%, rgba(255,255,255,1) 50%, rgba(255,254,248,0.9) 100%) !important;
    border-top: 4px solid rgba(212,175,55,0.1) !important;
}
.sh-category-card:nth-child(3n) > a > div {
    background: linear-gradient(135deg, rgba(253,241,232,0.9) 0%, rgba(255,255,255,1) 50%, rgba(255,249,245,0.9) 100%) !important;
    border-top: 4px solid rgba(41,165,108,0.1) !important;
}

.sh-category-card > a > div > p {
    line-height: 28px; font-size: 18px; font-weight: 700;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis;
    min-height: 56px; position: relative; padding-left: 36px;
    margin-bottom: 0; transition: all 0.4s ease;
    background: linear-gradient(135deg, #2F5E2E, #4E8F4E);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.sh-category-card > a > div > p::before {
    content: '→'; position: absolute; left: 0; top: 0;
    font-size: 24px; color: #D4AF37; opacity: 0.7;
    transform: translateX(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sh-category-card > a > div:hover > p::before {
    transform: translateX(8px); opacity: 1; color: #2F5E2E;
    animation: arrowBounce 0.6s ease;
}

.sh-category-card > a > div > span,
.sh-category-card > a > div > .category-count {
    position: absolute; bottom: 16px; right: 16px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    color: #2F5E2E; font-size: 12px; font-weight: 700;
    padding: 4px 12px; border-radius: 20px;
    box-shadow: 0 3px 10px rgba(212,175,55,0.3);
    transition: all 0.3s ease; z-index: 2;
}

.sh-category-card > a > div:hover > span,
.sh-category-card > a > div:hover > .category-count {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(212,175,55,0.4);
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}
@keyframes borderGlow {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 200%; }
}
@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(12px); }
}

/* ============================================
   HEADER / FOOTER / MISC
============================================ */
.sh-row-title-divider { display: none !important; }

.sh-header-main {
    background-color: #FFFFFF;
    color: #000000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sh-footer-main {
    background: linear-gradient(135deg, #1F3A0F 0%, #2F5E2E 100%);
    color: #F9F9F9;
}

.sh-footer-main hr {
    border: none; height: 1px;
    background: linear-gradient(to right, transparent, #D4AF37, transparent);
    margin: 16px 0;
}

.sh-products-container { display: grid; gap: 20px; padding: 20px 0; }

.sh-product-card {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(255,255,255,0.6);
}

.sh-categories-container {
    background: linear-gradient(135deg, #F9FDF9 0%, #FFFFFF 100%);
    padding: 30px 0; border-radius: 20px; margin: 20px 0;
}

.sh-categories-container .sh-row-title {
    font-size: 28px; font-weight: 800; color: #2F5E2E;
    text-align: center; margin-bottom: 30px;
    position: relative; padding-bottom: 15px;
}

.sh-categories-container .sh-row-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    background: linear-gradient(90deg, #2F5E2E, #4E8F4E);
    border-radius: 2px;
}

/* ============================================
   EXTRA SMALL MOBILE DEVICES
============================================ */
@media only screen and (max-width: 480px) {
    
    .sh-product-card .pr-outlined-button,
    .sh-product-card .universal-btn-style {
        padding: 12px 10px !important;
        font-size: 14px !important;
    }
    
    .sh-product-price {
        font-size: 20px !important;
    }
    
    .sh-product-original-price {
        font-size: 14px !important;
    }
    
    .pr-card-content {
        padding: 12px 12px 8px 12px !important;
    }
}

@media only screen and (max-width: 360px) {
    
    .sh-product-card .pr-outlined-button,
    .sh-product-card .universal-btn-style {
        padding: 10px 8px !important;
        font-size: 13px !important;
    }
}