/* Sunshine Jewels Brand System V8.0
   Warm Sri Lankan boutique identity layered over the existing luxury storefront.
   The logo sunset palette is used as an accent, not as a full-page theme. */
:root{
  --sj-sunset:#f05a2a;
  --sj-amber:#f39a1e;
  --sj-wine:#721f1a;
  --sj-wine-deep:#4e1512;
  --sj-copper:#b85b35;
  --sj-ink:#241714;
  --sj-muted:#76665e;
  --sj-ivory:#fff8f2;
  --sj-ivory-2:#f9eee6;
  --sj-line:#ead9cf;
  --sj-glow:0 18px 48px rgba(79,30,20,.13);
}
html{background:var(--sj-ivory)}
body{background:#fffdfb;color:var(--sj-ink)}
::selection{background:#f7c4aa;color:#3b120f}

/* Announcement + header */
.announcement{
  background:linear-gradient(90deg,var(--sj-wine-deep),#7b2119 52%,#5a160f)!important;
  color:#fff9f4!important;
  box-shadow:inset 0 -1px rgba(243,154,30,.48);
  letter-spacing:.045em!important;
}
.editorial-header{background:rgba(255,250,246,.975)!important;border-bottom:1px solid rgba(114,31,26,.10)!important}
.home-editorial .editorial-header{
  background:linear-gradient(to bottom,rgba(39,16,11,.70),rgba(39,16,11,.28) 62%,rgba(39,16,11,0))!important;
  border-bottom:0!important;
}
.home-editorial .editorial-header .editorial-nav,
.home-editorial .editorial-header .header-top{background:transparent!important}
.sj-brand-lockup{
  display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;
  line-height:1!important;letter-spacing:0!important;min-width:max-content;
}
.sj-brand-logo-mini{
  width:44px;height:44px;object-fit:cover;border-radius:11px;
  box-shadow:0 5px 18px rgba(46,15,9,.18);border:1px solid rgba(255,255,255,.26);
}
.sj-brand-lockup-text{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.header-top .sj-brand-lockup .brand-word{
  font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif!important;
  font-size:22px!important;font-weight:600!important;letter-spacing:.18em!important;line-height:.9!important;
}
.header-top .sj-brand-lockup small{
  font-family:"Jost",Arial,sans-serif!important;font-size:7px!important;font-weight:600!important;
  letter-spacing:.42em!important;margin:0!important;padding-left:2px;
}
.editorial-nav{font-family:"Jost",Arial,sans-serif!important;font-weight:500;color:#35231f}
.home-editorial .editorial-nav{color:#fff9f5}
.editorial-nav .nav-link:after{background:linear-gradient(90deg,var(--sj-sunset),var(--sj-amber))!important;height:2px!important;bottom:11px!important}
.icon-btn:hover{background:rgba(240,90,42,.10)!important}
.cart-count{background:var(--sj-wine)!important;color:#fff!important;box-shadow:0 0 0 2px rgba(255,248,242,.9)}
.mobile-nav{background:rgba(255,250,246,.99)!important;color:var(--sj-ink)!important}
.mobile-nav summary,.mobile-nav>a{border-color:var(--sj-line)!important}

/* Account/search surfaces */
.sj-account-menu{border-color:var(--sj-line)!important;box-shadow:var(--sj-glow)!important}
.sj-account-menu-copy span{color:var(--sj-copper)!important}
.sj-account-primary{background:var(--sj-wine)!important;border-color:var(--sj-wine)!important}
.sj-account-primary:hover{background:var(--sj-wine-deep)!important}
.sj-account-secondary:hover{border-color:var(--sj-sunset)!important;color:var(--sj-wine)!important}
.search-overlay form{border-bottom-color:var(--sj-wine)!important}
.search-overlay button{background:var(--sj-wine)!important}

/* Hero */
#sunshineHero .sj-hero-overlay{
  background:linear-gradient(90deg,rgba(45,14,10,.42),rgba(59,25,16,.18) 47%,rgba(28,10,6,.24))!important;
}
#sunshineHero .sj-hero-center>span{color:#fff3e8!important;letter-spacing:.20em!important;font-weight:600!important}
#sunshineHero .sj-hero-center h1{
  font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif!important;
  font-weight:600!important;letter-spacing:.055em!important;text-shadow:0 3px 24px rgba(36,10,6,.23);
}
#sunshineHero .sj-hero-center h1 em{font-family:"Cormorant Garamond",Georgia,serif!important;font-weight:500!important;letter-spacing:.01em!important}
#sunshineHero .sj-hero-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px!important}
#sunshineHero .sj-hero-actions a{
  min-width:190px!important;border:1px solid rgba(255,255,255,.78)!important;
  transition:transform .22s ease,background .22s ease,color .22s ease,border-color .22s ease!important;
}
#sunshineHero .sj-hero-actions a:first-child{background:var(--sj-wine)!important;color:#fff!important;border-color:var(--sj-wine)!important}
#sunshineHero .sj-hero-actions a:nth-child(2){background:#fffaf6!important;color:#3b1a14!important}
#sunshineHero .sj-hero-actions a.sj-hero-custom{background:rgba(38,13,8,.44)!important;color:#fff!important;backdrop-filter:blur(8px)}
#sunshineHero .sj-hero-actions a:hover{transform:translateY(-2px)!important;border-color:var(--sj-amber)!important}
.sj-video-shop{border-color:rgba(255,255,255,.72)!important}
.sj-video-shop:hover{background:var(--sj-sunset)!important;border-color:var(--sj-sunset)!important;color:#fff!important}
.sj-hero-dots button.active{background:var(--sj-amber)!important}

/* Compact signature strip below hero */
.sj-brand-signature{background:linear-gradient(115deg,#fffaf6,#fff3e9 58%,#fae7d9);border-bottom:1px solid var(--sj-line)}
.sj-brand-signature-inner{width:min(1180px,calc(100% - 48px));margin:auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px;padding:25px 0}
.sj-brand-signature-logo{width:82px;height:82px;border-radius:20px;object-fit:cover;box-shadow:0 12px 30px rgba(92,31,18,.16)}
.sj-brand-signature-copy>span{display:block;color:var(--sj-copper);font:600 9px/1.2 "Jost",sans-serif;letter-spacing:.24em;margin-bottom:4px}
.sj-brand-signature-copy strong{display:block;font:600 27px/1 "Cormorant Garamond",Georgia,serif;color:var(--sj-wine);letter-spacing:.03em}
.sj-brand-signature-copy p{margin:6px 0 0;color:#6e5a50;font-size:13px}
.sj-brand-signature-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 21px;border:1px solid var(--sj-wine);color:var(--sj-wine);font:600 9px/1 "Jost",sans-serif;letter-spacing:.16em;text-transform:uppercase;transition:.2s}
.sj-brand-signature-action:hover{background:var(--sj-wine);color:#fff}

/* Headings + section accents */
.lux-heading h2,.birth-intro h2,.story-editorial-copy h2,.custom-editorial-copy h2,.ugc-title h2,.page-hero h1{
  color:var(--sj-ink)!important;
}
.lux-heading h2,.birth-intro h2,.ugc-title h2{font-family:"Cormorant Garamond",Georgia,serif!important;font-weight:600!important;letter-spacing:.045em!important}
.lux-heading:after{content:"";display:block;width:44px;height:2px;margin:15px auto 0;background:linear-gradient(90deg,var(--sj-sunset),var(--sj-amber));border-radius:99px}
.product-tabs button.active{color:var(--sj-wine)!important;border-color:var(--sj-sunset)!important}
.editorial-badge{background:var(--sj-wine)!important;color:#fff8f2!important}
.editorial-badge.sale{background:linear-gradient(90deg,var(--sj-wine),#9a2b20)!important}
.editorial-price{color:#30201c!important}
.editorial-heart:hover,.editorial-quick:hover{color:var(--sj-wine)!important;border-color:var(--sj-sunset)!important}
.sj-home-metal-swatch.is-selected,.sj44-metal.is-selected,[aria-pressed="true"].sj-home-metal-swatch{outline-color:var(--sj-sunset)!important;box-shadow:0 0 0 2px #fff,0 0 0 3px var(--sj-sunset)!important}

/* Cards and branded content */
.three-category-grid>a,.moment-card,.promo-card,.theme-card,.gift-grid>a{box-shadow:0 12px 34px rgba(60,26,17,.07)}
.three-category-grid>a:hover,.gift-grid>a:hover{box-shadow:0 18px 42px rgba(83,30,16,.13)}
.zodiac-copy a,.center-action a,.story-editorial-copy>a,.custom-editorial-copy>a{border-color:var(--sj-wine)!important;color:var(--sj-wine)!important}
.zodiac-copy a:hover,.center-action a:hover,.story-editorial-copy>a:hover,.custom-editorial-copy>a:hover{background:var(--sj-wine)!important;color:#fff!important}
.story-editorial{background:linear-gradient(120deg,#fff8f2,#fffdfb)!important}
.story-editorial-copy small,.custom-editorial-copy small{color:var(--sj-copper)!important;font-weight:600!important;letter-spacing:.16em!important}
.sj-story-brand-logo{width:92px;height:92px;border-radius:22px;object-fit:cover;margin:0 0 20px;box-shadow:0 14px 36px rgba(90,31,18,.14)}
.custom-editorial-copy{background:#f8ede5!important}
.benefit-ticker{background:linear-gradient(90deg,var(--sj-wine-deep),var(--sj-wine),#5b170f)!important;color:#fff8f2!important;border-color:transparent!important}
.reassurance-grid b{color:var(--sj-sunset)!important}
.reassurance-grid>div{border-color:var(--sj-line)!important}

/* Generic buttons / chips / forms */
.btn:not(.outline){background:var(--sj-wine)!important;border-color:var(--sj-wine)!important;color:#fff!important}
.btn:not(.outline):hover{background:var(--sj-wine-deep)!important;border-color:var(--sj-wine-deep)!important}
.btn.outline:hover,.chip.active{border-color:var(--sj-sunset)!important;color:var(--sj-wine)!important;background:#fff5ef!important}
.field input:focus,.field select:focus,.field textarea:focus{outline:none!important;border-color:var(--sj-sunset)!important;box-shadow:0 0 0 3px rgba(240,90,42,.10)!important}

/* Footer */
.editorial-footer{background:#241613!important;color:#f5e9e1!important;border-top:0!important;padding-top:0!important}
.footer-gallery-band{height:5px!important;background:linear-gradient(90deg,#e52f2a,var(--sj-sunset),var(--sj-amber))!important}
.footer-editorial-grid{grid-template-columns:1.15fr 1.4fr .8fr .8fr!important;gap:54px!important;padding:58px 0 50px!important}
.footer-editorial-grid strong{color:#fff8f2!important}
.footer-editorial-grid p,.footer-editorial-grid a{color:#cdbbb0!important}
.footer-editorial-grid a:hover{color:#ffb178!important}
.sj-footer-brand-logo{width:118px;height:118px;object-fit:cover;border-radius:24px;box-shadow:0 16px 38px rgba(0,0,0,.22);margin-bottom:18px}
.sj-footer-brand-name{display:block!important;color:#fff8f2!important;font:600 25px/1 "Cormorant Garamond",Georgia,serif!important;letter-spacing:.04em;margin-bottom:8px!important}
.sj-footer-location{margin:0!important;color:#e2c7b7!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.16em}
.newsletter-block input{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important}
.newsletter-block input::placeholder{color:#bca89c}
.newsletter-block button{background:linear-gradient(90deg,var(--sj-sunset),#dd3e29)!important;color:#fff!important}
.social-row{color:#e6cab8!important}
.editorial-footer-bottom{border-top:1px solid rgba(255,255,255,.12)!important;padding-top:18px!important;color:#aa978c!important}
.payment-text{color:#cdbbb0!important}

/* Internal page polish */
.page-hero{background:linear-gradient(120deg,#fff8f2,#f8ebe1)!important;border-bottom:1px solid var(--sj-line)}
.page-hero .breadcrumb{color:#9a7462!important}
.catalog-toolbar select{border-color:var(--sj-line)!important}

@media(max-width:1200px){
  .footer-editorial-grid{grid-template-columns:1.1fr 1.2fr .8fr .8fr!important;gap:32px!important}
}
@media(max-width:900px){
  .sj-brand-lockup{gap:8px!important}
  .sj-brand-logo-mini{width:40px;height:40px;border-radius:10px}
  .header-top .sj-brand-lockup .brand-word{font-size:19px!important;letter-spacing:.15em!important}
  .header-top .sj-brand-lockup small{font-size:6px!important;letter-spacing:.35em!important}
  .sj-brand-signature-inner{grid-template-columns:auto 1fr;gap:16px;width:min(100% - 30px,1180px)}
  .sj-brand-signature-action{grid-column:1/-1;width:100%}
  .footer-editorial-grid{grid-template-columns:1fr 1fr!important}
  .sj-footer-brand,.newsletter-block{grid-column:auto!important}
}
@media(max-width:620px){
  .announcement{height:auto!important;min-height:30px!important;padding:7px 12px!important;font-size:8.5px!important;line-height:1.45!important}
  .header-top{height:68px!important}
  .sj-brand-logo-mini{width:36px;height:36px;border-radius:9px}
  .header-top .sj-brand-lockup .brand-word{font-size:16px!important;letter-spacing:.12em!important}
  .header-top .sj-brand-lockup small{font-size:5.5px!important;letter-spacing:.28em!important}
  .header-actions{gap:0!important}
  .header-actions .icon-btn{width:36px!important;height:36px!important}
  #sunshineHero .sj-hero-actions{width:min(92vw,350px);margin-inline:auto}
  #sunshineHero .sj-hero-actions a{width:100%;min-width:0!important}
  .sj-brand-signature-inner{padding:20px 0;grid-template-columns:68px 1fr}
  .sj-brand-signature-logo{width:68px;height:68px;border-radius:17px}
  .sj-brand-signature-copy strong{font-size:23px}
  .sj-brand-signature-copy p{font-size:11px;line-height:1.5}
  .footer-editorial-grid{grid-template-columns:1fr!important;gap:34px!important;padding:44px 0 38px!important}
  .sj-footer-brand,.newsletter-block{grid-column:1!important}
  .editorial-footer-bottom{grid-template-columns:1fr!important;gap:9px!important;text-align:left!important}
  .editorial-footer-bottom span:nth-child(2),.editorial-footer-bottom span:nth-child(3){text-align:left!important}
}

/* === SUNSHINE JEWELS V8.0.1 CTA CONTRAST FIX START === */
/*
   Fixes dark/red button labels on dark CTA backgrounds introduced by V8.0.
   Scope is intentionally limited to the homepage editorial CTA buttons shown
   in Guides, Story, Custom Jewelry and Zodiac/Birthstone sections.
*/
.home-editorial .zodiac-copy a,
.home-editorial .center-action a,
.home-editorial .story-editorial-copy > a,
.home-editorial .custom-editorial-copy > a {
    background: #141414 !important;
    color: #fff8f2 !important;
    border: 1px solid #141414 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    -webkit-text-fill-color: #fff8f2 !important;
    opacity: 1 !important;
}

.home-editorial .zodiac-copy a:visited,
.home-editorial .center-action a:visited,
.home-editorial .story-editorial-copy > a:visited,
.home-editorial .custom-editorial-copy > a:visited {
    color: #fff8f2 !important;
    -webkit-text-fill-color: #fff8f2 !important;
}

.home-editorial .zodiac-copy a:hover,
.home-editorial .zodiac-copy a:focus-visible,
.home-editorial .center-action a:hover,
.home-editorial .center-action a:focus-visible,
.home-editorial .story-editorial-copy > a:hover,
.home-editorial .story-editorial-copy > a:focus-visible,
.home-editorial .custom-editorial-copy > a:hover,
.home-editorial .custom-editorial-copy > a:focus-visible {
    background: linear-gradient(90deg, #721f1a, #9a2b20) !important;
    color: #ffffff !important;
    border-color: #721f1a !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(114,31,26,.18) !important;
}

/* Protect text nested in spans/icons from older button rules. */
.home-editorial .zodiac-copy a *,
.home-editorial .center-action a *,
.home-editorial .story-editorial-copy > a *,
.home-editorial .custom-editorial-copy > a * {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}

@media (max-width: 620px) {
    .home-editorial .zodiac-copy a,
    .home-editorial .center-action a,
    .home-editorial .story-editorial-copy > a,
    .home-editorial .custom-editorial-copy > a {
        color: #fff8f2 !important;
        -webkit-text-fill-color: #fff8f2 !important;
    }
}
/* === SUNSHINE JEWELS V8.0.1 CTA CONTRAST FIX END === */
