.ruby-sale-edit { padding-block: clamp(64px, 7vw, 104px); background: linear-gradient(135deg, #fff9fb, #f9e9f0 72%, #fff7fa); color: var(--ruby-ink, #302029); }
.ruby-sale-edit__heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-block-end: 30px; }
.ruby-sale-edit__heading > div { max-width: 680px; }
.ruby-sale-edit__heading h2 { margin: 9px 0 12px; font-family: var(--font-heading-family); font-size: clamp(2.05rem, 4vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.ruby-sale-edit__heading p { margin: 0; color: var(--ruby-muted, #735c67); line-height: 1.6; }
.ruby-sale-edit__note { flex: none; padding: 10px 14px; border: 1px solid var(--ruby-border, #efd7e2); border-radius: 999px; background: #fff; color: #84214f; font-size: .76rem; font-weight: 700; }
.ruby-sale-edit__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.ruby-sale-edit__card { min-width: 0; overflow: hidden; border: 1px solid var(--ruby-border, #efd7e2); border-radius: 20px; background: #fff; box-shadow: 0 12px 35px rgba(91, 29, 57, .07); transition: transform .22s ease, box-shadow .22s ease; }
.ruby-sale-edit__card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(91, 29, 57, .12); }
.ruby-sale-edit__media { position: relative; aspect-ratio: 1 / 1; background: #fff; }
.ruby-sale-edit__media a { display: block; width: 100%; height: 100%; }
.ruby-sale-edit__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ruby-sale-edit__fallback { display: grid; place-items: center; height: 100%; color: #d891b1; font-family: var(--font-heading-family); font-size: 5rem; }
.ruby-sale-edit__badge { position: absolute; top: 13px; left: 13px; padding: 8px 12px; border-radius: 999px; background: #84214f; color: #fff; font-size: .81rem; font-weight: 800; box-shadow: 0 4px 12px rgba(70, 21, 43, .15); }
.ruby-sale-edit__body { display: flex; flex-direction: column; align-items: flex-start; min-height: 184px; padding: 18px; }
.ruby-sale-edit__eyebrow { color: #a71c5e; font-size: .64rem; font-weight: 800; letter-spacing: .13em; }
.ruby-sale-edit__body h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: 2.65em; margin: 7px 0 4px; font-size: 1rem; line-height: 1.32; }
.ruby-sale-edit__body h3 a { color: inherit; text-decoration: none; }
.ruby-sale-edit__body h3 a:hover { color: #84214f; }
.ruby-sale-edit__variant { margin: 0 0 5px; color: var(--ruby-muted, #735c67); font-size: .78rem; }
.ruby-sale-edit__prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin-block: auto 12px; }
.ruby-sale-edit__prices strong { color: #84214f; font-size: 1.1rem; }
.ruby-sale-edit__prices s { color: #8c7c83; font-size: .84rem; }
.ruby-sale-edit__body ui-shop-button { display: block; width: 100%; }
.ruby-sale-edit__add { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; padding: 9px 14px; border: 0; border-radius: 999px; background: #84214f; color: #fff; font-family: inherit; font-size: .88rem; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background .18s ease; }
.ruby-sale-edit__add:hover { background: #68163b; color: #fff; }
.ruby-sale-edit__add[data-loading] { opacity: .62; pointer-events: none; }
.ruby-sale-edit__add:focus-visible, .ruby-sale-edit__more:focus-visible { outline: 3px solid #e95a9f; outline-offset: 3px; }
.ruby-sale-edit__more { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 24px; color: #84214f; font-weight: 800; text-underline-offset: 5px; }
@media (max-width: 1100px) { .ruby-sale-edit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .ruby-sale-edit { padding-block: 58px; } .ruby-sale-edit__heading { display: block; margin-block-end: 22px; } .ruby-sale-edit__heading h2 { font-size: clamp(2rem, 8.5vw, 2.7rem); } .ruby-sale-edit__note { display: inline-block; margin-block-start: 17px; } .ruby-sale-edit__grid { grid-template-columns: 1fr; gap: 14px; } .ruby-sale-edit__body { min-height: 0; padding: 17px; } .ruby-sale-edit__body h3 { min-height: 0; } .ruby-sale-edit__prices { margin-block: 10px 15px; } }
@media (prefers-reduced-motion: reduce) { .ruby-sale-edit__card, .ruby-sale-edit__add { transition: none; } .ruby-sale-edit__card:hover { transform: none; } }
