/* Bootstrap components adapted to the original Rawiks look. */
.rawiks-offcanvas {
  width: min(360px, 90vw) !important;
  color: #282421;
  border: 0;
}
.rawiks-offcanvas .offcanvas-header { padding: 25px 25px 0; }
.rawiks-offcanvas .offcanvas-body { padding: 22px 25px 25px; }
.rawiks-offcanvas .offcanvas-body > .button { display: flex; margin-top: 24px; }
.rawiks-offcanvas .offcanvas-body > .text-link { display: block; margin-top: 20px; }
.offcanvas-intro { font-size: 12px; color: #928171; margin-bottom: 20px; }
.rawiks-close { display: flex; padding: 8px; }
.offcanvas-backdrop.show { opacity: .35; }
.rawiks-accordion-item { border-bottom: 1px solid #e6e0da; }
.rawiks-accordion-item:last-child { border: 0; }
.rawiks-category-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 12px 0;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
}
.rawiks-category-trigger svg { transition: transform .2s; }
.rawiks-category-trigger[aria-expanded=true] svg { transform: rotate(180deg); }
.rawiks-category-links { padding-bottom: 16px; }
.rawiks-category-links a {
  display: block;
  font-size: 11px;
  color: #84786c;
  padding: 6px 0 6px 10px;
  border-left: 1px solid #e6e0da;
}
.rawiks-category-links a:hover { color: #722e41; background: #f7f3ee; }
.rawiks-category-links a.category-all-link { font-weight: 600; color: #722e41; }
.category-sheet .rawiks-category-trigger { font-size: 14px; }
.category-sheet .rawiks-category-links a { font-size: 13px; padding: 10px; }
.rawiks-filter-checkbox {
  margin: 0;
  border: 1px solid #d8cfc6;
  border-radius: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.rawiks-filter-checkbox:checked { background-color: #722e41; border-color: #722e41; }
.rawiks-filter-checkbox:focus { box-shadow: 0 0 0 3px #722e411a; }
select.sort-select {
  height: 38px;
  font-size: 11px;
  border: 1px solid #e6e0da;
  border-radius: 0;
  min-width: 190px;
  background: #fff;
  color: #443b35;
  padding: 8px 12px;
}
.catalog-empty {
  min-height: 350px;
  border: 1px solid #e6e0da;
  background: #faf8f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 25px;
  text-align: center;
}
.catalog-empty h2 { font: 400 24px Georgia, serif; }
.catalog-empty p { font-size: 12px; color: #83786f; line-height: 1.8; max-width: 390px; }
.saved-count { white-space: nowrap; }
.detail-shopping-error { color: #a92838; font-size: 12px; margin-top: 12px; }
.demo-message {
  padding: 12px 16px;
  border: 1px solid #e6e0da;
  background: #faf8f5;
  color: #83786f;
  font-size: 12px;
  line-height: 1.8;
  margin: 0 0 25px;
}
.admin-page .admin-record ul { list-style: disc; padding-left: 20px; }
.payment-panel .button { margin-top: 15px; }
@media(max-width:480px) {
  select.sort-select { min-width: 135px; max-width: 160px; font-size: 10px; }
}

/* Homepage additions — same Rawiks burgundy, warm neutrals and editorial type. */
.section-intro { max-width: 640px; margin: -5px 0 30px; color: #796b61; font-size: 13px; line-height: 1.9; }
.wardrobe-section { padding-bottom: 18px; }
.wardrobe-grid,.marketplace-grid,.trust-grid { --bs-gutter-x: 24px; --bs-gutter-y: 24px; }
.wardrobe-card { display: block; height: 100%; }
.wardrobe-image { position: relative; overflow: hidden; background: #f1e7dd; }
.wardrobe-image img { display: block; width: 100%; height: auto; aspect-ratio: 8/9; object-fit: cover; object-position: center 30%; transition: transform .4s ease; }
.wardrobe-card:hover img { transform: scale(1.025); }
.wardrobe-tag { position: absolute; top: 18px; left: 18px; background: #ffffffe6; padding: 8px 11px; font-size: 9px; letter-spacing: .11em; }
.wardrobe-image small { position: absolute; right: 13px; bottom: 13px; color: #655247; background: #ffffffb3; padding: 5px 8px; font-size: 9px; }
.wardrobe-copy { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; }
.wardrobe-copy h3 { font: 400 30px/1.2 Georgia,serif; letter-spacing: -.025em; margin: 0 0 7px; }
.wardrobe-copy p { font-size: 12px; color: #796b61; margin: 0; }
.wardrobe-copy>svg { color: #8e655d; flex-shrink: 0; }
.category-availability { display: block; padding-top: 12px; font-size: 10px; color: #722e41; }
.fashion-more { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 30px; margin-top: 30px; border-top: 1px solid #e6e0da; }
.fashion-more>span { color: #8e7b6c; font-size: 9px; letter-spacing: .14em; margin-right: 12px; }
.fashion-more>a { display: inline-flex; align-items: center; gap: 12px; border: 1px solid #e6e0da; padding: 11px 15px; font-size: 11px; }
.fashion-more>a:hover { background: #f7f3ee; border-color: #b99989; }
.fashion-more svg { width: 13px; height: 13px; }
.direct-offer { display: grid; grid-template-columns: .8fr 1.4fr 1fr; gap: 5%; align-items: center; margin: 65px 4% 0; padding: 50px 4%; color: #f9f2e8; background: #722e41; position: relative; overflow: hidden; scroll-margin-top: 160px; }
.direct-offer .eyebrow { color: #e6c4c1; margin-bottom: 17px; }
.direct-offer h2 { font: 400 clamp(30px,3.2vw,46px)/1.12 Georgia,serif; margin: 0 0 20px; letter-spacing: -.025em; }
.direct-offer h2 em { color: #e6c4c1; }
.direct-offer-copy>p:not(.eyebrow) { font-size: 12px; line-height: 1.9; color: #f0dedb; margin: 0 0 22px; }
.direct-offer-copy>small { display: block; font-size: 10px; line-height: 1.8; color: #e3c7c6; margin-top: 20px; }
.offer-shop { background: #f9f2e8; border: 1px solid #f9f2e8; color: #722e41; }
.offer-shop:hover { color: #722e41; background: #e8d9cb; border-color: #e8d9cb; }
.offer-stamp { text-align: center; position: relative; border: 1px solid #c69c98; border-radius: 50%; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 15px; max-width: 245px; width: 100%; }
.offer-stamp>span { font-size: 8px; letter-spacing: .17em; line-height: 1.5; }
.offer-stamp>strong { font: 400 clamp(56px,6vw,84px)/1.25 Georgia,serif; letter-spacing: -.06em; }
.offer-stamp>svg { position: absolute; right: 0; bottom: 0; width: 32px; height: 32px; color: #d9b495; }
.offer-price-example { border-top: 1px solid #bd9296; border-bottom: 1px solid #bd9296; padding: 24px 0; }
.offer-price-example>span { font-size: 8px; letter-spacing: .16em; }
.offer-price-example>div { display: flex; justify-content: space-between; gap: 18px; margin-top: 19px; font-size: 11px; }
.offer-price-example strong { white-space: nowrap; }
.example-saving { color: #e9cfc0; }
.offer-price-example .example-total { border-top: 1px solid #bd9296; padding-top: 18px; align-items: center; }
.example-total>strong { font: 400 29px Georgia,serif; }
.offer-price-example>p { font-size: 10px; color: #e3c7c6; margin: 18px 0 0; }
.marketplace-section { padding-bottom: 5px; scroll-margin-top: 160px; }
.marketplace-grid>div { display: flex; }
.marketplace-card { width: 100%; border: 1px solid #e6e0da; background: #fcfaf7; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; }
.marketplace-kicker { color: #83786f; font-size: 8px; letter-spacing: .13em; }
.marketplace-wordmark { margin: 32px 0 30px; font-size: 35px; line-height: 1; font-weight: 700; letter-spacing: -1.3px; }
.amazon-wordmark { position: relative; color: #252b33; }
.amazon-wordmark>span { position: absolute; color: #c97420; font-size: 56px; bottom: -29px; right: 9px; transform: rotate(-8deg); }
.myntra-wordmark { color: #ac344f; }
.myntra-wordmark>span { color: #ce874b; font-size: 24px; margin-left: 8px; }
.rawiks-wordmark { font-size: 43px; letter-spacing: -3px; }
.rawiks-wordmark>span { color: #722e41; }
.marketplace-card h3 { font: 400 23px/1.3 Georgia,serif; margin: 0 0 13px; }
.marketplace-card>p { color: #796b61; font-size: 12px; line-height: 1.9; margin: 0 0 25px; flex: 1; }
.marketplace-card>.button { width: 100%; justify-content: center; font-size: 11px; min-height: 46px; text-align: center; }
.marketplace-card>small { font-size: 9px; color: #796b61; line-height: 1.6; margin-top: 13px; }
.direct-card { background: #f0e4dc; border-color: #e0ccc0; }
.marketplace-pending { cursor: default; opacity: .65; }
.marketplace-pending:hover { color: inherit; background: transparent; }
.trust-section { padding-top: 15px; padding-bottom: 25px; }
.startup-intro { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 8%; padding: 40px 0; border-top: 1px solid #e6e0da; }
.startup-mark { aspect-ratio: 1.45; background: #f1e7dc; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 23px; border: 1px solid #e4d6c8; padding: 30px; }
.startup-mark>span { font-size: 8px; letter-spacing: .2em; color: #8b7260; text-align: center; }
.startup-mark>strong { font-size: clamp(50px,6vw,86px); line-height: 1; letter-spacing: -.08em; }
.startup-mark i { color: #722e41; font-style: normal; }
.startup-intro h2 { margin-bottom: 23px; }
.startup-intro p:not(.eyebrow) { color: #796b61; font-size: 13px; line-height: 1.9; max-width: 540px; margin: 0 0 22px; }
.trust-grid>div { display: flex; }
.trust-card { padding: 27px 22px; background: #faf8f5; border: 1px solid #e6e0da; width: 100%; display: flex; flex-direction: column; }
.trust-card>svg { color: #8e655d; margin-bottom: 23px; }
.trust-card h3 { font: 400 21px/1.25 Georgia,serif; margin: 0 0 13px; }
.trust-card p { font-size: 11px; line-height: 1.9; color: #796b61; margin: 0 0 22px; flex: 1; }
.trust-card>a { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; color: #722e41; }
.trust-card>a>svg { width: 13px; height: 13px; flex-shrink: 0; }
.home-faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10%; padding-top: 45px; padding-bottom: 65px; }
.home-faq>div>p:not(.eyebrow) { color: #796b61; font-size: 12px; line-height: 1.9; margin: 20px 0; }
.faq-items { border-top: 1px solid #ded5cb; }
.faq-items details { border-bottom: 1px solid #ded5cb; }
.faq-items summary { padding: 20px 32px 20px 0; font-size: 13px; cursor: pointer; list-style: none; position: relative; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary::after { content: '+'; position: absolute; right: 5px; top: 15px; font-size: 23px; font-weight: 300; color: #8e655d; }
.faq-items details[open]>summary::after { content: '−'; }
.faq-items details>p { padding: 0 25px 20px 0; margin: 0; color: #796b61; font-size: 12px; line-height: 1.9; }
.direct-price-note { font-size: 10px; color: #722e41; line-height: 1.6; margin: 10px 0 0; }
.product-direct-offer { border: 1px solid #dfc7cc; background: #faf3f3; padding: 20px; margin: 24px 0; }
.offer-pill { display: inline-block; font-size: 8px; letter-spacing: .1em; color: #722e41; margin-bottom: 10px; }
.product-direct-offer>strong { display: block; font-size: 18px; font-weight: 600; }
.product-direct-offer>p { margin: 10px 0 0; font-size: 11px; line-height: 1.8; color: #796b61; }
.product-marketplaces { border-top: 1px solid #e6e0da; margin-top: 25px; padding-top: 24px; }
.product-marketplaces h2 { font-size: 13px; margin-bottom: 12px; }
.product-marketplaces p { font-size: 11px; line-height: 1.8; color: #796b61; margin-bottom: 15px; }
.product-marketplaces>div { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.product-marketplaces a { font-size: 11px; color: #722e41; text-decoration: underline; text-underline-offset: 4px; }
.order-summary .summary-discount { color: #722e41; }
.offer-applied { font-size: 10px; color: #722e41; line-height: 1.8; margin-top: 10px; }
.store-announcement .announcement-offer { color: inherit; text-decoration: none; }
.catalog-empty .text-link { font-size: 12px; color: #722e41; }
.direct-contact { background: #f4ede3; padding: 25px; margin-bottom: 25px; border: 1px solid #e6e0da; }
.direct-contact h2 { font: 400 27px Georgia,serif; margin: 10px 0 15px; }
.direct-contact>a { font-size: 14px; color: #722e41; text-decoration: underline; text-underline-offset: 4px; }
.direct-contact>p:last-child { margin: 15px 0 0; font-size: 11px; line-height: 1.8; color: #796b61; }

@media(max-width:1100px) {
  .direct-offer { grid-template-columns: .75fr 1.3fr; gap: 30px; }
  .offer-price-example { grid-column: 2; }
  .offer-stamp { grid-row: 1/3; }
  .marketplace-card { padding: 23px; }
  .wardrobe-copy h3 { font-size: 25px; }
}
@media(max-width:767px) {
  .wardrobe-grid { --bs-gutter-y: 30px; }
  .wardrobe-image img { aspect-ratio: 4/3; object-position: center 28%; }
  .wardrobe-image img[src$=".svg"] { object-fit: contain; background: #f0e2d5; }
  .wardrobe-image img[src$="pants-edit.svg"] { background: #e9e8de; }
  .wardrobe-copy h3 { font-size: 29px; }
  .section-intro { font-size: 12px; margin-top: 0; }
  .direct-offer { grid-template-columns: 1fr; padding: 32px 25px; margin-top: 45px; gap: 30px; }
  .offer-stamp { grid-row: auto; width: 170px; justify-self: center; }
  .offer-stamp>strong { font-size: 64px; }
  .offer-price-example { grid-column: auto; }
  .direct-offer h2 { font-size: 40px; }
  .direct-offer-copy { text-align: center; }
  .direct-offer-copy>p:not(.eyebrow) { max-width: 460px; margin-left: auto; margin-right: auto; }
  .marketplace-card { padding: 28px; }
  .marketplace-wordmark { margin: 27px 0 30px; }
  .startup-intro { grid-template-columns: 1fr; gap: 32px; padding-top: 30px; }
  .startup-mark { aspect-ratio: 1.8; }
  .startup-mark>strong { font-size: 74px; }
  .startup-intro p:not(.eyebrow) { font-size: 12px; }
  .home-faq { grid-template-columns: 1fr; gap: 28px; padding-bottom: 45px; }
  .fashion-more>span { width: 100%; margin: 0 0 3px; }
  .fashion-more { gap: 9px; }
  .fashion-more>a { padding: 10px 12px; }
}
@media(prefers-reduced-motion:reduce) { .wardrobe-image img { transition: none; } }
