/*
Theme Name: Deera Pastel
Description: Deera's personalized gifting storefront for WooCommerce.
Version: 1.0.2
Text Domain: deera-pastel
*/
:root {
    --plum: #54214f;
    --ink: #2f1d2e;
    --cream: #fffaf6;
    --border: #f1e4eb;
    --body: "DM Sans", sans-serif;
    --display: "Playfair Display", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fffdfb; font: 16px/1.55 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #833b7c; outline-offset: 4px; }
.wrap { width: min(100% - 48px, 1280px); margin-inline: auto; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link:focus { position: absolute; z-index: 5; background: white; padding: 12px; }
.announcement { text-align: center; background: #80578f; color: white; padding: 6px 12px; font-size: 12px; }
.announcement span { margin-inline: 8px; }
.site-header { background: #fffaf9; }
.header-row, .footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; }
.wordmark { color: var(--plum); font: 700 34px/.9 var(--display); text-decoration: none; letter-spacing: .055em; }
.wordmark small { display: block; margin-top: 7px; font: 700 8px var(--body); letter-spacing: .17em; text-align: center; }
.primary-nav, .primary-nav ul, .store-nav { display: flex; align-items: center; gap: 24px; padding: 0; margin: 0; list-style: none; }
.primary-nav a, .store-nav a { font-size: 14px; font-weight: 700; text-decoration: none; }
.primary-nav a:hover, .store-nav a:hover { text-decoration: underline; }
.gift-search { display: flex; max-width: 560px; padding-bottom: 12px; }
.gift-search input { flex: 1; min-width: 0; padding: 8px 14px; border: 1px solid #e6d3e1; border-radius: 24px 0 0 24px; font: inherit; }
.gift-search button { border: 0; border-radius: 0 24px 24px 0; padding: 0 17px; background: var(--plum); color: white; font: 700 13px var(--body); cursor: pointer; }
.gift-hero { background: #f9e5ed url("assets/hero.webp") center / cover no-repeat; }
.hero-content { min-height: clamp(330px, 33vw, 500px); display: flex; justify-content: center; align-items: flex-start; flex-direction: column; }
h1, h2 { font-family: var(--display); color: var(--plum); line-height: 1.08; margin: 0; }
.gift-hero h1 { max-width: min(100%, 420px); font-size: clamp(42px, 4.45vw, 66px); letter-spacing: -.045em; }
.gift-hero h1 em { display: block; color: #8d3159; font-weight: 600; }
.gift-hero p { max-width: 30ch; margin: 18px 0 22px; }
.button-primary { display: inline-flex; gap: 12px; background: var(--plum); color: white; padding: 10px 19px; border-radius: 24px; text-decoration: none; font-size: 14px; font-weight: 700; }
.service-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 36px; margin: 0; padding: 12px 20px; list-style: none; background: #f9efe8; font-size: 13px; font-weight: 700; }
.collection { padding-block: 26px; }
.collection h2 { font-size: clamp(24px, 3vw, 36px); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.section-heading a { font-weight: 700; font-size: 14px; }
.category-grid, .bestsellers .woocommerce ul.products { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.category { display: grid; gap: 5px; text-align: center; text-decoration: none; font-weight: 700; font-size: 14px; align-content: start; }
.category img { width: 100%; aspect-ratio: 1.62; object-fit: cover; border-radius: 15px; background: #f5e8ed; }
.category:hover span { text-decoration: underline; }
.bestsellers .woocommerce ul.products::before,
.bestsellers .woocommerce ul.products::after { display: none; }
.bestsellers .woocommerce ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
    padding: 0 0 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: white;
}
.bestsellers .woocommerce ul.products li.product img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0;
    background: #f6ebe9;
}
.bestsellers .woocommerce ul.products li.product .woocommerce-loop-product__title,
.bestsellers .woocommerce ul.products li.product .price {
    margin: 8px 11px 0;
    padding: 0;
    color: var(--plum);
    font-size: 14px;
}
.bestsellers .woocommerce ul.products li.product .button {
    width: calc(100% - 22px);
    margin: 10px 11px 0;
    padding: 9px 6px;
    text-align: center;
    background: var(--plum);
    color: white;
    font-size: 12px;
}
.site-footer { margin-top: 24px; background: #f6e9f4; }
.footer-row { flex-wrap: wrap; padding-block: 15px; }
.document { min-height: 45vh; padding-block: 35px; }
.document > article > h1 { margin-bottom: 20px; }
@media (max-width: 850px) {
    .category-grid, .bestsellers .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .header-row { gap: 12px; flex-wrap: wrap; padding-block: 12px; }
    .primary-nav { order: 3; width: 100%; flex-wrap: wrap; }
    .primary-nav ul { flex-wrap: wrap; }
    .gift-hero { background-position: right bottom; background-size: auto 245px; }
    .hero-content { justify-content: flex-start; padding-top: 25px; min-height: 460px; }
    .gift-hero h1 { max-width: none; }
}
@media (max-width: 560px) {
    .wrap { width: min(100% - 28px, 1280px); }
    .primary-nav, .primary-nav ul, .store-nav { gap: 12px; }
    .primary-nav a, .store-nav a { font-size: 12px; }
    .gift-hero { background-size: auto 235px; background-position: right bottom; background-color: #f9e5ed; }
    .hero-content { min-height: 465px; }
    .gift-hero p { margin-block: 9px 13px; }
    .category-grid { gap: 10px; }
    .bestsellers .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .service-strip { gap: 4px 16px; font-size: 11px; }
    .footer-row { gap: 12px; }
}
