:root {
    --store-bg: #f7f8f1;
    --store-surface: #ffffff;
    --store-ink: #10251f;
    --store-muted: #737d76;
    --store-line: #dfe6dc;
    --store-green: #064a3d;
    --store-green-2: #0d7258;
    --store-citrus: #ff9f1c;
    --store-citrus-dark: #cb6f00;
    --store-berry: #d94f70;
    --store-mint: #e9f7ef;
    --store-shadow: 0 18px 42px rgba(16, 37, 31, .11);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body.store-body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    padding-bottom: 86px;
    background: var(--store-bg);
    color: var(--store-ink);
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.8;
}

button,
input,
textarea,
select {
    font: inherit;
}

.store-body a {
    color: inherit;
    text-decoration: none;
}

.store-topbar,
.store-main,
.store-footer {
    width: min(1080px, calc(100% - 24px));
    margin-inline: auto;
}

.store-topbar {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 14px;
}

.store-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.store-brand img {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 10px 22px rgba(255, 159, 28, .22);
}

.store-brand strong,
.store-brand small {
    display: block;
}

.store-brand strong {
    font-size: 16px;
    font-weight: 950;
}

.store-brand small {
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 800;
}

.store-nav,
.store-bottom-nav,
.section-heading,
.store-page-head,
.product-meta,
.product-card-foot,
.product-actions,
.detail-actions,
.track-order-head,
.order-total,
.summary-lines div,
.cart-summary dl div,
.order-info div,
.location-picker-toolbar,
.wallet-use-row,
.favorite-save-form div,
.profile-inline-form,
.wallet-action-form,
.review-card div,
.wallet-transactions li,
.profile-addresses li,
.profile-favorites-grid a {
    display: flex;
}

.store-nav {
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.store-nav a,
.back-link,
.section-heading a,
.product-card-foot a,
.empty-state a,
.detail-actions a,
.primary-action,
.checkout-form button,
.order-form button,
.cart-line-actions button,
.link-button,
.favorite-save-form button,
.profile-inline-form button,
.offer-form button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--store-line);
    border-radius: 12px;
    padding: 7px 13px;
    background: var(--store-surface);
    color: var(--store-ink);
    font-weight: 900;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.store-nav a:hover,
.store-nav a.active,
.back-link:hover,
.section-heading a:hover,
.product-card-foot a:hover,
.empty-state a:hover,
.detail-actions a:hover,
.cart-line-actions button:hover,
.link-button:hover {
    border-color: rgba(13, 114, 88, .36);
    background: var(--store-mint);
    color: var(--store-green);
}

.store-cart-link {
    gap: 8px;
}

.store-cart-link span {
    min-width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--store-citrus);
    color: #23180b;
    font-size: 12px;
}

.store-main {
    padding-block: 8px 38px;
}

.store-alert {
    margin-bottom: 14px;
    border: 1px solid;
    border-radius: 14px;
    padding: 12px 14px;
    background: var(--store-surface);
    font-weight: 900;
}

.store-alert-success {
    border-color: rgba(13, 114, 88, .26);
    color: var(--store-green-2);
}

.store-alert-error {
    border-color: rgba(217, 79, 112, .28);
    color: var(--store-berry);
}

.store-hero {
    position: relative;
    min-height: 390px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    gap: 26px;
    overflow: hidden;
    border-bottom-right-radius: 34px;
    border-bottom-left-radius: 34px;
    padding: 36px max(18px, calc((100vw - 1080px) / 2)) 58px;
    margin: 0 calc(50% - 50vw);
    background:
        linear-gradient(90deg, rgba(6, 74, 61, .95), rgba(6, 74, 61, .68)),
        url("/uploads/seed/hero-citrus.png") center/cover;
    color: #fff;
}

.store-hero-copy {
    width: min(720px, 100%);
    margin-inline: auto;
    text-align: center;
}

.store-eyebrow,
.section-heading span,
.store-page-head span {
    color: var(--store-green-2);
    font-size: 13px;
    font-weight: 950;
}

.store-hero .store-eyebrow {
    color: rgba(255, 255, 255, .76);
}

.store-hero h1,
.store-page-head h1,
.product-detail h1,
.order-status h1 {
    margin: 8px 0 10px;
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.45;
    font-weight: 950;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.store-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .82);
}

.store-search {
    width: min(760px, 100%);
    display: grid;
    gap: 10px;
    margin-inline: auto;
    border-radius: 18px;
    padding: 16px;
    background: rgba(255, 255, 255, .96);
    color: var(--store-ink);
    box-shadow: var(--store-shadow);
}

.store-search label,
.field-group label,
.quantity-row label,
.offer-form label {
    font-weight: 950;
}

.search-line,
.offer-form div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
}

.advanced-search .filter-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.store-search input,
.store-search select,
.store-search button,
.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.quantity-row input,
.cart-line-actions input,
.offer-form input,
.offer-form button,
.favorite-save-form input,
.profile-inline-form input,
.profile-inline-form select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--store-line);
    border-radius: 12px;
    padding: 8px 12px;
    outline: 0;
    background: #fff;
    color: var(--store-ink);
}

.store-search button,
.checkout-form button,
.order-form button,
.primary-action,
.favorite-save-form button,
.profile-inline-form button,
.offer-form button {
    border-color: var(--store-citrus);
    background: var(--store-citrus);
    color: #23180b;
}

.store-search button:hover,
.checkout-form button:hover,
.order-form button:hover,
.primary-action:hover,
.favorite-save-form button:hover,
.profile-inline-form button:hover,
.offer-form button:hover {
    border-color: var(--store-citrus-dark);
    background: var(--store-citrus-dark);
    color: #fff;
}

.store-section {
    padding-top: 32px;
}

.section-heading,
.store-page-head {
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.section-heading h2,
.store-page-head h1,
.cart-summary h2,
.order-card h2,
.checkout-summary h2,
.detail-block h2 {
    margin: 0;
    font-weight: 950;
}

.section-heading h2,
.store-page-head h1 {
    font-size: 25px;
}

.category-strip,
.product-grid,
.horizontal-products,
.discovery-grid,
.mini-list,
.cart-lines,
.tracking-results,
.stack-actions,
.wallet-transactions,
.reviews-list,
.profile-addresses,
.profile-favorites-grid,
.order-stepper {
    display: grid;
}

.category-strip {
    grid-auto-flow: column;
    grid-auto-columns: minmax(156px, 190px);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.category-chip {
    min-height: 104px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid var(--store-line);
    border-radius: 16px;
    background: var(--store-surface);
    padding: 10px;
    box-shadow: 0 12px 28px rgba(16, 37, 31, .06);
}

.category-chip img,
.category-thumb {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    object-fit: cover;
    background: #edf3ec;
}

.category-chip span:not(.category-thumb) {
    font-weight: 950;
    overflow-wrap: anywhere;
}

.category-chip small {
    grid-column: 2;
    color: var(--store-muted);
    font-size: 12px;
}

.category-chip.active {
    border-color: rgba(13, 114, 88, .5);
    background: var(--store-mint);
}

.all-products {
    color: var(--store-green);
    font-weight: 950;
}

.horizontal-products {
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 310px);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.product-grid {
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 16px;
}

.discovery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.product-card,
.cart-line,
.cart-summary,
.checkout-form,
.order-card,
.detail-panel,
.empty-state,
.choice-item,
.review-card {
    border: 1px solid var(--store-line);
    border-radius: 16px;
    background: var(--store-surface);
    box-shadow: 0 12px 28px rgba(16, 37, 31, .06);
}

.product-card {
    overflow: hidden;
}

.product-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf3ec;
}

.product-media img,
.detail-media > img,
.mini-list img,
.cart-line img,
.profile-favorites-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-media em {
    position: absolute;
    top: 12px;
    right: 12px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 10px;
    background: var(--store-berry);
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 950;
}

.product-card-body {
    padding: 14px;
}

.product-meta {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--store-muted);
    font-size: 13px;
}

.product-meta span {
    color: var(--store-green-2);
    font-weight: 950;
}

.product-card h3 {
    min-height: 56px;
    margin: 8px 0 10px;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.product-rating-line {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.product-rating-line span {
    border: 1px solid var(--store-line);
    border-radius: 999px;
    padding: 4px 9px;
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 800;
}

.product-card-foot {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-actions {
    align-items: center;
    gap: 8px;
}

.product-actions form {
    margin: 0;
}

.product-actions button,
.favorite-detail-form button {
    min-height: 40px;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(217, 79, 112, .28);
    border-radius: 12px;
    background: #fff;
    color: var(--store-berry);
    padding: 7px 10px;
    font: inherit;
    font-size: 19px;
    font-weight: 950;
    cursor: pointer;
}

.product-card-foot strong,
.detail-price,
.cart-line-main strong,
.order-total strong,
.mini-list strong {
    color: var(--store-green);
    font-weight: 950;
}

.mini-list {
    gap: 10px;
}

.mini-list a {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--store-line);
    border-radius: 14px;
    background: #fff;
    padding: 8px;
}

.mini-list img {
    width: 64px;
    aspect-ratio: 1;
    border-radius: 12px;
}

.mini-list span {
    font-weight: 900;
    overflow-wrap: anywhere;
}

.empty-state {
    display: grid;
    justify-items: start;
    gap: 10px;
    padding: 26px;
}

.empty-state h3,
.empty-state p {
    margin: 0;
}

.empty-state p {
    color: var(--store-muted);
}

.empty-state.compact {
    padding: 18px;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(360px, 1.06fr);
    gap: 18px;
    align-items: start;
}

.detail-media {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 20px;
    background: #edf3ec;
    box-shadow: var(--store-shadow);
}

.detail-panel {
    padding: 22px;
}

.detail-price {
    margin: 0 0 14px;
    font-size: 22px;
}

.favorite-detail-form {
    margin: 0 0 18px;
}

.order-form,
.checkout-form,
.cart-lines,
.tracking-results,
.reviews-list,
.mini-list,
.stack-actions {
    gap: 12px;
}

.order-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.order-form legend {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 950;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.choice-item {
    min-height: 78px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    cursor: pointer;
}

.choice-item input {
    width: 18px;
    height: 18px;
    accent-color: var(--store-green-2);
}

.choice-item strong,
.choice-item small,
.choice-item em {
    display: block;
}

.choice-item small {
    color: var(--store-muted);
}

.choice-item em {
    color: var(--store-berry);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.quantity-row {
    display: grid;
    grid-template-columns: 80px 110px;
    align-items: center;
    gap: 12px;
}

.detail-actions {
    gap: 10px;
    flex-wrap: wrap;
}

.detail-actions button,
.detail-actions a {
    flex: 1 1 180px;
}

.store-page-head {
    padding-block: 8px 4px;
}

.cart-layout,
.checkout-layout,
.order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
    align-items: start;
}

.tracking-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.cart-line {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) minmax(210px, auto);
    gap: 14px;
    align-items: center;
    padding: 12px;
}

.cart-line img {
    width: 104px;
    aspect-ratio: 1;
    border-radius: 14px;
}

.cart-line-main h2 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 950;
}

.cart-line-main p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--store-muted);
}

.cart-line-actions {
    display: grid;
    gap: 8px;
}

.cart-line-actions form {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.cart-line-actions input {
    max-width: 86px;
}

.btn-danger-lite {
    border-color: rgba(217, 79, 112, .3) !important;
    color: var(--store-berry) !important;
}

.cart-summary {
    position: sticky;
    top: 14px;
    padding: 18px;
}

.cart-summary dl,
.order-info {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.cart-summary dl div,
.order-info div,
.order-total {
    align-items: start;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--store-line);
    padding-top: 10px;
}

.cart-summary dt,
.order-info dt {
    color: var(--store-muted);
    font-weight: 800;
}

.cart-summary dd,
.order-info dd {
    margin: 0;
    text-align: left;
    overflow-wrap: anywhere;
}

.primary-action,
.link-button {
    width: 100%;
}

.link-button {
    margin-top: 10px;
    background: transparent;
}

.offer-form {
    display: grid;
    gap: 8px;
    border-bottom: 1px solid var(--store-line);
    padding-bottom: 14px;
    margin-bottom: 6px;
}

.offer-form p {
    margin: 0;
    color: var(--store-green-2);
    font-size: 13px;
    font-weight: 900;
}

.checkout-form {
    padding: 18px;
}

.field-group {
    display: grid;
    gap: 6px;
}

.checkout-form textarea {
    resize: vertical;
}

.field-validation-error,
.validation-summary-errors {
    color: var(--store-berry);
    font-size: 13px;
    font-weight: 800;
}

.summary-lines {
    margin-top: 14px;
}

.summary-lines div {
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--store-line);
    padding-bottom: 10px;
}

.summary-lines span {
    overflow-wrap: anywhere;
}

.summary-lines small {
    display: block;
    color: var(--store-muted);
    font-size: 12px;
}

.order-complete {
    display: grid;
    gap: 18px;
}

.order-status {
    border-radius: 20px;
    background: var(--store-green);
    color: #fff;
    padding: 28px;
}

.order-status span {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    padding: 4px 12px;
    font-weight: 900;
}

.order-status p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
}

.order-card {
    padding: 18px;
}

.order-stepper {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.order-step {
    border: 1px solid var(--store-line);
    border-radius: 14px;
    background: var(--store-surface);
    padding: 12px;
    color: var(--store-muted);
}

.order-step span {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #edf0e7;
    margin-bottom: 8px;
    font-weight: 950;
}

.order-step strong {
    display: block;
}

.order-step.done {
    border-color: rgba(13, 114, 88, .45);
    color: var(--store-green);
}

.order-step.done span {
    background: var(--store-green);
    color: #fff;
}

.order-step.current {
    box-shadow: 0 0 0 3px rgba(13, 114, 88, .1);
}

.track-order-head {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.track-order-head strong,
.track-order-head span,
.track-order-head small {
    display: block;
}

.track-order-head span,
.track-order-head small {
    color: var(--store-muted);
    font-size: 13px;
}

.track-order-head a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--store-line);
    border-radius: 12px;
    padding: 6px 12px;
    font-weight: 900;
}

.static-page {
    max-width: 860px;
}

.static-page p {
    margin: 0 0 18px;
    color: var(--store-muted);
}

.secondary-action {
    border-color: var(--store-line);
    background: var(--store-surface);
    color: var(--store-ink);
}

.profile-card h2,
.profile-card h3 {
    margin: 0 0 12px;
}

.profile-card h3 {
    font-size: 17px;
}

.profile-addresses,
.wallet-transactions {
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-addresses li,
.wallet-transactions li,
.profile-favorites-grid a,
.review-card div {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.profile-addresses li,
.wallet-transactions li {
    border: 1px solid var(--store-line);
    border-radius: 12px;
    padding: 10px;
}

.wallet-transactions .credit strong {
    color: var(--store-green-2);
}

.wallet-transactions .debit strong {
    color: var(--store-berry);
}

.profile-favorites-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.profile-favorites-grid a {
    border: 1px solid var(--store-line);
    border-radius: 12px;
    padding: 8px;
}

.profile-favorites-grid img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

.store-map {
    width: 100%;
    min-height: 320px;
    border: 1px solid var(--store-line);
    border-radius: 16px;
    overflow: hidden;
    background: #f4f7f2;
}

.location-picker-toolbar,
.wallet-use-row,
.favorite-save-form div,
.profile-inline-form,
.wallet-action-form {
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.location-picker-toolbar {
    margin-bottom: 10px;
    color: var(--store-muted);
}

.product-reviews-section,
.favorite-save-form {
    margin-top: 22px;
}

.product-gallery-strip {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 8px;
}

.product-gallery-strip img {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid rgba(255, 255, 255, .8);
    border-radius: 12px;
    object-fit: cover;
}

.reviews-layout {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.review-card {
    padding: 14px;
}

.review-card p {
    margin: 10px 0;
}

.review-card span,
.wallet-transactions small {
    color: var(--store-muted);
    font-size: 12px;
}

.account-shell,
.profile-layout,
.rating-layout {
    display: grid;
    gap: 18px;
    align-items: start;
}

.account-shell {
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
}

.account-intro {
    min-height: 380px;
    display: grid;
    align-content: end;
    border-radius: 20px;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(6, 74, 61, .14), rgba(6, 74, 61, .88)),
        url("/uploads/seed/hero-citrus.png") center/cover;
    color: #fff;
    box-shadow: var(--store-shadow);
}

.account-intro span,
.account-intro p {
    color: rgba(255, 255, 255, .78);
}

.account-intro h2 {
    margin: 8px 0 10px;
    font-size: 25px;
    font-weight: 950;
    line-height: 1.65;
}

.account-intro p,
.account-form h2 {
    margin: 0;
}

.account-forms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field-row {
    display: grid;
    gap: 10px;
}

.field-row.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-account-strip,
.saved-address-picker,
.profile-address-list,
.profile-orders,
.rating-products {
    display: grid;
    gap: 10px;
}

.checkout-account-strip {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    border: 1px solid rgba(13, 114, 88, .24);
    border-radius: 14px;
    padding: 10px 12px;
    background: var(--store-mint);
}

.checkout-account-strip span,
.saved-address-picker small,
.profile-hero small,
.profile-address-title small,
.profile-order-row span,
.profile-order-row small {
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 800;
}

.saved-address-picker > label {
    font-weight: 950;
}

.saved-address-picker > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}

.saved-address-picker button {
    min-height: 78px;
    display: grid;
    justify-items: start;
    gap: 4px;
    border: 1px solid var(--store-line);
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    color: var(--store-ink);
    text-align: right;
    cursor: pointer;
}

.saved-address-picker button:hover {
    border-color: rgba(13, 114, 88, .4);
    background: var(--store-mint);
}

.profile-logout-form {
    margin: 0;
}

.profile-logout-form button,
.profile-address-actions button,
.profile-order-actions a,
.profile-order-actions button,
.rating-submit-bar button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--store-line);
    border-radius: 12px;
    padding: 7px 13px;
    background: var(--store-surface);
    color: var(--store-ink);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.profile-hero {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.profile-hero > div {
    border: 1px solid var(--store-line);
    border-radius: 16px;
    padding: 16px;
    background: var(--store-surface);
    box-shadow: 0 12px 28px rgba(16, 37, 31, .06);
}

.profile-hero span,
.profile-hero strong,
.profile-hero small,
.profile-section-head span,
.profile-order-row strong,
.profile-order-row span,
.profile-order-row small {
    display: block;
}

.profile-hero strong {
    margin-top: 4px;
    color: var(--store-green);
    font-size: 22px;
    font-weight: 950;
}

.profile-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
}

.profile-main-column,
.profile-side-column {
    display: grid;
    gap: 14px;
}

.profile-section-head,
.profile-address-title,
.profile-order-row,
.profile-order-actions,
.profile-address-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.profile-section-head {
    margin-bottom: 14px;
}

.profile-chip {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(13, 114, 88, .24);
    border-radius: 999px;
    padding: 4px 11px;
    background: var(--store-mint);
    color: var(--store-green);
    font-size: 12px;
    font-weight: 950;
}

.profile-grid-form,
.profile-address-editor form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.profile-grid-form.one-column,
.profile-address-editor form {
    grid-template-columns: 1fr;
}

.profile-grid-form input,
.profile-grid-form select,
.profile-address-editor textarea,
.profile-order-actions button,
.rating-card input,
.rating-card select,
.rating-product-row input,
.rating-product-row select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--store-line);
    border-radius: 12px;
    padding: 8px 12px;
    outline: 0;
    background: #fff;
    color: var(--store-ink);
}

.profile-grid-form button,
.profile-address-actions button,
.profile-order-actions a:nth-child(2),
.rating-submit-bar button {
    border-color: var(--store-citrus);
    background: var(--store-citrus);
    color: #23180b;
}

.profile-address-editor {
    border: 1px solid var(--store-line);
    border-radius: 14px;
    padding: 12px;
    background: #fff;
}

.profile-address-editor + .profile-address-editor,
.wallet-transactions {
    margin-top: 10px;
}

.profile-address-map {
    min-height: 220px;
}

.profile-order-row {
    border: 1px solid var(--store-line);
    border-radius: 14px;
    padding: 12px;
    background: #fff;
}

.profile-order-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.profile-order-actions form,
.profile-address-actions form {
    margin: 0;
}

.rating-layout {
    grid-template-columns: 1fr;
}

.rating-products {
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}

.rating-product-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.rating-product-row img {
    width: 88px;
    aspect-ratio: 1;
    border-radius: 14px;
    object-fit: cover;
}

.rating-product-row strong {
    display: block;
    margin-bottom: 8px;
    font-weight: 950;
}

.rating-submit-bar {
    position: sticky;
    bottom: 86px;
    z-index: 5;
    border: 1px solid var(--store-line);
    border-radius: 16px;
    padding: 10px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
}

.pwa-install-prompt {
    position: fixed;
    right: 16px;
    bottom: 88px;
    z-index: 70;
    max-width: min(360px, calc(100vw - 32px));
    display: none;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(13, 114, 88, .24);
    border-radius: 16px;
    padding: 12px;
    background: var(--store-surface);
    box-shadow: var(--store-shadow);
}

.pwa-install-prompt.show {
    display: grid;
}

.pwa-install-prompt strong,
.pwa-install-prompt span {
    display: block;
}

.pwa-install-prompt span {
    color: var(--store-muted);
    font-size: 12px;
}

.pwa-install-prompt button {
    min-height: 38px;
    border: 0;
    border-radius: 12px;
    padding: 7px 12px;
    background: var(--store-citrus);
    color: #23180b;
    font: inherit;
    font-weight: 950;
    cursor: pointer;
}

.pwa-install-prompt .pwa-dismiss-button {
    width: 34px;
    min-height: 34px;
    padding: 0;
    border: 1px solid var(--store-line);
    background: #fff;
    color: var(--store-muted);
    font-size: 20px;
    line-height: 1;
}

.pwa-install-prompt .pwa-dismiss-button:hover {
    color: var(--store-green);
    background: var(--store-mint);
}

.store-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    border-top: 1px solid var(--store-line);
    padding: 22px 0 28px;
    color: var(--store-muted);
}

.store-footer span {
    color: var(--store-ink);
    font-weight: 950;
}

.store-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-top: 1px solid var(--store-line);
    padding: 8px max(8px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
}

.store-bottom-nav a {
    position: relative;
    width: 86px;
    min-width: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    color: #aab4ae;
    font-size: 12px;
    font-weight: 900;
}

.store-bottom-nav i {
    font-size: 20px;
}

.store-bottom-nav a.active {
    color: var(--store-green);
}

.cart-tab strong {
    position: absolute;
    top: -5px;
    left: 14px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--store-berry);
    color: #fff;
    font-size: 11px;
}

@media (max-width: 920px) {
    .store-topbar,
    .store-main,
    .store-footer {
        width: min(100% - 20px, 760px);
    }

    .store-topbar,
    .section-heading,
    .store-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .store-nav {
        width: 100%;
        justify-content: stretch;
    }

    .store-nav a {
        flex: 1 1 112px;
    }

    .store-hero,
    .product-detail,
    .cart-layout,
    .checkout-layout,
    .order-layout,
    .tracking-layout,
    .account-shell,
    .profile-layout {
        grid-template-columns: 1fr;
    }

    .account-forms,
    .profile-hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-media {
        min-height: 320px;
    }

    .cart-summary {
        position: static;
    }

    .reviews-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    body.store-body {
        padding-bottom: 88px;
    }

    .store-topbar {
        min-height: 64px;
    }

    .store-nav {
        display: none;
    }

    .store-hero {
        min-height: 440px;
        align-items: center;
        padding-top: 28px;
        padding-bottom: 34px;
    }

    .store-hero-copy {
        text-align: right;
    }

    .store-hero h1,
    .store-page-head h1,
    .product-detail h1,
    .order-status h1 {
        font-size: 28px;
    }

    .search-line,
    .advanced-search .filter-row,
    .offer-form div,
    .discovery-grid,
    .product-grid,
    .choice-grid,
    .account-forms,
    .field-row.two-columns,
    .profile-hero,
    .profile-grid-form,
    .checkout-account-strip,
    .rating-products {
        grid-template-columns: 1fr;
    }

    .profile-order-row,
    .profile-section-head,
    .profile-address-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-order-actions {
        width: 100%;
        justify-content: stretch;
    }

    .profile-order-actions a,
    .profile-order-actions form,
    .profile-order-actions button {
        width: 100%;
    }

    .rating-product-row {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .rating-product-row img {
        width: 72px;
    }

    .horizontal-products {
        grid-auto-columns: minmax(254px, 82vw);
    }

    .category-strip {
        grid-auto-columns: minmax(148px, 48vw);
    }

    .cart-line {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .cart-line img {
        width: 84px;
    }

    .cart-line-actions {
        grid-column: 1 / -1;
    }

    .cart-line-actions form {
        justify-content: stretch;
    }

    .cart-line-actions button {
        flex: 1 1 auto;
    }

    .quantity-row {
        grid-template-columns: 1fr;
    }

    .store-bottom-nav {
        justify-content: space-between;
    }

    .store-bottom-nav a {
        width: auto;
        flex: 1 1 0;
        font-size: 11px;
    }
}
