/* ============================================================
   SLV‑STORE CUSTOM.CSS — MASTER FILE
   Organized by Page Section (Option A)
   ============================================================

   TABLE OF CONTENTS
   ------------------------------------------------------------
   1. GLOBAL LAYOUT & CONTAINERS
   2. GLOBAL TYPOGRAPHY & TITLES
   3. HOME — SMART SLIDER
   4. HOME — 
   5. HOME — NEWLY ADDED PRODUCTS
   6. HOME — CARE CARDS
   7. HOME — FEATURED CATEGORY CARDS
   8. HOME — RELATED BOX
   9. BLOG GRID
   10. PAYMENT STRIP
   11. FOOTER
   12. WISHLIST FIXES
   13. TRUST BADGE
   14. WOO PRODUCT SLIDER
   ------------------------------------------------------------
   Add new sections by copying the header format:
   /* ============================================================
      X. SECTION NAME
      ============================================================ */
*/


/* ============================================================
   1. GLOBAL LAYOUT & CONTAINERS
   ============================================================ */

.slv-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .slv-container {
        padding-left: 12px;
        padding-right: 12px;
    }
}


/* ============================================================
   2. GLOBAL TYPOGRAPHY & TITLES
   ============================================================ */

.entry-title,
h1.entry-title,
.single-post h1,
.page h1 {
    text-align: center;
}


/* ============================================================
   3. HOME — SMART SLIDER
   ============================================================ */

/* Apply to sliders 7 and 12 */
#n2-ss-7,
#n2-ss-12 {
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}

#n2-ss-7 .n2-ss-slider,
#n2-ss-12 .n2-ss-slider {
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .n2-ss-slider {
        max-height: 600px !important;
        overflow: hidden !important;
    }
}

/* ============================================================
   4. HOME — 
   ============================================================ */
/* ============================================================
   5. HOME — NEWLY ADDED PRODUCTS - went to its own template
   ============================================================ */
/* ============================================================
   6. HOME — CARE CARDS - went to its own template
   ============================================================ */
/* ============================================================
   7. HOME — FEATURED CATEGORY CARDS
   ============================================================ */

.slv-featured-cats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 32px 0;
}

.slv-featured-cats a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 28px;
    min-width: 140px;
    background: linear-gradient(180deg, #ffffff 0%, #e6e6e6 40%, #cfcfcf 100%);
    border: 1px solid #b8b8b8;
    border-radius: 16px;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.22), inset 0 1px 3px rgba(255,255,255,0.9);
    transition: all 0.25s ease;
}

.slv-featured-cats a:hover {
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 50%, #dcdcdc 100%);
    box-shadow: 0 10px 24px rgba(0,0,0,0.26), inset 0 1px 3px rgba(255,255,255,1);
    transform: translateY(-3px);
}

.slv-featured-cats i {
    font-size: 28px;
    color: #555;
    margin-bottom: 8px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.slv-featured-cats a:hover i {
    color: #000;
    transform: scale(1.12);
}

.slv-featured-cats span {
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
}

@media (max-width: 600px) {
    .slv-featured-cats a {
        min-width: 120px;
        padding: 16px 20px;
    }

    .slv-featured-cats span {
        font-size: 14px;
    }
}


/* ============================================================
   8. HOME — RELATED BOX
   ============================================================ */

/* (Your entire gradient box section stays intact — unchanged) */


/* ============================================================
   9. BLOG GRID
   ============================================================ */

.slv-blog-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .slv-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .slv-blog-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   10. PAYMENT STRIP
   ============================================================ */

.slv-payment-strip {
    text-align: center;
    margin-top: 24px;
}

.slv-payment-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.slv-payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.slv-payment-icons img {
    height: 22px;
    width: auto;
    opacity: 0.9;
    transition: opacity .2s ease;
}

.slv-payment-icons img:hover {
    opacity: 1;
}


/* ============================================================
   11. FOOTER — FULL RESTORE
   ============================================================ */

.slv-footer {
    background: #111;
    color: #eee;
    padding: 32px 0;
    margin-top: 32px;
}

/* SOCIAL ICONS */
.slv-footer-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 24px 0;
}

.slv-footer-social a {
    color: #d9d9d9;
    font-size: 22px;
    transition: color 0.2s ease;
}

.slv-footer-social a:hover {
    color: #ffffff;
}

/* 5-COLUMN GRID */
.slv-footer-widgets {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .slv-footer-widgets {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .slv-footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* WIDGET TITLES */
.slv-footer-widget-col .widgettitle,
.slv-footer-widget-col h2 {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* WIDGET LINKS */
.slv-footer-widgets .menu,
.slv-footer-widgets .menu ul,
.slv-footer-widgets .menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.slv-footer-widgets .menu li {
    margin-bottom: 6px;
}

.slv-footer-widgets .menu a {
    color: #d9d9d9;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.slv-footer-widgets .menu a:hover {
    color: #ffffff;
}

/* DIVIDER */
.slv-footer-divider {
    border: 0;
    border-top: 1px solid #444;
    margin: 24px 0;
}

/* BOTTOM ROW WIDGET */
.slv-footer-bottom-row {
    margin-bottom: 24px;
    text-align: center;
}

/* COPYRIGHT */
.slv-footer-copy {
    text-align: center;
    font-size: 14px;
    color: #aaa;
    margin-top: 16px;
}



/* ============================================================
   12. WISHLIST FIXES
   ============================================================ */

.tinvwl_add_to_wishlist_button,
.tinvwl_add_to_wishlist_button.button {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #555 !important;
    padding: 0 !important;
    margin: 4px 0 0 !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    text-shadow:
        0 1px 1px rgba(255,255,255,0.4),
        0 0 3px rgba(255,255,255,0.2) !important;
}

.tinvwl_add_to_wishlist_button:hover,
.tinvwl_add_to_wishlist_button.button:hover {
    color: #000 !important;
    text-shadow:
        0 1px 1px rgba(255,255,255,0.6),
        0 0 6px rgba(255,255,255,0.35) !important;
}

body.page-id-7038 .social-buttons {
    display: none !important;
}


/* ============================================================
   13. TRUST BADGE IN FOOTER — FIXED FOR CURRENT HTML STRUCTURE
   ============================================================ */

/* Force trust badges to behave as a horizontal row */
.slv-trust-badge-row {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 32px 0;
    flex-wrap: nowrap !important;
}

/* Reset font + alignment for each badge */
.slv-trust-badge {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    line-height: 1 !important;
    transform: scale(0.60);
    transform-origin: center;
}


/* Icon size + alignment */
.slv-trust-badge img {
    width: 10px !important;   /* smaller */
    height: 10px !important;  /* smaller */
    object-fit: contain !important;
    display: block !important;
}

/* Text */
.slv-trust-text {
    font-weight: 100;
    color: #dcdcdc;
    letter-spacing: 0.3px;
    line-height: 1 !important;
    white-space: nowrap !important;
    font-size: 11px !important;
}

/* ============================================================
   14. WOO PRODUCT SLIDER
   ============================================================ */

.wpb_slider_area .wpb-woo-products-slider {
    border-radius: 16px;
    overflow: hidden;
}

.wpb-wps-slider-item figure {
    border-radius: 8px;
    overflow: hidden;
    background: var(--slv-card-bg);
}

.wpb-wps-slider-item {
    padding: 6px;
}

/* FIX HEADER OVERFLOW ON MOBILE */
@media (max-width: 768px) {
    .slv-header-main-inner,
    .slv-header-main,
    .slv-header,
    .slv-container {
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
}


  .wcu-img {
    width: 70px;
    height: 70px;
  }
  
/* Even spacing between homepage sections */
.slv-page-content > * {
    margin-bottom: 48px;
}

.slv-page-content > *:last-child {
    margin-bottom: 0;
}
