/* Shop Mẹ Và Bé public storefront palette */
body.shop-header-enabled,
body.shop-phone-site {
  --shop-sun-paper: #fcf8ef;
  --shop-sun-surface: #fffdf8;
  --shop-sun-ink: #3f2c20;
  --shop-sun-muted: #665745;
  --shop-sun-line: #eadfce;
  --shop-sun-olive: #4c542d;
  --shop-sun-olive-tint: #eff0e2;
  --shop-sun-apricot: #f6d6b3;
  --shop-sun-apricot-hover: #f1c89e;
  --shop-sun-apricot-line: #c98d68;
  --shop-sun-price: #8b432c;
  background-color: var(--shop-sun-paper);
  color: var(--shop-sun-ink);
}

.shop-header-enabled #wapper,
.shop-phone-site #wapper {
  background-color: var(--shop-sun-paper);
  background-image: radial-gradient(ellipse 75% 560px at 3% 0,
    #ffebbe 0%, #fff2d7 35%, rgba(255, 246, 227, .48) 66%, transparent 100%);
}

.shop-header-enabled .shop-desktop-header,
.shop-phone-site .shop-phone-header {
  color: var(--shop-sun-ink);
  background-color: #fffaf0;
  background-image: radial-gradient(ellipse 76% 175% at 5% -25%,
    #ffe8ad 0%, #fff1d2 38%, #fff7e8 66%, rgba(255, 250, 240, 0) 100%);
  border-color: var(--shop-sun-line);
  box-shadow: 0 3px 12px rgba(85, 59, 35, .07);
}

.shop-desktop-header .shop-header__utility {
  background: rgba(255, 251, 241, .53);
  border-color: var(--shop-sun-line);
  color: var(--shop-sun-muted);
}

.shop-desktop-header .shop-header__brand-row,
.shop-desktop-header .shop-header__nav,
.shop-phone-header .shop-phone-header__brand,
.shop-phone-header .shop-phone-header__search-wrap {
  background-color: transparent;
  border-color: var(--shop-sun-line);
}

.shop-desktop-header .shop-header__keyword,
.shop-phone-header .shop-phone-header__search input {
  background-color: rgba(255, 253, 248, .9);
  border-color: #dccaac;
  color: var(--shop-sun-ink);
}

.shop-desktop-header .shop-header__search button,
.shop-phone-header .shop-phone-header__search button {
  background: var(--shop-sun-olive);
  border-color: var(--shop-sun-olive);
  color: #fffdf8;
}

.shop-desktop-header .shop-header__cart,
.shop-phone-header .shop-phone-header__cart {
  background: var(--shop-sun-olive-tint);
  border-color: #d7dbc2;
  color: var(--shop-sun-olive);
}

.shop-desktop-header .shop-header__category-link,
.shop-desktop-header .shop-header__address,
.shop-desktop-header .shop-header__phone {
  color: var(--shop-sun-ink);
}

.shop-desktop-header .shop-header__category-link:hover,
.shop-desktop-header .shop-header__category-link:focus-visible,
.shop-desktop-header .shop-header__category-link[aria-current="page"] {
  color: var(--shop-sun-olive);
  background: var(--shop-sun-olive-tint);
}

.shop-header-enabled .shop-home-category,
.shop-phone-site .shop-mobile-categories {
  background-color: var(--shop-sun-surface);
  border-color: var(--shop-sun-line);
}

.shop-header-enabled .shop-home-category h2,
.shop-phone-site .shop-mobile-categories__header,
.shop-header-enabled .shop-home-category__all {
  color: var(--shop-sun-olive);
}

.shop-header-enabled .item-sp.shop-priced-card,
.shop-phone-site .item-sp.shop-priced-card,
.shop-phone-site .shop-priced-card {
  background-color: var(--shop-sun-surface);
  border-color: var(--shop-sun-line);
}

body.shop-header-enabled .shop-card-price,
body.shop-phone-site .shop-card-price {
  color: var(--shop-sun-price);
}

body.shop-header-enabled .shop-card-cart,
body.shop-phone-site .shop-card-cart,
body.shop-header-enabled .shop-detail-buy-actions .dathang,
body.shop-phone-site .shop-detail-buy-actions .dathang {
  background: var(--shop-sun-apricot);
  border-color: var(--shop-sun-apricot-line);
  color: var(--shop-sun-ink);
}

body.shop-header-enabled .shop-detail-buy-actions .add_to_cart,
body.shop-phone-site .shop-detail-buy-actions .add_to_cart {
  background: var(--shop-sun-surface);
  border-color: var(--shop-sun-apricot-line);
  color: var(--shop-sun-ink);
}

body.shop-header-enabled .shop-card-cart:hover,
body.shop-phone-site .shop-card-cart:hover,
body.shop-header-enabled .shop-detail-buy-actions :is(.dathang, .add_to_cart):hover,
body.shop-phone-site .shop-detail-buy-actions :is(.dathang, .add_to_cart):hover {
  background: var(--shop-sun-apricot-hover);
  color: var(--shop-sun-ink);
}

.shop-desktop-header :is(a, button, input):focus-visible,
.shop-phone-header :is(a, button, input):focus-visible,
.shop-card-cart:focus-visible,
.shop-detail-buy-actions :is(a, button):focus-visible {
  outline: 2px solid var(--shop-sun-olive);
  outline-offset: 2px;
}

.shop-header-enabled #shop-home-intro,
.shop-header-enabled .shop-footer-frame,
.shop-header-enabled .shop-footer-frame #footer,
.shop-phone-site .shop-phone-footer {
  background-color: #fffaf1;
  border-color: var(--shop-sun-line);
}

.shop-header-enabled .shop-footer-frame #copy {
  color: var(--shop-sun-muted);
  background-color: #f8efdf;
  border-color: var(--shop-sun-line);
}

@media (max-width: 640px) {
  .shop-phone-site .shop-phone-header {
    background-image: radial-gradient(ellipse 100% 150% at 1% -24%,
      #ffe9b2 0%, #fff1d3 40%, #fff8eb 69%, rgba(255, 250, 240, 0) 100%);
  }
}

#main_content .shop-home-category .shop-home-category__products > .block-sp > .item-sp {
  background-color: var(--shop-sun-surface);
  border-color: var(--shop-sun-line);
}

.shop-detail-main .product_info .shop-detail-buy-actions > .dathang {
  background: var(--shop-sun-apricot);
  border-color: var(--shop-sun-apricot-line);
  color: var(--shop-sun-ink);
}

.shop-detail-main .product_info .shop-detail-buy-actions > .add_to_cart {
  background: var(--shop-sun-surface);
  border-color: var(--shop-sun-apricot-line);
  color: var(--shop-sun-ink);
}

.shop-detail-main .product_info .shop-detail-buy-actions > :is(.dathang, .add_to_cart):hover {
  background: var(--shop-sun-apricot-hover);
  color: var(--shop-sun-ink);
}


.shop-phone-site .shop-phone-buy-actions > .dathang {
  background: var(--shop-sun-apricot);
  border-color: var(--shop-sun-apricot-line);
  color: var(--shop-sun-ink);
}

.shop-phone-site .shop-phone-buy-actions > .cart_popup {
  background: var(--shop-sun-surface);
  border-color: var(--shop-sun-apricot-line);
  color: var(--shop-sun-ink);
}

.shop-phone-site .shop-phone-buy-actions > :is(.dathang, .cart_popup):focus-visible {
  outline: 2px solid var(--shop-sun-olive);
  outline-offset: 2px;
}

/* Approved storefront logo on a transparent background. */
.shop-desktop-header .shop-header__brand-row {
  grid-template-columns: clamp(190px, 22vw, 270px) minmax(180px, 1fr) auto;
}
.shop-desktop-header .shop-header__logo {
  width: clamp(190px, 22vw, 270px);
}
.shop-phone-header .shop-phone-header__logo {
  width: min(54vw, 210px);
  max-width: none;
}
.shop-desktop-header .shop-header__logo img.shop-approved-logo,
.shop-phone-header .shop-phone-header__logo img.shop-approved-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Homepage commitments and warm product accents. */
#slider .shop-home-showcase .shop-home-benefits svg {
  color: #a94a2a;
}

#slider .shop-home-showcase .shop-home-benefits :is(span, a) {
  color: #5c4e3c;
  font-weight: 500;
}

#slider .shop-home-showcase .shop-home-benefits .shop-home-benefits__zalo {
  text-underline-offset: 3px;
}

#main_content .shop-home-category__bar {
  border-bottom-color: var(--shop-sun-line);
}

#main_content .shop-home-category__tabs > button[aria-selected="true"] {
  background: #a94a2a;
  color: #fff;
  border-color: #a94a2a;
  border-radius: 8px;
}

:is(.shop-header-enabled, .shop-phone-site) .shop-card-image .shop-card-discount {
  background: #faf0e6;
  color: #a94a2a;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(169, 74, 42, .25);
}
/* Chân trang — nền kem ánh nắng và cam đất. */
#wapper .shop-footer-frame {
    --shop-frame-accent: #a94a2a;
    --shop-frame-line: #eae0d5;
    --shop-frame-muted: #665745;
    color: #4c4324;
    background: radial-gradient(ellipse at 14% 35%, rgba(221, 160, 54, .09), transparent 49%),
                linear-gradient(180deg, #fdf9f3 0%, #faf3e8 70%, #f7ecdc 100%);
    box-shadow: 0 3px 16px rgba(76, 67, 36, .05);
}

body #wapper .shop-footer-frame > #footer,
body #wapper .shop-footer-frame > #copy {
    background: transparent !important;
}
#wapper .shop-footer-frame > #footer {
    color: #4c4324;
}
#wapper .shop-footer-frame #footer :is(h2, h3, h4, .shop-phone-footer__fold > summary) {
    color: var(--shop-frame-accent) !important;
    border-color: var(--shop-frame-line);
}
#wapper .shop-footer-frame #footer :is(p, li, a, dt, dd) {
    color: #4c4324;
}
#wapper .shop-footer-frame #footer a:hover {
    color: var(--shop-frame-accent);
}
#wapper .shop-footer-frame #footer :is(.shop-desktop-footer__subsection, .shop-phone-footer__section, .shop-phone-footer__fold) {
    border-color: var(--shop-frame-line);
}
#wapper .shop-footer-frame #footer :is(.shop-phone-footer__action, .shop-desktop-footer__action),
#wapper .shop-footer-frame #footer button[type="submit"] {
    background: var(--shop-frame-accent);
    color: #fff !important;
    border-color: var(--shop-frame-accent);
    border-radius: 8px;
}
#wapper .shop-footer-frame #footer :is(.shop-phone-footer__action, .shop-desktop-footer__action, button[type="submit"]):hover {
    background: #87391f;
    border-color: #87391f;
}
#wapper .shop-footer-frame #footer :is(a, button):focus-visible {
    outline: 2px solid var(--shop-frame-accent);
    outline-offset: 3px;
}
#wapper .shop-footer-frame #footer :is(.shop-desktop-footer__logo, .shop-phone-footer__logo) img {
    display: block;
    width: min(100%, 284px);
    height: auto;
    max-height: none;
    border: 0;
    background: transparent;
    box-shadow: none;
}
#wapper .shop-footer-frame #footer .shop-phone-footer__logo img {
    width: min(100%, 250px);
}

/* Phần giới thiệu thu gọn trên trang chủ và danh mục Bé ngủ. */
#shop-home-intro .shop-content-fold > summary,
.shop-category-intro-fold > summary {
    display: list-item;
    cursor: pointer;
    color: #4c4324;
    font-weight: 600;
    line-height: 1.5;
}
#shop-home-intro .shop-content-fold > summary::marker,
.shop-category-intro-fold > summary::marker {
    color: #a94a2a;
}
#shop-home-intro .shop-content-fold > summary:focus-visible,
.shop-category-intro-fold > summary:focus-visible {
    outline: 2px solid #a94a2a;
    outline-offset: 4px;
    border-radius: 4px;
}
#shop-home-intro-title {
    display: inline;
    font-size: 1rem;
}
#shop-home-intro .shop-content-fold[open] > summary {
    margin-bottom: 12px;
}
.shop-category-intro-fold {
    margin: 16px 0;
    padding: 12px 16px;
    background: #fdf9f3;
    border: 1px solid #eae0d5;
    border-radius: 10px;
}
