
/* ========================================================================
   THE YOUNG SHARKS — Mobile-First Redesign
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --ys-bg:        #ffffff;
  --ys-bg-soft:   #f8fafc;
  --ys-bg-dark:   #0f172a;
  --ys-text:      #1e293b;
  --ys-text-mid:  #475569;
  --ys-text-soft: #94a3b8;
  --ys-accent:    #2563eb;
  --ys-accent2:   #10b981;
  --ys-border:    #e2e8f0;
  --ys-radius:    16px;
  --ys-radius-sm: 12px;
  --ys-shadow-sm: 0 1px 2px rgb(0 0 0 / .04);
  --ys-shadow:    0 4px 6px -1px rgb(0 0 0 / .06), 0 2px 4px -2px rgb(0 0 0 / .04);
  --ys-shadow-md: 0 10px 15px -3px rgb(0 0 0 / .08), 0 4px 6px -4px rgb(0 0 0 / .04);
  --ys-shadow-lg: 0 20px 25px -5px rgb(0 0 0 / .08), 0 8px 10px -6px rgb(0 0 0 / .04);
}

html, body { scroll-behavior: smooth; }
body, p, li, span, a, h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
body {
  background: var(--ys-bg) !important;
  color: var(--ys-text) !important;
  -webkit-font-smoothing: antialiased;
}

/* Reset & Global Fixes */
a { text-decoration: none !important; color: inherit; }
a:hover { text-decoration: none !important; }
a[style*="text-decoration:underline"],
a[style*="text-decoration: underline"] { text-decoration: none !important; }

[style*="background-color:#0a0e27"],
[style*="background-color:#11152b"],
[style*="background-color:#1a1f3c"] { background: var(--ys-bg-soft) !important; }
[style*="background-color:#0a0e27"] h1,
[style*="background-color:#0a0e27"] h2,
[style*="background-color:#0a0e27"] h3,
[style*="background-color:#0a0e27"] p,
[style*="background-color:#11152b"] h1,
[style*="background-color:#11152b"] h2,
[style*="background-color:#11152b"] h3,
[style*="background-color:#11152b"] p { color: #ffffff !important; }

.ys-sticky-bar, .ys-sticky-bar-close, [class*="sticky"],
#ys-sticky-bar, #ys-lead-section,
section[style*="background: linear-gradient(135deg,#0b1120"] { display: none !important; }

/* ======================================================================
   HERO
   ====================================================================== */
.ys-hero {
  position: relative; overflow: hidden;
  background: var(--ys-bg);
  padding: 120px 20px 80px;
  text-align: center; border-bottom: 1px solid var(--ys-border);
}
.ys-hero::before {
  content: '';
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.07) 0%, rgba(16,185,129,.04) 50%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.ys-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 0 4px; }

.ys-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ecfdf5; color: #047857; padding: 8px 18px;
  border-radius: 50px; font-size: .85rem; font-weight: 600;
  margin-bottom: 24px; letter-spacing: -.01em;
}
.ys-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ys-accent2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.7;transform:scale(1.1);} }

.ys-hero-title {
  font-size: 3rem; font-weight: 800; line-height: 1.08;
  letter-spacing: -.03em; color: var(--ys-bg-dark); margin: 0 0 20px; word-break: keep-all;
}
.ys-hero-title .line { display: block; }

.ys-hero-sub { font-size: 1.2rem; color: var(--ys-text-mid); line-height: 1.65; max-width: 540px; margin: 0 auto 32px; font-weight: 400; }

.ys-hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

.ys-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 32px; border-radius: var(--ys-radius-sm);
  font-size: 1rem; font-weight: 600; line-height: 1;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  cursor: pointer; border: none; text-decoration: none !important; white-space: nowrap;
}
.ys-btn-primary { background: var(--ys-bg-dark); color: #fff; box-shadow: 0 4px 14px rgba(15,23,42,.25); }
.ys-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,23,42,.35); background: #1e293b; }

.ys-btn-ghost { background: transparent; color: var(--ys-text); border: 1.5px solid var(--ys-border); }
.ys-btn-ghost:hover { border-color: var(--ys-text-mid); transform: translateY(-1px); }

.ys-hero-trust { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: center; align-items: center; }
.ys-hero-trust span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--ys-text-mid); font-weight: 500; }
.ys-hero-trust svg { color: var(--ys-text-mid); opacity: .8; }

/* ======================================================================
   SECTIONS
   ====================================================================== */
.ys-section { padding: 100px 20px; }
.ys-container { max-width: 1100px; margin: 0 auto; }
.ys-section-title { text-align: center; font-size: 1.8rem; font-weight: 700; color: var(--ys-bg-dark); letter-spacing: -.02em; margin: 0 0 8px; }
.ys-section-sub { text-align: center; font-size: 1.05rem; color: var(--ys-text-mid); margin: 0 auto 40px; max-width: 480px; line-height: 1.5; }
.ys-section-alt { background: var(--ys-bg-soft); border-top: 1px solid var(--ys-border); }
.ys-center { text-align: center; margin-top: 32px; }

/* ======================================================================
   PRODUCTS
   ====================================================================== */
.woocommerce .products, .wc-block-grid__products, ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  max-width: 1100px !important; margin: 0 auto !important;
  padding: 0 !important; list-style: none !important;
}
.woocommerce .products li, ul.products li, .wc-block-grid__product {
  width: 100% !important; max-width: 100% !important; margin: 0 !important; float: none !important;
  background: #fff; border: 1px solid var(--ys-border); border-radius: var(--ys-radius-sm);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.woocommerce .products li:hover, ul.products li:hover, .wc-block-grid__product:hover {
  transform: translateY(-4px); box-shadow: var(--ys-shadow-md);
}
.woocommerce .products li img, .wc-block-grid__product-image img {
  width: 100% !important; height: 240px !important; object-fit: cover !important; display: block !important;
}
.wc-block-grid__product-title { font-size: .95rem !important; font-weight: 600 !important; color: var(--ys-text) !important; padding: 16px 16px 4px !important; }
.wc-block-grid__product-title a { color: var(--ys-text) !important; text-decoration: none !important; }
.wc-block-grid__product-price { color: var(--ys-accent) !important; font-weight: 700 !important; padding: 0 16px 8px !important; }
.wc-block-grid__product-price del { color: var(--ys-text-soft) !important; font-weight: 500 !important; font-size: .85em; }
.wc-block-grid__product-price ins { text-decoration: none; }
.wc-block-grid__product-add-to-cart, .add_to_cart_button, .woocommerce a.add_to_cart_button {
  background: var(--ys-bg-soft) !important; color: var(--ys-bg-dark) !important;
  border: 1px solid var(--ys-border) !important; border-radius: 8px !important;
  padding: 10px 16px !important; font-weight: 600 !important; font-size: .85rem !important;
  text-transform: none !important; letter-spacing: 0 !important;
  transition: all .2s ease !important; text-decoration: none !important;
}
.wc-block-grid__product-add-to-cart:hover, .add_to_cart_button:hover {
  background: var(--ys-bg-dark) !important; color: #fff !important; border-color: var(--ys-bg-dark) !important;
}

.ys-link-arrow { color: var(--ys-bg-dark); font-weight: 600; font-size: 1rem; display: inline-flex; align-items: center; gap: 4px; transition: gap .2s ease; text-decoration: none !important; }
.ys-link-arrow:hover { gap: 8px; }

/* ======================================================================
   COMMUNITY CARDS
   ====================================================================== */
.ys-cards { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.ys-card {
  flex: 1; min-width: 240px; max-width: 320px;
  background: #fff; border: 1px solid var(--ys-border); border-radius: var(--ys-radius-sm);
  padding: 28px; text-align: left;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ys-card:hover { transform: translateY(-4px); box-shadow: var(--ys-shadow-md); }
.ys-card-icon {
  font-size: 28px; line-height: 1.2; margin-bottom: 12px;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: #f1f5f9; border-radius: var(--ys-radius-sm);
}
.ys-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--ys-bg-dark); margin-bottom: 8px; }
.ys-card p { font-size: .95rem; color: var(--ys-text-mid); line-height: 1.6; margin: 0; }

/* ======================================================================
   FAQ
   ====================================================================== */
.ys-faq-list { max-width: 760px; margin: 0 auto; }
.ys-faq-item { padding: 22px 0; border-bottom: 1px solid var(--ys-border); }
.ys-faq-item:last-child { border-bottom: none; }
.ys-faq-item h3 { font-size: 1.05rem; font-weight: 600; color: var(--ys-bg-dark); margin-bottom: 6px; cursor: pointer; }
.ys-faq-item p { font-size: .95rem; color: var(--ys-text-mid); line-height: 1.65; margin: 0; }

/* ======================================================================
   FINAL CTA
   ====================================================================== */
.ys-final-cta { background: var(--ys-bg-dark); padding: 100px 20px; text-align: center; }
.ys-final-cta h2 { color: #fff; font-size: 2rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -.02em; }
.ys-final-cta p { color: var(--ys-text-soft); font-size: 1.1rem; margin-bottom: 28px; }
.ys-final-cta a {
  display: inline-block; background: #fff; color: var(--ys-bg-dark); padding: 16px 36px;
  border-radius: var(--ys-radius-sm); font-weight: 600; font-size: 1rem;
  text-decoration: none !important; transition: all .2s ease; box-shadow: var(--ys-shadow);
}
.ys-final-cta a:hover { transform: translateY(-2px); box-shadow: var(--ys-shadow-md); }

/* ======================================================================
   ARTICLE GRID
   ====================================================================== */
.ys-article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ys-article-card {
  background: #fff; border: 1px solid var(--ys-border); border-radius: var(--ys-radius-sm);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column;
}
.ys-article-card:hover { transform: translateY(-4px); box-shadow: var(--ys-shadow-md); }
.ys-article-thumb { display: block; overflow: hidden; }
.ys-article-thumb img { width: 100%; height: 185px; object-fit: cover; transition: transform .4s ease; }
.ys-article-card:hover .ys-article-thumb img { transform: scale(1.04); }
.ys-article-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.ys-article-body h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin: 0 0 6px; }
.ys-article-body h3 a { color: var(--ys-bg-dark); text-decoration: none !important; }
.ys-article-body h3 a:hover { opacity: .75; }
.ys-article-date { font-size: .8rem; color: var(--ys-text-soft); margin: 0 0 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.ys-article-excerpt { font-size: .9rem; color: var(--ys-text-mid); line-height: 1.6; margin: 0 0 14px; flex: 1; }
.ys-article-link { font-weight: 600; font-size: .9rem; color: var(--ys-bg-dark); position: relative; display: inline-block; }
.ys-article-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px; background: var(--ys-bg-dark); transition: width .3s ease; }
.ys-article-link:hover::after { width: 100%; }

/* ======================================================================
   NAVIGATION
   ====================================================================== */
.wp-block-site-title a { font-weight: 800 !important; font-size: 1.35rem !important; letter-spacing: -.02em; color: var(--ys-bg-dark) !important; text-decoration: none !important; }
.wp-block-navigation-item a { font-weight: 500 !important; font-size: .9rem !important; color: var(--ys-text-mid) !important; text-decoration: none !important; }
.wp-block-navigation-item a:hover { color: var(--ys-bg-dark) !important; }

/* ======================================================================
   FOOTER
   ====================================================================== */
.site-footer { background: var(--ys-bg-dark) !important; color: var(--ys-text-soft) !important; font-size: .9rem; }
.site-footer a { color: var(--ys-text-soft) !important; text-decoration: none !important; }
.site-footer a:hover { color: #fff !important; text-decoration: none !important; }

/* ========================================================================
   RESPONSIVE — Tablet / Mobile (≤ 768px)
   ======================================================================== */
@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; }
  
  .ys-hero { padding: 72px 14px 52px; }
  .ys-hero-title { font-size: 1.85rem; line-height: 1.12; letter-spacing: -.02em; }
  .ys-hero-sub { font-size: 1rem; max-width: 100%; }
  .ys-hero-trust { gap: 10px 20px; }
  .ys-hero-trust span { font-size: .72rem; }

  .ys-hero-ctas { flex-direction: column; gap: 10px; }
  .ys-hero-ctas .ys-btn { width: 100%; max-width: 340px; margin: 0 auto; padding: 14px 20px; }

  .ys-section { padding: 60px 14px; }
  .ys-section-title { font-size: 1.55rem; }
  .ys-section-sub { font-size: .95rem; }

  /* Products: 2 columns on tablet */
  .woocommerce .products, .wc-block-grid__products, ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; padding: 0 !important;
  }
  .woocommerce .products li, ul.products li, .wc-block-grid__product { max-width: 100%; margin: 0 !important; min-width: 0 !important; }
  .woocommerce .products li img, .wc-block-grid__product-image img { height: 200px !important; }

  .ys-cards { flex-direction: column; align-items: center; gap: 16px; }
  .ys-card { max-width: 100%; width: 100%; min-width: auto; flex: none; padding: 22px; }

  .ys-faq-item { padding: 16px 0; }
  .ys-faq-item h3 { font-size: .98rem; }
  .ys-faq-item p { font-size: .9rem; }

  .ys-final-cta { padding: 64px 14px; }
  .ys-final-cta h2 { font-size: 1.55rem; }
  .ys-final-cta p { font-size: .98rem; margin-bottom: 22px; }
  .ys-final-cta a { width: 100%; max-width: 340px; display: block; margin: 0 auto; padding: 14px 20px; }

  .ys-article-grid { grid-template-columns: 1fr; gap: 20px; }
  .ys-article-thumb img { height: 200px; }
}

/* ========================================================================
   Extra small phones (≤ 480px)
   ======================================================================== */
@media (max-width: 480px) {
  .ys-hero { padding: 56px 12px 42px; }
  .ys-hero-title { font-size: 1.55rem; }
  .ys-hero-sub { font-size: .92rem; }
  .ys-hero-badge { font-size: .72rem; padding: 6px 14px; }
  
  .ys-section { padding: 48px 12px; }
  .ys-section-title { font-size: 1.35rem; }
  .ys-section-sub { font-size: .9rem; }

  .woocommerce .products, .wc-block-grid__products, ul.products {
    grid-template-columns: 1fr !important; gap: 16px !important;
  }
  .woocommerce .products li img, .wc-block-grid__product-image img { height: 220px !important; }

  .ys-card { padding: 20px 16px; }
  .ys-card h3 { font-size: 1rem; }
  
  .ys-final-cta { padding: 52px 12px; }
  .ys-final-cta h2 { font-size: 1.3rem; }
  .ys-final-cta p { font-size: .9rem; }
  .ys-final-cta a { width: 100%; max-width: none; }
}

/* ========================================================================
   LEGACY FIXES
   ======================================================================== */
.wp-block-button__link { background: #2563eb !important; color: #fff !important; border-radius: 10px !important; font-weight: 600 !important; padding: 14px 32px !important; border: none !important; }
.section-heading { text-align: center; font-size: 2rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.section-subheading { text-align: center; color: #64748b; font-size: 1.05rem; max-width: 500px; margin: 0 auto 40px; }
.trust-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; padding: 20px; }
.hero-badge { background: #ecfdf5; color: #059669; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; display: inline-block; }

/* Blog grid for blog pages */
body.blog .wp-block-post-template.is-layout-flow,
.wp-block-query .wp-block-post-template.is-layout-flow { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 24px !important; width: 100% !important; max-width: none !important; }
body.blog .wp-block-post-template.is-layout-flow li,
.wp-block-query .wp-block-post-template.is-layout-flow li { width: 100% !important; margin: 0 !important; max-width: none !important; }
body.blog .wp-block-query.is-layout-constrained,
.wp-block-query.is-layout-constrained { max-width: 1200px !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important; }

@media (max-width: 768px) {
  body.blog .wp-block-post-template.is-layout-flow,
  .wp-block-query .wp-block-post-template.is-layout-flow { grid-template-columns: 1fr !important; }
}


/* ======================================================================
   PRODUCT GRID — High Specificity Overrides for Woo shortcode
   ====================================================================== */
body.woocommerce-js .woocommerce ul.products,
body.home .woocommerce ul.products,
.woocommerce-page ul.products[class*="products"],
ul.products[class*="products"] {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    clear: both !important;
}
body.woocommerce-js .woocommerce ul.products li.product,
body.woocommerce-js .woocommerce ul.products li,
.woocommerce-page ul.products[class*="products"] li,
ul.products[class*="products"] li {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    flex: none !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: transform .25s ease, box-shadow .25s ease;
}
@media (max-width: 991px) {
    body.woocommerce-js .woocommerce ul.products,
    body.home .woocommerce ul.products,
    .woocommerce-page ul.products[class*="products"],
    ul.products[class*="products"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}
@media (max-width: 480px) {
    body.woocommerce-js .woocommerce ul.products,
    body.home .woocommerce ul.products,
    .woocommerce-page ul.products[class*="products"],
    ul.products[class*="products"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}


/* ======================================================================
   PRODUCT GRID — Custom Grid (replaced Woo shortcode)
   ====================================================================== */
.ys-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.ys-product-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.ys-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
}
.ys-product-card a {
  text-decoration: none !important;
  color: inherit;
  display: block;
}
.ys-product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.ys-product-card h3 {
  font-size: .95rem;
  font-weight: 600;
  color: #0f172a;
  padding: 14px 14px 4px;
  margin: 0;
}
.ys-product-price {
  color: #2563eb;
  font-weight: 700;
  padding: 0 14px 14px;
  font-size: .95rem;
}
.ys-product-price del {
  color: #94a3b8;
  font-weight: 500;
  font-size: .85em;
}
.ys-product-price ins {
  text-decoration: none;
}
.ys-btn-add-cart {
  display: block;
  text-align: center;
  background: #f1f5f9;
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  padding: 10px 14px;
  font-weight: 600;
  font-size: .85rem;
  text-decoration: none !important;
  transition: all .2s ease;
  margin-top: auto;
}
.ys-btn-add-cart:hover {
  background: #0f172a;
  color: #fff;
}
/* ---- RESPONSIVE: 1 column on mobile ---- */
@media (max-width: 991px) {
  .ys-product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 768px) {
  .ys-product-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
  }
  .ys-product-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin: 0 !important;
  }
  .ys-product-card img {
    height: 220px !important;
  }
}

@media (max-width: 480px) {
  .ys-product-card img {
    height: 200px !important;
  }
}

/* ========================================================================
   MOBILE FIX: Force article + product + cards to single column
   ======================================================================== */
@media (max-width: 768px) {
  .ys-article-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .ys-article-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
  }
  .ys-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

/* ---- COMMUNITY CARDS MOBILE FIX ---- */
@media (max-width: 768px) {
  .ys-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    align-items: stretch !important;
  }
}
/** Sticky Shop Now Bar - Fixed at top of page, appears on scroll */
#ys-shop-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0f172a;
    color: #fff;
    z-index: 99999;
    transform: translateY(-100%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid #1e293b;
    font-family: Inter, system-ui, -apple-system, sans-serif;
}

#ys-shop-bar.visible {
    transform: translateY(0);
}

.ys-shop-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 44px;
    position: relative;
}

.ys-shop-bar-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.ys-shop-bar-text strong {
    color: #34d399;
    font-weight: 700;
}

.ys-shop-bar-mobile {
    display: none;
}

.ys-shop-bar-desktop {
    display: inline;
}

.ys-shop-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #34d399;
    color: #0f172a;
    padding: 7px 18px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.ys-shop-bar-btn:hover {
    background: #10b981;
    color: #0f172a;
    transform: translateY(-1px);
}

#ys-shop-bar-close {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    margin-left: 8px;
    transition: color 0.2s;
}

#ys-shop-bar-close:hover {
    color: #fff;
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
    .ys-shop-bar-inner {
        gap: 10px;
        padding: 0 12px;
        min-height: 40px;
    }
    
    .ys-shop-bar-text {
        font-size: 0.82rem;
    }
    
    .ys-shop-bar-desktop {
        display: none;
    }
    
    .ys-shop-bar-mobile {
        display: inline;
    }
    
    .ys-shop-bar-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    #ys-shop-bar-close {
        font-size: 1.2rem;
    }
}

/* ---- When bar is visible, add body padding to avoid content jump ---- */
body.ys-shop-bar-active {
    padding-top: 44px;
}

@media (max-width: 768px) {
    body.ys-shop-bar-active {
        padding-top: 40px;
    }
}

/* ==== SOCIAL PROOF QUOTE STYLING ==== */
.ys-hero-proof,
.ys-hero-inner .ys-hero-proof,
#hero-proof-quote,
p[class*="hero-proof"],
p.ys-hero-proof {
  color: #d97706 !important;
  font-style: italic;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 auto 16px;
  max-width: 520px;
}

/* Also target direct text nodes in hero */
.ys-hero-inner p {
  color: #334155 !important;
}
.ys-hero-inner p:nth-of-type(2) {
  color: #d97706 !important;
  font-style: italic;
  font-weight: 500;
}

/* ==== BLOG THUMBNAIL VISIBILITY FIX ==== */
.ys-article-thumb img,
.ys-article-card img,
.ys-section--articles img,
article.ys-article-card img,
a.ys-article-thumb img {
  display: block !important;
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  border-radius: 8px 8px 0 0 !important;
  background: #e2e8f0 !important;
}

.ys-article-thumb {
  display: block !important;
  overflow: hidden !important;
  background: #e2e8f0 !important;
  border-radius: 8px 8px 0 0 !important;
}

/* Fallback background for articles without image */
.ys-article-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

/* If article has NO thumbnail, add a placeholder */
.ys-article-card:not(:has(.ys-article-thumb))::before {
  content: '';
  display: block;
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
  border-bottom: 1px solid #e2e8f0;
}

/* ==== SHARKS PREMIUM PRODUCT CARD FIX ==== */
/* If a product card has no image, give it a colored placeholder */
.ys-product-card a img[src=""] + *,
.ys-product-card a:not(:has(img)) {
  display: block;
}
.ys-product-card:has(a:not(:has(img)))::before,
.ys-product-card a:not(:has(img))::before {
  content: '';
  display: block;
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #0f172a, #1e40af);
  border-radius: 8px;
}

/* Make sure all product cards have consistent image area */
.ys-product-card img {
  display: block !important;
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  background: #e2e8f0 !important;
}

/* ==== FIX FOR DUPLICATE PRODUCT TITLE IN ACCESSIBILITY TREE ==== */
.ys-product-card a h3 {
  pointer-events: none;
}


/* === SOCIAL PROOF QUOTE VISIBLE === */
.ys-hero-inner p.ys-hero-sub + p,
.ys-hero-inner p:nth-of-type(1):not(.ys-hero-sub):not([class]) {
  color: #d97706 !important;
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  margin: 8px auto 20px;
}

/* Target the testimonial specifically - it contains "€1.247" */
p:contains("€1.247"),
p:contains("Tim B."),
p:contains("90 dagen") {
  color: #d97706 !important;
  font-style: italic !important;
}

/* === SHARKS PREMIUM PLACEHOLDER === */
.ys-product-card:first-child a:not(:has(img))::before,
.ys-product-card:first-child a img[src=""],
.ys-product-card:first-child img:not([src]) {
  content: '';
  display: block;
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #0f172a, #1e40af);
  border-radius: 8px 8px 0 0;
}

/* Make the first card have consistent height */
.ys-product-card:first-child {
  min-height: 280px;
}

/* === BLOG THUMBNAILS ALWAYS VISIBLE === */
.ys-article-thumb,
.ys-article-card img,
.ys-section--articles img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
