/* Feature page additions to the original Waggy stylesheet. */
:root {
  --store-ink: #41403e;
  --store-cream: #f9f3ec;
  --store-border: #e8e4df;
}

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--store-ink); background: #fff; }
main { min-height: 45vh; }
.brand .company-logo { width: 206px; height: 57px; max-width: 100%; object-fit: contain; object-position: left center; }
.company-name { display: inline-block; max-width: 240px; font-size: 28px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; color: var(--store-ink); }
.owner-navigation .brand .company-logo { width: 170px; height: 47px; }
.owner-navigation .company-name { max-width: 190px; font-size: 24px; }
.owner-navigation nav { flex-wrap: wrap; }
.company-contact { display: grid; gap: 7px; font-style: normal; margin: 20px 0 0; font-size: 15px; line-height: 1.6; }
.company-contact a { color: inherit; overflow-wrap: anywhere; }
.company-contact a span { color: #777; font-size: 13px; }
.company-address { white-space: pre-line; overflow-wrap: anywhere; }
.footer-grid .company-logo { width: 180px; height: 57px; }
.company-contact-panel { border: 1px solid var(--store-border); border-radius: 6px; padding: 24px; margin-bottom: 32px; background: var(--store-cream); }
.company-contact-panel h2 { font-size: 28px; margin-bottom: 12px; overflow-wrap: anywhere; }
.company-settings-intro { max-width: 720px; color: #777; margin-bottom: 28px; }
.owner-panel .form-field select { width: 100%; padding: 10px 14px; border: 1px solid #d8d4ce; border-radius: 3px; background: #fff; }
.company-culture-preview { padding: 14px 18px; border-radius: 4px; background: var(--store-cream); font-size: 18px; margin: 12px 0 0; }
.company-logo-preview { display: block; max-width: 280px; max-height: 160px; object-fit: contain; margin: 10px 0 20px; padding: 16px; border: 1px solid var(--store-border); border-radius: 6px; background: #fff; }
.admin-company-card { grid-column: 1 / -1; }
a { text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #977043;
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.icon { width: 24px; height: 24px; fill: currentColor; vertical-align: middle; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 17px; line-height: 1.4; }
.btn-outline-dark { --bs-btn-color: #41403e; --bs-btn-border-color: #bdbbb8; --bs-btn-hover-bg: #41403e; --bs-btn-hover-border-color: #41403e; padding: 16px 28px; }
.btn-dark { --bs-btn-bg: #41403e; --bs-btn-border-color: #41403e; padding: 16px 28px; }
.btn-lg { padding: 21px 37px; }
.text-button, .icon-button { border: 0; background: transparent; color: inherit; padding: 0; }
.text-button:hover { color: #9b6b32; }
.icon-button { padding: 9px; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }

/* Shared header and navigation. */
.header-top { display: grid; grid-template-columns: 235px 1fr 260px; align-items: center; gap: 55px; padding-top: 29px; padding-bottom: 30px; }
.brand img { max-width: 100%; height: auto; }
.header-search { border: 1px solid var(--store-border); border-radius: 5px; display: flex; align-items: center; padding: 8px 17px; }
.header-search input { border: 0; width: 100%; min-width: 0; background: transparent; padding: 6px 0; font-size: 16px; }
.header-search button, .filter-search button { background: none; border: none; color: #777; padding: 5px; }
.header-help { text-align: right; }
.header-help span { display: block; color: #777; font-size: 15px; max-width: 240px; overflow-wrap: anywhere; }
.header-help a { font-size: 22px; }
.navigation-border { border-top: 1px solid #eeece9; }
.navigation { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.category-menu { position: relative; min-width: 235px; z-index: 20; }
.category-menu summary { cursor: pointer; list-style: none; font-size: 19px; display: flex; justify-content: space-between; gap: 28px; }
.category-menu summary::-webkit-details-marker { display: none; }
.category-dropdown { position: absolute; top: 48px; left: 0; width: 240px; padding: 12px 20px; background: white; border: 1px solid var(--store-border); box-shadow: 0 12px 22px #0000000a; }
.category-dropdown a { display: block; padding: 6px 0; }
#main-navigation { display: flex; gap: 38px; align-items: center; }
#main-navigation a { font-size: 19px; }
#main-navigation a.active { color: #a9793c; }
.navigation-actions { display: flex; gap: 21px; align-items: center; }
.navigation-actions a, .navigation-actions form { white-space: nowrap; }
.cart-link { display: flex; align-items: center; gap: 7px; }
.cart-count { color: #b28248; }
.signout, .login-link { font-size: 15px; }
.menu-toggle { display: none; }

/* Waggy's hero, promotional banners, and category strip. */
.hero-section, .sale-section, .page-banner { background-color: var(--store-cream); }
.hero-swiper { position: relative; }
.hero-row { min-height: 630px; padding: 34px 30px 45px; }
.hero-image { align-self: end; text-align: center; }
.hero-image img { max-width: 100%; width: 445px; height: 540px; object-fit: contain; }
.hero-copy { padding-left: 6%; padding-bottom: 24px; }
.eyebrow { font: 400 15px/1.6 var(--secondary-font); letter-spacing: 1.4px; text-transform: uppercase; color: #ac7b3e; margin-bottom: 24px; }
.hero-copy h1 { font-size: clamp(50px, 5.8vw, 84px); font-weight: 400; line-height: 1.13; margin: 0 0 35px; letter-spacing: -1.5px; }
.hero-copy h1 span, .sale-copy h2 span, .account-banner h2 span { color: #dead6f; }
.slider-arrow { position: absolute; top: 45%; z-index: 5; font: 36px/1 sans-serif; border: 0; background: transparent; color: #b7a18a; padding: 10px; }
.hero-prev { left: 0; }
.hero-next { right: 0; }
.hero-swiper .swiper-pagination { bottom: 20px; }
.hero-swiper .swiper-pagination-bullet { width: 11px; height: 11px; background: #b4a391; }
.hero-swiper .swiper-pagination-bullet-active { background: #41403e; }
.category-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; padding-top: 92px; padding-bottom: 90px; }
.category-strip svg { width: 82px; height: 82px; fill: #dead6f; margin-bottom: 17px; }
.category-strip h2 { font-size: 28px; font-weight: 400; margin: 0; }
.category-strip a:hover svg { fill: #b18145; transform: translateY(-4px); }
.category-strip svg { transition: transform .2s; }
.product-section { padding-top: 35px; padding-bottom: 75px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-bottom: 34px; }
.section-heading h2, .contact-copy h2, .account-illustration h2 { font-size: 48px; line-height: 1.2; font-weight: 400; margin: 0; }
.section-heading p { margin: 10px 0 0; color: #777; }
.food-heading { flex-wrap: wrap; }
.food-filters { display: flex; gap: 24px; margin-left: auto; margin-right: 25px; }
.food-filters button { font-size: 16px; text-transform: uppercase; background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 5px 0; color: #777; }
.food-filters button.active { color: #41403e; border-color: #dead6f; }
.product-grid { display: grid; gap: 35px 26px; }
.home-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { min-width: 0; }
.product-image { display: block; position: relative; border-radius: 7px; overflow: hidden; background: #eeebe7; }
.product-image img { width: 100%; height: auto; aspect-ratio: 310 / 283; object-fit: cover; transition: transform .3s; }
.product-image:hover img { transform: scale(1.035); }
.product-badge { position: absolute; top: 15px; left: 15px; border: 1px solid #c6c4c0; border-radius: 4px; background: #ffffffb0; padding: 0 13px; font-size: 19px; }
.product-details { padding: 19px 0 5px; }
.product-details h3 { font-size: 25px; line-height: 1.35; font-weight: 400; margin: 0 0 3px; }
.product-rating { font-size: 18px; line-height: 1.6; color: #dead6f; letter-spacing: 2px; }
.rating-number { color: #777; letter-spacing: 0; font-size: 15px; }
.product-price { color: #bd8b4b; font-size: 28px; line-height: 1.5; margin-bottom: 12px; }
.product-price del { font-size: 17px; color: #999; margin-left: 5px; }
.add-cart-button { padding: 10px 19px; font-size: 16px; }
.add-cart-button .icon { width: 20px; height: 20px; }
.sale-section { margin-top: 35px; margin-bottom: 70px; }
.sale-image { text-align: center; }
.sale-image img { max-width: 100%; width: 470px; height: 500px; object-fit: contain; }
.sale-copy { padding: 50px 20px 50px 60px; }
.sale-copy h2 { font-size: 72px; line-height: 1.12; margin-bottom: 28px; }
.account-banner { background: #f9f3ec url('../images/background-img.png') center; padding: 75px 20px; margin: 20px 0 45px; }
.account-banner h2 { font-size: 62px; line-height: 1.15; margin-bottom: 20px; }
.account-banner p { font-size: 18px; }

/* Shared page, form, and status components. */
.page-banner { padding: 47px 0 44px; }
.page-banner h1 { font-size: 60px; font-weight: 400; margin: 0 0 4px; }
.page-banner nav { display: flex; align-items: center; gap: 13px; font-size: 17px; }
.page-banner nav span:last-child { color: #9c784e; }
.content-section { padding-top: 70px; padding-bottom: 75px; }
.form-field { margin-bottom: 22px; }
.form-field label, .filter-form label { display: block; font-size: 17px; margin-bottom: 7px; }
.form-field input, .form-field textarea, .filter-form input, .filter-form select { width: 100%; padding: 12px 16px; border: 1px solid #d8d4ce; border-radius: 3px; background: white; color: #41403e; font-size: 16px; line-height: 1.7; }
.form-field textarea { resize: vertical; min-height: 160px; }
.form-field small { display: block; font: 400 12px/1.8 var(--secondary-font); color: #777; margin-top: 6px; }
.form-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-validation-error, .validation-summary-errors { color: #a53025; font-size: 16px; }
.field-validation-error { display: block; margin-top: 5px; }
.input-validation-error { border-color: #a53025 !important; }
.validation-summary ul { padding-left: 20px; }
.validation-summary-valid, .field-validation-valid { display: none; }
.notice { padding: 14px 20px; border-radius: 4px; border: 1px solid; }
.notice-success { background: #f1f6ed; border-color: #c2d5b5; color: #385929; }
.notice-error { background: #fbefec; border-color: #e6b9af; color: #963b29; }
.empty-state { padding: 70px 20px; text-align: center; }
.empty-state h2 { font-size: 42px; font-weight: 400; }
.empty-state p { color: #777; font-size: 18px; margin: 15px 0 27px; }
.empty-icon { width: 80px; height: 80px; color: #dead6f; margin-bottom: 20px; fill: currentColor; }
.cart-feedback { position: fixed; bottom: 28px; right: 28px; z-index: 100; background: #41403e; color: white; padding: 18px 24px; border-radius: 6px; box-shadow: 0 8px 30px #0002; max-width: min(420px, calc(100vw - 40px)); }
.cart-feedback.error { background: #8e3d2c; }

/* Catalog filters and pagination. */
.shop-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 55px; }
.filter-form h2 { font-size: 27px; margin-bottom: 25px; font-weight: 400; }
.filter-form label { margin-top: 24px; }
.filter-form .btn { width: 100%; margin-top: 26px; }
.filter-search { display: flex; border: 1px solid #d8d4ce; border-radius: 3px; }
.filter-search input { min-width: 0; border: 0; padding: 10px; font-size: 14px; }
.filter-search button { padding: 0 8px; }
.clear-filters { display: block; text-align: center; margin-top: 12px; text-decoration: underline; font-size: 16px; }
.sidebar-note { margin-top: 42px; background: var(--store-cream); padding: 25px 20px 0; border-radius: 5px; overflow: hidden; }
.sidebar-note h3 { font-size: 34px; line-height: 1.2; font-weight: 400; }
.sidebar-note p { line-height: 1.5; font-size: 15px; color: #777; }
.sidebar-note img { width: 100%; height: 240px; object-fit: contain; object-position: bottom; }
.shop-results { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 27px; color: #777; }
.shop-results p { margin: 0; }
.shop-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-products .product-details h3 { font-size: 23px; }
.pagination-links { display: flex; gap: 10px; justify-content: center; margin-top: 50px; }
.pagination-links a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ddd; border-radius: 3px; }
.pagination-links .active { background: #41403e; color: white; border-color: #41403e; }

/* Cart, delivery, and customer order history. */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 345px; gap: 50px; align-items: start; }
.cart-table-heading { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--store-border); padding-bottom: 20px; }
.cart-table-heading h2, .delivery-form h2, .order-summary h2, .tracking-history h2 { font-size: 33px; font-weight: 400; margin: 0; }
.cart-table-heading span { color: #777; }
.cart-row { display: flex; gap: 22px; align-items: center; border-bottom: 1px solid var(--store-border); padding: 24px 0; }
.cart-row img { width: 100px; height: 92px; object-fit: cover; border-radius: 4px; }
.cart-item-name { flex: 1; }
.cart-item-name h3 { font-size: 22px; font-weight: 400; margin: 0 0 5px; }
.cart-item-name p { margin: 0; color: #777; font-size: 15px; }
.quantity-form { display: grid; gap: 5px; text-align: center; }
.quantity-form input { width: 62px; padding: 6px; border: 1px solid #ccc; border-radius: 3px; text-align: center; line-height: 1.7; }
.quantity-form button { font-size: 14px; text-decoration: underline; }
.line-total { white-space: nowrap; font-size: 21px; font-weight: 400; min-width: 65px; }
.continue-shopping { display: inline-block; margin-top: 27px; font-size: 18px; }
.order-summary { padding: 30px; background: #f9f3ec; border-radius: 5px; }
.order-summary dl { margin: 25px 0 18px; }
.order-summary dl > div { display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; }
.order-summary dt { font-weight: 400; }
.order-summary dd { margin: 0; }
.order-summary .summary-total { margin-top: 10px; border-top: 1px solid #d9cdbf; padding-top: 18px; font-size: 25px; }
.order-summary p { font-size: 15px; color: #766958; line-height: 1.7; }
.order-summary h3 { font-size: 24px; font-weight: 400; margin-top: 28px; }
.order-summary address { font-size: 17px; line-height: 1.8; }
.order-summary .btn { font-size: 16px; padding: 15px 10px; }
.delivery-form { margin-top: 55px; }
.delivery-form > p { margin: 12px 0 25px; color: #777; }
.payment-note { padding-top: 16px; border-top: 1px solid #d9cdbf; }
.order-history-card { padding: 26px 30px; border: 1px solid var(--store-border); border-radius: 6px; margin-bottom: 24px; }
.order-card-heading, .order-card-bottom { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.order-card-heading { border-bottom: 1px solid var(--store-border); padding-bottom: 15px; margin-bottom: 20px; }
.order-card-heading h3 { font-size: 25px; font-weight: 400; margin: 0 0 5px; }
.order-card-heading p { margin: 0; color: #777; font-size: 15px; }
.order-status { border: 1px solid #c8d8bc; background: #f1f6ed; color: #52703c; padding: 4px 17px; border-radius: 4px; font-size: 16px; }
.order-thumbnails { display: flex; gap: 10px; flex: 1; }
.order-thumbnails img { object-fit: cover; border-radius: 4px; }
.order-card-bottom strong { font-size: 26px; font-weight: 400; }
.tracking-steps { display: flex; padding: 30px 0 55px; margin: 0; list-style: none; }
.tracking-steps li { flex: 1; position: relative; display: grid; justify-items: center; color: #999; font-size: 20px; gap: 12px; }
.tracking-steps li::before { content: ''; height: 2px; background: #e4e0dc; position: absolute; top: 23px; left: -50%; right: 50%; }
.tracking-steps li:first-child::before { display: none; }
.tracking-dot { border-radius: 50%; background: #eeeae5; width: 48px; height: 48px; display: grid; place-items: center; z-index: 1; }
.tracking-dot .icon { opacity: 0; }
.tracking-steps .complete { color: #8e652f; }
.tracking-steps .complete .tracking-dot { background: #dead6f; color: white; }
.tracking-steps .complete .icon { opacity: 1; }
.tracking-steps .complete::before { background: #dead6f; }
.tracking-history { margin-top: 45px; }
.tracking-history > div { margin-top: 22px; border-left: 2px solid #dead6f; padding-left: 22px; }
.tracking-history p { margin: 0; }
.tracking-history time { color: #777; font-size: 14px; }

/* Contact and authentication pages. */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; }
.contact-copy > p { max-width: 440px; }
.contact-copy h2 { margin-bottom: 20px; }
.contact-detail { margin-top: 30px; }
.contact-detail h3 { font-size: 25px; font-weight: 400; margin-bottom: 5px; }
.contact-detail p { color: #777; margin-bottom: 5px; }
.contact-pet { max-width: 100%; height: 275px; object-fit: contain; margin-top: 20px; }
.contact-form-panel { padding-top: 10px; }
.contact-form-panel h2, .account-form h2 { font-size: 40px; font-weight: 400; margin-bottom: 22px; }
.account-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; max-width: 1110px; align-items: center; }
.account-illustration { background: var(--store-cream); border-radius: 6px; text-align: center; padding: 40px 30px 0; overflow: hidden; }
.account-illustration h2 { font-size: 50px; }
.account-illustration img { max-width: 100%; height: 335px; object-fit: contain; object-position: bottom; margin-top: 20px; }
.account-form > p { color: #777; margin-bottom: 27px; }
.check-field { display: flex; align-items: center; gap: 10px; margin-bottom: 23px; }
.check-field input { width: 17px; height: 17px; accent-color: #ab7a3e; }
.account-switch { margin-top: 22px; text-align: center; }
.account-switch a { text-decoration: underline; }

/* Footer and mobile layouts. */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-top: 65px; padding-bottom: 65px; border-top: 1px solid var(--store-border); }
.benefits > div { display: flex; gap: 17px; }
.benefits .icon { width: 30px; height: 30px; color: #c99450; margin-top: 4px; }
.benefits h3 { font-size: 25px; font-weight: 400; margin: 0 0 8px; }
.benefits p { font-size: 15px; line-height: 1.6; color: #777; margin: 0; }
.site-footer { border-top: 1px solid var(--store-border); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr .9fr 1.2fr; gap: 50px; padding-top: 70px; padding-bottom: 60px; }
.footer-grid h3 { font-size: 28px; font-weight: 400; margin-bottom: 16px; }
.footer-grid p { color: #777; margin-top: 20px; font-size: 17px; line-height: 1.8; }
.footer-grid > div > a:not(.btn) { display: block; line-height: 2.1; font-size: 17px; }
.footer-grid .btn { padding: 13px 17px; font-size: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid var(--store-border); padding-top: 25px; padding-bottom: 25px; font-size: 15px; color: #777; }
.footer-bottom a { text-decoration: underline; }

@media (min-width: 1400px) { .container { max-width: 1320px; } }
@media (max-width: 1199px) {
  .header-top { grid-template-columns: 210px 1fr 210px; gap: 28px; }
  .category-menu { min-width: 210px; }
  #main-navigation { gap: 25px; }
  .navigation-actions { gap: 15px; }
  .hero-copy h1 { font-size: 65px; }
  .hero-row { min-height: 565px; }
  .hero-image img { height: 490px; }
  .hero-copy { padding-left: 4%; }
  .shop-layout { gap: 30px; grid-template-columns: 220px minmax(0, 1fr); }
  .cart-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
  .cart-row { gap: 13px; }
  .cart-row img { width: 80px; height: 75px; }
  .section-heading h2 { font-size: 41px; }
  .footer-grid { gap: 30px; }
  .contact-layout, .account-layout { gap: 50px; }
}
@media (max-width: 991px) {
  .header-top { grid-template-columns: 185px 1fr; gap: 35px; padding-top: 22px; padding-bottom: 22px; }
  .header-help { display: none; }
  .navigation { flex-wrap: wrap; gap: 0; min-height: 72px; padding-top: 16px; padding-bottom: 16px; }
  .category-menu { min-width: 195px; }
  .category-menu summary { font-size: 17px; }
  .menu-toggle { display: flex; gap: 15px; align-items: center; border: 0; background: transparent; padding: 0; font-size: 18px; }
  #main-navigation { display: none; order: 4; width: 100%; padding-top: 20px; margin-top: 16px; border-top: 1px solid #eee; }
  #main-navigation.is-open { display: flex; }
  .hero-row { min-height: 500px; padding-left: 15px; padding-right: 15px; }
  .hero-copy h1 { font-size: 51px; }
  .hero-image img { height: 420px; }
  .hero-copy { padding-left: 3%; }
  .eyebrow { font-size: 12px; }
  .btn-lg { padding: 17px 25px; }
  .category-strip { padding-top: 65px; padding-bottom: 60px; }
  .category-strip h2 { font-size: 23px; }
  .category-strip svg { width: 65px; height: 65px; }
  .home-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading h2 { font-size: 38px; }
  .food-filters { margin: 0; order: 3; width: 100%; }
  .sale-image img { height: 400px; }
  .sale-copy { padding-left: 25px; }
  .sale-copy h2 { font-size: 54px; }
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { max-width: 100%; }
  .contact-layout, .account-layout { gap: 30px; }
  .account-illustration h2 { font-size: 38px; }
  .form-two-columns { grid-template-columns: 1fr; gap: 0; }
  .benefits { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 35px; }
  .order-card-bottom { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .header-top { grid-template-columns: 1fr; gap: 18px; }
  .brand { text-align: center; }
  .brand img { width: 170px; }
  .header-search { padding: 4px 12px; }
  .category-menu { display: none; }
  .navigation { min-height: 65px; }
  .navigation-actions { gap: 18px; }
  #main-navigation.is-open { justify-content: space-between; gap: 15px; }
  #main-navigation a { font-size: 18px; }
  .hero-row { flex-direction: column-reverse; padding: 35px 5px 25px; min-height: unset; }
  .hero-copy { text-align: center; padding: 0 0 20px; }
  .hero-copy h1 { font-size: 49px; letter-spacing: -1px; margin-bottom: 23px; }
  .hero-copy .eyebrow { margin-bottom: 15px; }
  .hero-image { align-self: center; }
  .hero-image img { width: 300px; height: 330px; }
  .hero-swiper .swiper-pagination { bottom: 10px; }
  .slider-arrow { top: 64%; }
  .category-strip { grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 45px 15px; }
  .category-strip h2 { font-size: 15px; }
  .category-strip svg { width: 43px; height: 43px; margin-bottom: 10px; }
  .product-section { padding-top: 25px; padding-bottom: 35px; }
  .section-heading { gap: 15px; margin-bottom: 25px; }
  .section-heading h2 { font-size: 31px; }
  .section-heading .btn { padding: 11px 13px; font-size: 13px; gap: 6px; white-space: nowrap; }
  .section-heading .btn .icon { width: 17px; height: 17px; }
  .product-grid { gap: 27px 16px; }
  .product-details { padding-top: 13px; }
  .product-details h3, .shop-products .product-details h3 { font-size: 21px; }
  .product-price { font-size: 24px; }
  .product-price del { font-size: 13px; }
  .product-rating { font-size: 14px; letter-spacing: 1px; }
  .product-badge { top: 9px; left: 9px; font-size: 14px; padding: 0 9px; }
  .add-cart-button { width: 100%; padding: 10px 6px; gap: 6px; font-size: 13px; }
  .add-cart-button .icon { width: 17px; height: 17px; }
  .sale-section { margin-top: 20px; margin-bottom: 30px; }
  .sale-section > div { flex-direction: column-reverse; }
  .sale-copy { text-align: center; padding: 40px 20px 15px; }
  .sale-copy h2 { font-size: 50px; }
  .sale-image img { height: 350px; }
  .account-banner { padding: 55px 10px; margin-top: 35px; }
  .account-banner h2 { font-size: 44px; }
  .page-banner { padding: 32px 0; }
  .page-banner h1 { font-size: 43px; }
  .content-section { padding-top: 40px; padding-bottom: 45px; }
  .shop-layout { grid-template-columns: 1fr; gap: 35px; }
  .filter-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .filter-form h2 { grid-column: 1 / -1; margin-bottom: 5px; }
  .filter-form label { margin: 0; align-self: center; }
  .filter-form input, .filter-form select { font-size: 14px; padding: 8px 10px; }
  .filter-form .btn { margin-top: 8px; padding: 12px; font-size: 15px; }
  .clear-filters { margin-top: 12px; align-self: center; }
  .sidebar-note { display: none; }
  .shop-results { font-size: 14px; gap: 10px; }
  .cart-row { flex-wrap: wrap; gap: 14px; }
  .cart-row img { width: 75px; height: 70px; }
  .cart-item-name { min-width: calc(100% - 95px); }
  .cart-item-name h3 { font-size: 23px; }
  .quantity-form { display: flex; align-items: center; gap: 15px; }
  .cart-row .line-total { margin-left: auto; }
  .cart-table-heading h2, .delivery-form h2 { font-size: 29px; }
  .order-item .cart-item-name { min-width: 0; }
  .order-card-heading { align-items: start; gap: 10px; }
  .order-card-heading h3 { font-size: 20px; overflow-wrap: anywhere; }
  .order-history-card { padding: 20px; }
  .order-status { font-size: 13px; padding: 3px 10px; }
  .order-thumbnails img { width: 58px; height: 55px; }
  .order-card-bottom .btn { width: 100%; }
  .tracking-steps li { font-size: 16px; }
  .tracking-dot { width: 40px; height: 40px; }
  .tracking-steps li::before { top: 19px; }
  .contact-layout, .account-layout { grid-template-columns: 1fr; }
  .contact-copy h2 { font-size: 40px; }
  .contact-pet { display: none; }
  .contact-form-panel { padding-top: 20px; }
  .account-illustration { display: none; }
  .account-form { max-width: 480px; margin: 0 auto; }
  .benefits { padding-top: 40px; padding-bottom: 40px; gap: 25px 15px; }
  .benefits > div { gap: 10px; }
  .benefits h3 { font-size: 20px; }
  .benefits .icon { width: 23px; height: 23px; }
  .benefits p { font-size: 13px; }
  .footer-grid { padding-top: 40px; padding-bottom: 35px; gap: 30px 20px; }
  .footer-grid img { width: 160px; height: auto; }
  .footer-grid h3 { font-size: 24px; }
  .footer-grid p, .footer-grid > div > a:not(.btn) { font-size: 15px; }
  .footer-note { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; font-size: 13px; }
}
/* Language preference remains available in the header at every screen size. */
.header-controls { display: grid; justify-items: end; gap: 8px; }
.culture-form { display: flex; align-items: center; gap: 8px; }
.culture-form select { width: 130px; padding: 4px 9px; border: 1px solid #d8d4ce; background: #fff; border-radius: 4px; color: #41403e; font-size: 16px; }
.product-description { color: #777; font-size: 14px; line-height: 1.5; margin: 7px 0 10px; }
.unrated-product { font-size: 14px; color: #777; margin: 0 0 8px; }
.rating-stars { position: relative; display: inline-block; color: #d8d4ce; white-space: nowrap; }
.rating-stars::after { content: '★★★★★'; position: absolute; inset: 0 auto 0 0; width: var(--rating-width); overflow: hidden; color: #c8924d; }
.purchased-product { padding-bottom: 24px; border-bottom: 1px solid var(--store-border); margin-bottom: 20px; }
.purchased-product .cart-row { border-bottom: 0; padding-bottom: 12px; }
.purchased-product-description { color: #777; font-size: 16px; margin: 0 0 18px; }
.product-review-form { border-radius: 5px; padding: 22px; background: #fcfaf6; }
.product-review-form h3 { font-size: 25px; font-weight: 400; margin: 0 0 16px; }
.product-review-form .form-field select { width: 100%; border: 1px solid #d8d4ce; padding: 10px 14px; border-radius: 3px; background: #fff; }
.product-review-form textarea { min-height: 100px; }
.product-review-form .btn { padding: 12px 20px; }
.review-date { color: #777; font-size: 13px; margin-bottom: 15px; }
@media (max-width: 991px) {
  .header-top { grid-template-columns: 170px minmax(0, 1fr) 130px; gap: 20px; }
}
@media (max-width: 767px) {
  .header-top { grid-template-columns: minmax(0, 1fr) 120px; gap: 16px; }
  .header-top .brand { text-align: left; }
  .header-top .brand img { max-width: 160px; }
  .header-search { grid-column: 1 / -1; grid-row: 2; }
  .header-controls { grid-column: 2; grid-row: 1; }
  .culture-form select { width: 120px; }
  .product-review-form { padding: 18px; }
}
@media (max-width: 359px) {
  .header-top .brand img { max-width: 130px; }
  .header-top { column-gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* The company portal shares the storefront typography and warm neutral palette. */
.owner-area { background: #fcfaf7; }
.owner-navigation nav a.active { color: #986626; text-decoration: underline; text-underline-offset: 7px; }
.admin-eyebrow { color: #986626; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.admin-dashboard-heading { align-items: center; margin-bottom: 30px; }
.admin-dashboard-heading h1 { margin-bottom: 10px; }
.admin-dashboard-heading p:not(.admin-eyebrow) { color: #777; font-size: 15px; margin-bottom: 0; }
.admin-timezone { background: #f0e9df; color: #74624d; border-radius: 20px; padding: 8px 14px; white-space: nowrap; font-size: 13px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.admin-stat { padding: 25px; background: white; border: 1px solid #e7e1d9; border-radius: 6px; }
.admin-stat > span, .admin-stat small { display: block; color: #777; font-size: 14px; }
.admin-stat > strong { display: block; color: #41403e; font-size: clamp(25px, 2.6vw, 36px); font-weight: 500; margin: 12px 0; overflow-wrap: anywhere; }
.admin-stat:first-child { background: #41403e; border-color: #41403e; }
.admin-stat:first-child > strong { color: #fff; }
.admin-stat:first-child > span, .admin-stat:first-child small { color: #dfd8cf; }
.admin-management-grid, .admin-rankings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.admin-management-grid { margin-bottom: 28px; }
.admin-management-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px; border-radius: 6px; border: 1px solid #e7e1d9; background: #f5eee3; color: #41403e; }
.admin-management-card:hover { background: #efe2ce; color: #41403e; }
.admin-management-card h2 { margin: 6px 0; font-size: 28px; }
.admin-management-card p { margin-bottom: 0; color: #777; font-size: 14px; }
.admin-management-card > div > span { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: #986626; }
.admin-management-card > strong { font-size: 28px; white-space: nowrap; }
.admin-management-card > strong > span { padding-left: 16px; color: #986626; }
.admin-sales-panel .section-heading { margin-bottom: 20px; }
.admin-sales-panel h2 { margin-bottom: 0; }
.admin-period-total { font-size: 30px; font-weight: 500; }
.admin-sales-chart { position: relative; height: 320px; width: 100%; margin: 20px 0 28px; }
.admin-chart-controls { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 14px 0; font-size: 14px; }
.admin-chart-controls select { padding: 7px 12px; border: 1px solid #d8d4ce; border-radius: 4px; background: #fff; color: #41403e; }
.admin-sales-chart[hidden], .admin-chart-controls[hidden] { display: none; }
.admin-product-ranking { list-style: none; padding: 0; margin: 0; }
.admin-product-ranking li { display: flex; justify-content: space-between; align-items: start; gap: 14px; padding: 15px 0; border-bottom: 1px solid #eee8df; font-size: 15px; }
.admin-product-ranking li:last-child { border-bottom: 0; }
.admin-product-ranking strong { font-size: 13px; color: #986626; white-space: nowrap; }
.admin-daily-sales { max-height: 420px; }
.admin-daily-sales thead { position: sticky; top: 0; background: #fff; }
.admin-row-actions { white-space: nowrap; }
.admin-row-actions a + a { margin-left: 16px; }
.owner-search.admin-list-filter { max-width: none; align-items: end; flex-wrap: wrap; gap: 16px; }
.admin-list-filter > input:not([type="hidden"]) { min-width: 200px; }
.admin-page-size { display: grid; gap: 5px; font-size: 14px; }
.admin-page-size select { padding: 10px 14px; border: 1px solid #d8d4ce; border-radius: 3px; background: white; }
.admin-record-table .admin-sticky-actions { position: sticky; left: 0; z-index: 1; background: white; border-right: 1px solid var(--store-border); padding: 14px 12px; }
.admin-record-table thead .admin-sticky-actions { z-index: 2; }
.admin-sort-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.admin-sort-link:hover { color: #986626; }
.admin-sort-link span { font-size: 12px; color: #986626; }
.owner-table th.admin-sorted-column { color: #41403e; font-weight: 600; }
.admin-list-actions { display: flex; align-items: center; gap: 12px; }
.admin-list-actions .btn { padding: 8px 12px; font-size: 14px; min-height: 36px; }
.admin-list-actions > a:not(.btn) { font-size: 14px; }
.admin-pagination-summary { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; margin-top: 24px; color: #777; font-size: 14px; }
.admin-pagination { flex-wrap: wrap; margin-top: 15px; }
.admin-pagination > span { display: inline-flex; align-items: center; padding: 9px 13px; }
.admin-pagination .disabled { color: #999; background: #f7f4ef; border-radius: 3px; }
.admin-delete-link { color: #a33932; }
.admin-details { display: grid; grid-template-columns: minmax(100px, 170px) minmax(0, 1fr); gap: 14px 20px; margin-bottom: 30px; }
.admin-details dt { font-weight: 500; color: #777; }
.admin-details dd { margin: 0; overflow-wrap: anywhere; }
.admin-confirmation { max-width: 720px; margin: 20px auto; }
@media (max-width: 991px) { .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .admin-management-grid, .admin-rankings { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .admin-rankings { gap: 0; }
  .admin-sales-chart { height: 260px; }
  .admin-chart-controls { justify-content: flex-start; flex-wrap: wrap; }
  .admin-stat { padding: 18px; }
  .admin-management-card { padding: 22px; }
  .admin-period-total { font-size: 25px; }
}
.owner-header { background: #fff; border-bottom: 1px solid #e7e1d9; }
.owner-navigation { display: flex; align-items: center; gap: 24px; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.owner-navigation nav { display: flex; gap: 20px; margin-left: auto; }
.owner-portal-name { color: #777; font-size: 16px; }
.owner-content { padding-top: 44px; padding-bottom: 70px; }
.owner-content h1 { font-size: clamp(32px, 4vw, 44px); }
.owner-login { max-width: 470px; padding: 36px; margin: 30px auto; background: #fff; border: 1px solid #e7e1d9; border-radius: 6px; }
.owner-search { display: flex; gap: 12px; max-width: 560px; margin-bottom: 25px; }
.owner-search input { min-width: 0; flex: 1; padding: 10px 14px; border: 1px solid #d8d4ce; border-radius: 3px; }
.owner-table-scroll { overflow-x: auto; }
.owner-table { width: 100%; background: #fff; border-collapse: collapse; white-space: nowrap; }
.owner-table th, .owner-table td { padding: 18px; border-bottom: 1px solid #e7e1d9; text-align: left; }
.owner-table th { font-size: 14px; font-weight: 500; color: #777; }
.owner-product-name { display: flex; gap: 16px; align-items: center; }
.owner-product-name img { object-fit: contain; background: #f9f5ef; border-radius: 4px; }
.owner-product-name span { display: block; font-size: 14px; color: #777; }
.owner-panel { background: #fff; border: 1px solid #e7e1d9; border-radius: 6px; padding: 28px; margin-bottom: 24px; }
.owner-panel h2 { font-size: 28px; margin-bottom: 24px; }
.owner-panel textarea { width: 100%; }
.field-help { font-size: 14px; color: #777; }
.basket-reservation-help, .cart-item-name .basket-reservation-status { color: #777; font-size: 14px; line-height: 1.5; }
.owner-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; margin-bottom: 25px; }
.owner-image { min-width: 0; border: 1px solid #e7e1d9; border-radius: 4px; padding: 12px; font-size: 14px; }
.owner-image img { width: 100%; object-fit: contain; background: #f9f5ef; }
.owner-image span { display: block; overflow-wrap: anywhere; margin: 8px 0; }
.owner-image label { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.owner-editor-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.product-detail-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 65px; }
.product-main-image { width: 100%; height: auto; aspect-ratio: 12 / 11; max-height: 600px; object-fit: contain; background: #f9f5ef; border-radius: 8px; }
.product-thumbnails { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.product-thumbnail { border: 2px solid transparent; border-radius: 5px; }
.product-thumbnail[aria-current="true"] { border-color: #c8924d; }
.product-thumbnail img { width: 90px; height: 85px; object-fit: contain; background: #f9f5ef; }
.product-detail-copy h2 { font-size: 40px; margin-bottom: 20px; }
.product-detail-copy .product-price { margin: 24px 0; }
.product-detail-copy .btn { padding: 17px 32px; }
@media (max-width: 767px) {
  .owner-navigation { gap: 14px; }
  .owner-navigation .brand img { width: 135px; height: auto; }
  .owner-navigation .brand .company-logo { width: 135px; height: 47px; }
  .owner-navigation .company-name { max-width: 135px; font-size: 22px; }
  .owner-portal-name { display: none; }
  .owner-navigation nav { order: 3; width: 100%; margin: 0; }
  .owner-navigation .culture-form { margin-left: auto; }
  .owner-login, .owner-panel { padding: 22px; }
  .owner-content .section-heading { align-items: flex-start; gap: 18px; flex-wrap: wrap; }
  .product-detail-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}
