:root {
    --black: #111318;
    --black-soft: #1a1d23;
    --gray-900: #252933;
    --gray-700: #555d6c;
    --gray-500: #858d9b;
    --gray-300: #d9dde4;
    --gray-200: #e8ebf0;
    --gray-100: #f4f6f8;
    --white: #ffffff;
    --yellow: #ffd500;
    --yellow-dark: #e4bc00;
    --blue: #0057b8;
    --green: #197a4a;
    --red: #b42318;
    --orange: #b54708;
    --radius: 18px;
    --shadow:
        0 18px 55px rgba(17, 19, 24, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--black);
    font-family:
        Inter,
        Manrope,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.55;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
select {
    cursor: pointer;
}

.container {
    width: min(1200px, calc(100% - 36px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 78px;
    display: grid;
    grid-template-columns:
        auto auto minmax(240px, 1fr) auto;
    align-items: center;
    gap: 30px;
}

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

.brand-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--black);
    color: var(--yellow);
    font-size: 24px;
    font-weight: 900;
}

.brand-copy {
    display: grid;
    line-height: 1;
}

.brand-copy strong {
    letter-spacing: 0.08em;
    font-size: 19px;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--gray-700);
    letter-spacing: 0.25em;
    font-size: 9px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 700;
}

.main-nav a:hover {
    color: var(--blue);
}

.header-search {
    display: grid;
    grid-template-columns: 1fr auto;
    overflow: hidden;
    border: 1px solid var(--gray-300);
    border-radius: 13px;
    background: var(--gray-100);
}

.header-search input {
    min-width: 0;
    padding: 11px 14px;
    border: 0;
    outline: 0;
    background: transparent;
}

.header-search button {
    border: 0;
    padding-inline: 17px;
    background: var(--black);
    color: var(--white);
    font-weight: 800;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.cart-link strong {
    min-width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--yellow);
    font-size: 12px;
}

.notice-wrap {
    padding-top: 18px;
}

.notice {
    border-radius: 12px;
    padding: 15px 18px;
}

.notice ul {
    margin-bottom: 0;
}

.notice-success {
    background: #e9f8ef;
    color: var(--green);
}

.notice-warning {
    background: #fff5df;
    color: var(--orange);
}

.notice-error {
    background: #fff0ee;
    color: var(--red);
}

.hero {
    overflow: hidden;
    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(255, 213, 0, 0.19),
            transparent 31%
        ),
        var(--black);
    color: var(--white);
}

.hero-grid {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 70px;
    padding-block: 80px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--blue);
    letter-spacing: 0.18em;
    font-size: 12px;
    font-weight: 900;
}

.hero .eyebrow,
.mission-section .eyebrow {
    color: var(--yellow);
}

.hero h1,
.page-hero h1,
.seller-hero h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero h1 span {
    display: block;
    color: var(--yellow);
}

.hero-copy > p {
    max-width: 690px;
    margin: 28px 0 0;
    color: #c9ced7;
    font-size: 20px;
}

.hero-actions,
.success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    padding: 12px 21px;
    font-weight: 900;
    transition:
        transform 0.15s ease,
        background 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.button-primary {
    background: var(--yellow);
    color: var(--black);
}

.button-primary:hover {
    background: #ffe13f;
}

.button-secondary {
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--black);
}

.button-light {
    background: var(--white);
    color: var(--black);
}

.button-full {
    width: 100%;
}

.button-large {
    min-height: 58px;
    font-size: 17px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 55px;
}

.hero-stats div {
    display: grid;
}

.hero-stats strong {
    font-size: 27px;
}

.hero-stats span {
    color: #aeb5c1;
    font-size: 12px;
}

.hero-panel {
    position: relative;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border: 1px solid #363b45;
    border-radius: 30px;
    background:
        linear-gradient(
            145deg,
            #252a34,
            #13151a
        );
    box-shadow:
        0 45px 100px rgba(0, 0, 0, 0.38);
}

.hero-symbol {
    position: absolute;
    top: -58px;
    right: -18px;
    color: rgba(255, 213, 0, 0.13);
    font-size: 390px;
    font-weight: 1000;
    line-height: 1;
}

.hero-panel::after {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    top: 45%;
    height: 6px;
    background:
        linear-gradient(
            90deg,
            var(--blue) 50%,
            var(--yellow) 50%
        );
}

.hero-panel-copy {
    position: relative;
    z-index: 2;
    padding: 42px;
}

.hero-panel-copy > span {
    color: var(--yellow);
    letter-spacing: 0.18em;
    font-size: 11px;
    font-weight: 900;
}

.hero-panel-copy strong {
    display: block;
    margin-top: 12px;
    font-size: 28px;
    line-height: 1.15;
}

.hero-panel-copy p {
    margin-bottom: 0;
    color: #bcc2cb;
}

.section {
    padding-block: 80px;
}

.section-muted {
    background: var(--gray-100);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.section-heading h2,
.product-section h2,
.checkout-section h2 {
    margin: 0;
    font-size: clamp(27px, 4vw, 43px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.section-link {
    color: var(--blue);
    font-weight: 900;
}

.category-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.category-card {
    min-height: 185px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(17, 19, 24, 0.04);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--black);
    color: var(--yellow);
    font-size: 20px;
    font-weight: 900;
}

.category-card strong {
    margin-top: auto;
    font-size: 18px;
    line-height: 1.2;
}

.category-card > span:last-child {
    margin-top: 10px;
    color: var(--gray-700);
    font-size: 13px;
}

.products-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-image {
    position: relative;
    aspect-ratio: 1 / 0.88;
    display: block;
    overflow: hidden;
    background: var(--gray-100);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.035);
}

.veteran-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    border-radius: 999px;
    padding: 7px 10px;
    background: var(--yellow);
    color: var(--black);
    font-size: 10px;
    font-weight: 900;
}

.veteran-badge-static {
    position: static;
    display: inline-flex;
    width: fit-content;
}

.product-content {
    padding: 19px;
}

.product-meta {
    color: var(--gray-700);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.product-content h3 {
    min-height: 47px;
    margin: 8px 0 0;
    font-size: 17px;
    line-height: 1.35;
}

.product-content h3 a:hover {
    color: var(--blue);
}

.product-brand {
    min-height: 22px;
    margin: 7px 0 0;
    color: var(--gray-700);
    font-size: 13px;
}

.product-bottom {
    min-height: 42px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.price-prefix {
    display: block;
    color: var(--gray-500);
    font-size: 10px;
}

.price {
    font-size: 21px;
}

.offer-count {
    color: var(--gray-700);
    font-size: 11px;
}

.mission-section {
    padding-block: 80px;
    background:
        linear-gradient(
            115deg,
            var(--black),
            #222630
        );
    color: var(--white);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.mission-grid h2 {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.mission-grid p {
    color: #c8ced7;
    font-size: 18px;
}

.page-hero {
    padding-block: 75px;
    background:
        linear-gradient(
            125deg,
            var(--black),
            #292e38
        );
    color: var(--white);
}

.page-hero-small {
    padding-block: 52px;
}

.page-hero h1 {
    font-size: clamp(38px, 5vw, 62px);
}

.page-hero p {
    max-width: 650px;
    color: #c4cad3;
    font-size: 18px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 34px;
    align-items: start;
}

.catalog-sidebar {
    position: sticky;
    top: 100px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 22px;
    background: var(--white);
}

.filter-block {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
}

.filter-block label,
.checkout-form label > span {
    font-size: 13px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: 11px;
    padding: 12px 13px;
    background: var(--white);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow:
        0 0 0 3px rgba(0, 87, 184, 0.1);
}

.checkbox-row,
.terms-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-block: 18px;
}

.checkbox-row input,
.terms-row input,
.radio-list input {
    width: auto;
    margin-top: 4px;
}

.filter-reset {
    display: block;
    margin-top: 14px;
    color: var(--gray-700);
    text-align: center;
    font-size: 13px;
}

.catalog-summary {
    display: flex;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--gray-700);
}

.products-grid-catalog {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}

.empty-state {
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 50px 28px;
    background: var(--gray-100);
    text-align: center;
}

.empty-state-large {
    padding-block: 90px;
}

.empty-state h2 {
    margin-top: 0;
    font-size: 30px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 38px;
}

.pagination a,
.pagination span {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    background: var(--white);
}

.pagination-current {
    border-color: var(--black) !important;
    background: var(--black) !important;
    color: var(--white);
    font-weight: 900;
}

.pagination-disabled {
    opacity: 0.4;
}

.product-page {
    padding-block: 35px 80px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    color: var(--gray-700);
    font-size: 13px;
}

.breadcrumbs a:hover {
    color: var(--blue);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 52px;
    align-items: start;
}

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

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1 / 0.9;
    border-radius: 16px;
    object-fit: cover;
    background: var(--gray-100);
}

.gallery-grid img:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 1.25 / 1;
}

.gallery-placeholder {
    border-radius: 22px;
    overflow: hidden;
    background: var(--gray-100);
}

.product-summary {
    position: sticky;
    top: 110px;
}

.product-category-label {
    display: block;
    margin-top: 20px;
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-summary h1 {
    margin: 8px 0 0;
    font-size: clamp(35px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.detail-brand {
    margin-top: 18px;
}

.lead {
    color: var(--gray-700);
    font-size: 18px;
}

.detail-meta {
    display: grid;
    gap: 5px;
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
    color: var(--gray-700);
    font-size: 13px;
}

.support-message {
    margin-top: 25px;
    border-left: 5px solid var(--yellow);
    border-radius: 0 13px 13px 0;
    padding: 17px 18px;
    background: #fff9d9;
}

.support-message p {
    margin-bottom: 0;
    color: var(--gray-700);
}

.product-section {
    margin-top: 70px;
}

.offers-list {
    display: grid;
    gap: 12px;
}

.offer-card {
    display: grid;
    grid-template-columns:
        1.3fr 1fr 0.75fr 0.75fr auto;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 18px;
    background: var(--white);
}

.offer-seller {
    display: flex;
    align-items: center;
    gap: 12px;
}

.seller-avatar {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--black);
    color: var(--yellow);
    font-weight: 900;
}

.offer-seller div,
.offer-variant {
    display: grid;
}

.offer-seller a {
    font-weight: 900;
}

.offer-seller span,
.offer-variant span {
    color: var(--gray-700);
    font-size: 11px;
}

.stock-in {
    color: var(--green);
    font-weight: 800;
}

.stock-wait {
    color: var(--orange);
    font-weight: 800;
}

.stock-out {
    color: var(--red);
    font-weight: 800;
}

.offer-price {
    display: grid;
}

.offer-price del {
    color: var(--gray-500);
    font-size: 12px;
}

.offer-price strong {
    font-size: 22px;
}

.offer-card form {
    display: flex;
    gap: 8px;
}

.quantity-input {
    width: 65px;
}

.product-info-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
}

.rich-text {
    color: var(--gray-700);
    font-size: 17px;
}

.attributes-list {
    margin: 25px 0 0;
}

.attributes-list > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    border-bottom: 1px solid var(--gray-200);
    padding-block: 13px;
}

.attributes-list dt {
    color: var(--gray-700);
}

.attributes-list dd {
    margin: 0;
    font-weight: 800;
    text-align: right;
}

.seller-hero {
    padding-block: 70px;
    background: var(--gray-100);
}

.seller-hero-grid {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 38px;
    align-items: center;
}

.seller-logo {
    width: 155px;
    height: 155px;
    display: grid;
    place-items: center;
    border-radius: 32px;
    background: var(--black);
    color: var(--yellow);
    font-size: 76px;
    font-weight: 1000;
}

.seller-hero h1 {
    color: var(--black);
    font-size: clamp(38px, 5vw, 60px);
}

.seller-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.verified-badge {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 10px;
    background: #e5f4ff;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
}

.seller-location {
    color: var(--gray-700);
    font-weight: 800;
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 355px;
    gap: 34px;
    align-items: start;
}

.cart-items {
    display: grid;
    gap: 13px;
}

.cart-item {
    display: grid;
    grid-template-columns:
        105px minmax(180px, 1fr) 165px 125px auto;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 15px;
}

.cart-item-image img {
    width: 105px;
    height: 95px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--gray-100);
}

.cart-item-info > span,
.cart-item-info p,
.cart-item-price span {
    color: var(--gray-700);
    font-size: 12px;
}

.cart-item-info h2 {
    margin: 4px 0;
    font-size: 17px;
}

.cart-quantity label {
    display: block;
    margin-bottom: 5px;
    color: var(--gray-700);
    font-size: 11px;
}

.cart-quantity > div {
    display: flex;
    gap: 5px;
}

.cart-quantity input {
    width: 70px;
    padding: 9px;
}

.small-button,
.remove-button {
    border: 0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 800;
}

.small-button {
    background: var(--gray-900);
    color: var(--white);
}

.remove-button {
    background: #fff0ee;
    color: var(--red);
}

.cart-item-price {
    display: grid;
}

.cart-item-price strong {
    font-size: 18px;
}

.order-summary,
.checkout-summary {
    position: sticky;
    top: 104px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 25px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.order-summary h2,
.checkout-summary h2 {
    margin-top: 0;
    font-size: 25px;
}

.order-summary dl,
.checkout-summary dl {
    margin: 0 0 22px;
}

.order-summary dl > div,
.checkout-summary dl > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 10px;
}

.order-summary dd,
.checkout-summary dd {
    margin: 0;
    font-weight: 800;
}

.summary-total {
    margin-top: 10px;
    border-top: 1px solid var(--gray-200);
    padding-top: 18px !important;
    font-size: 19px;
    font-weight: 900;
}

.continue-link {
    display: block;
    margin-top: 16px;
    color: var(--gray-700);
    text-align: center;
    font-size: 13px;
}

.checkout-form {
    display: grid;
    gap: 18px;
}

.checkout-section {
    position: relative;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px;
}

.checkout-step {
    display: inline-block;
    color: var(--blue);
    font-size: 11px;
    font-weight: 1000;
}

.checkout-section h2 {
    margin: 5px 0 24px;
    font-size: 28px;
}

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

.form-grid label,
.checkout-section > label {
    display: grid;
    gap: 7px;
}

.form-column-full {
    grid-column: 1 / -1;
}

.radio-list {
    display: grid;
    gap: 10px;
}

.radio-list label {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    border: 1px solid var(--gray-200);
    border-radius: 13px;
    padding: 15px;
}

.radio-list span {
    display: grid;
}

.radio-list small {
    color: var(--gray-700);
}

.support-choice {
    background: #fffbe7;
    border-color: #f2df72;
}

.support-choice p {
    color: var(--gray-700);
}

.checkout-products {
    display: grid;
    gap: 14px;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 18px;
}

.checkout-product {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.checkout-product > div {
    display: grid;
}

.checkout-product span {
    color: var(--gray-700);
    font-size: 12px;
}

.success-page {
    min-height: 700px;
    display: grid;
    place-items: center;
    padding-block: 70px;
    background: var(--gray-100);
}

.success-card {
    max-width: 760px;
    margin-inline: auto;
    border-radius: 28px;
    padding: 52px;
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

.success-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
    border-radius: 999px;
    background: var(--yellow);
    font-size: 38px;
    font-weight: 1000;
}

.success-card h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 58px);
    letter-spacing: -0.045em;
}

.order-number {
    display: inline-block;
    margin-top: 6px;
    color: var(--blue);
    font-size: 24px;
}

.success-details {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 35px;
}

.success-details div {
    display: grid;
    border-radius: 13px;
    padding: 17px;
    background: var(--gray-100);
}

.success-details span {
    color: var(--gray-700);
    font-size: 11px;
}

.selected-support,
.payment-note {
    margin-top: 22px;
    border-radius: 12px;
    padding: 15px;
}

.selected-support {
    background: #fff9d9;
}

.payment-note {
    background: #eaf4ff;
    color: var(--blue);
}

.site-footer {
    padding-top: 55px;
    background: var(--black);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1fr;
    gap: 60px;
}

.brand-footer .brand-mark {
    background: var(--yellow);
    color: var(--black);
}

.brand-footer .brand-copy small {
    color: #aeb5c0;
}

.footer-grid p {
    max-width: 450px;
    color: #aeb5c0;
}

.footer-grid h3 {
    margin-top: 0;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-grid a:not(.brand) {
    margin-bottom: 8px;
    color: #d8dce2;
}

.footer-bottom {
    margin-top: 45px;
    border-top: 1px solid #30343d;
    padding-block: 22px;
    color: #8e96a4;
    font-size: 12px;
}

@media (max-width: 1050px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .main-nav {
        display: none;
    }

    .hero-grid,
    .product-detail-grid,
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: 370px;
    }

    .category-grid,
    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .products-grid-catalog {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .offer-card {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .offer-card form {
        justify-content: flex-end;
    }

    .product-summary {
        position: static;
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .order-summary,
    .checkout-summary {
        position: static;
    }

    .cart-item {
        grid-template-columns:
            90px 1fr 130px;
    }

    .cart-item-image img {
        width: 90px;
        height: 85px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1200px);
    }

    .header-inner {
        min-height: 68px;
        grid-template-columns: auto 1fr auto;
        gap: 12px;
    }

    .header-search {
        display: none;
    }

    .brand-copy {
        display: none;
    }

    .cart-link span {
        display: none;
    }

    .hero-grid {
        min-height: auto;
        padding-block: 60px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-copy > p {
        font-size: 17px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .hero-panel {
        min-height: 320px;
    }

    .hero-panel-copy {
        padding: 27px;
    }

    .section {
        padding-block: 55px;
    }

    .category-grid,
    .products-grid,
    .products-grid-catalog {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .product-content {
        padding: 14px;
    }

    .product-content h3 {
        font-size: 14px;
    }

    .price {
        font-size: 17px;
    }

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

    .catalog-sidebar {
        position: static;
    }

    .product-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img:first-child {
        grid-column: auto;
    }

    .offer-card {
        grid-template-columns: 1fr;
    }

    .offer-card form {
        justify-content: flex-start;
    }

    .seller-hero-grid {
        grid-template-columns: 85px 1fr;
        gap: 20px;
    }

    .seller-logo {
        width: 85px;
        height: 85px;
        border-radius: 20px;
        font-size: 40px;
    }

    .cart-item {
        grid-template-columns: 75px 1fr;
        align-items: start;
    }

    .cart-item-image img {
        width: 75px;
        height: 75px;
    }

    .cart-quantity,
    .cart-item-price,
    .cart-item > form:last-child {
        grid-column: 2;
    }

    .form-grid,
    .success-details,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .success-card {
        padding: 35px 20px;
    }

    .footer-grid {
        gap: 28px;
    }
}

@media (max-width: 430px) {
    .category-grid,
    .products-grid,
    .products-grid-catalog {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 39px;
    }
}

/* HRAK PUBLIC ACCOUNT */

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.account-header-link {
    border-left: 1px solid var(--gray-300);
    padding-left: 15px;
    font-size: 14px;
    font-weight: 900;
}

.account-header-link:hover {
    color: var(--blue);
}

.account-auth-page {
    min-height: 720px;
    display: grid;
    place-items: center;
    padding-block: 70px;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 213, 0, 0.15),
            transparent 30%
        ),
        var(--gray-100);
}

.auth-card {
    width: min(520px, 100%);
    margin-inline: auto;
    border: 1px solid var(--gray-200);
    border-radius: 25px;
    padding: 42px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.auth-card-wide {
    width: min(720px, 100%);
}

.auth-heading {
    margin-bottom: 30px;
    text-align: center;
}

.auth-heading h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.auth-heading p {
    color: var(--gray-700);
}

.account-form {
    display: grid;
    gap: 17px;
}

.account-form label {
    display: grid;
    gap: 7px;
}

.account-form label > span {
    font-size: 13px;
    font-weight: 900;
}

.account-form small {
    color: var(--gray-700);
}

.auth-footer {
    margin-top: 24px;
    border-top: 1px solid var(--gray-200);
    padding-top: 21px;
    color: var(--gray-700);
    text-align: center;
}

.auth-footer a {
    color: var(--blue);
    font-weight: 900;
}

.account-hero {
    padding-block: 55px;
    background:
        linear-gradient(
            120deg,
            var(--black),
            #292e38
        );
    color: var(--white);
}

.account-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.account-hero h1 {
    margin: 0;
    font-size: clamp(35px, 5vw, 58px);
    letter-spacing: -0.045em;
}

.account-hero p {
    margin-bottom: 0;
    color: #c2c8d1;
}

.account-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.account-sidebar {
    position: sticky;
    top: 100px;
    display: grid;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
}

.account-sidebar a,
.account-sidebar button {
    width: 100%;
    display: block;
    border: 0;
    border-bottom: 1px solid var(--gray-200);
    padding: 15px 18px;
    background: var(--white);
    color: var(--gray-700);
    text-align: left;
    font-weight: 800;
}

.account-sidebar a.active {
    background: var(--black);
    color: var(--yellow);
}

.account-sidebar a:hover,
.account-sidebar button:hover {
    background: var(--gray-100);
    color: var(--black);
}

.account-content {
    min-width: 0;
    display: grid;
    gap: 24px;
}

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

.account-stat-grid article {
    display: grid;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 20px;
    background: var(--white);
}

.account-stat-grid span {
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 800;
}

.account-stat-grid strong {
    margin-top: 8px;
    font-size: 26px;
}

.account-panel {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 26px;
    background: var(--white);
}

.account-panel > h2 {
    margin-top: 0;
}

.account-panel-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.account-panel-heading h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.account-panel-heading a {
    color: var(--blue);
    font-weight: 900;
}

.account-order-list {
    display: grid;
}

.account-order-row {
    display: grid;
    grid-template-columns:
        minmax(180px, 1.5fr)
        minmax(130px, 0.8fr)
        minmax(90px, 0.6fr)
        minmax(100px, 0.6fr);
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--gray-200);
    padding-block: 16px;
}

.account-order-row:last-child {
    border-bottom: 0;
}

.account-order-row > div {
    display: grid;
}

.account-order-row > div span {
    color: var(--gray-700);
    font-size: 12px;
}

.status-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 900;
}

.status-badge-large {
    padding: 10px 14px;
    font-size: 13px;
}

.status-success {
    background: #e7f6ed;
    color: var(--green);
}

.status-warning {
    background: #fff4d5;
    color: var(--orange);
}

.status-info {
    background: #e6f2ff;
    color: var(--blue);
}

.status-danger {
    background: #fff0ee;
    color: var(--red);
}

.status-gray {
    background: var(--gray-100);
    color: var(--gray-700);
}

.profile-status-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.profile-status-card {
    display: grid;
    min-height: 145px;
    align-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 15px;
    padding: 20px;
    background: var(--gray-100);
}

.profile-status-card > span {
    color: var(--blue);
    font-size: 11px;
    font-weight: 1000;
    text-transform: uppercase;
}

.profile-status-card strong {
    margin-top: 8px;
    font-size: 17px;
}

.profile-status-card small {
    margin-top: 7px;
    color: var(--gray-700);
}

.account-role-line {
    color: var(--gray-700);
    font-size: 12px;
}

.account-empty {
    border: 1px dashed var(--gray-300);
    border-radius: 15px;
    padding: 35px;
    background: var(--gray-100);
    text-align: center;
}

.account-settings-grid {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    align-items: start;
}

.account-order-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.account-order-title h1 {
    margin: 0;
}

.order-account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    align-items: start;
}

.account-items-list {
    display: grid;
}

.account-items-list article {
    display: grid;
    grid-template-columns:
        minmax(180px, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--gray-200);
    padding-block: 16px;
}

.account-items-list article:last-child {
    border-bottom: 0;
}

.account-items-list article > div {
    display: grid;
}

.account-items-list article span {
    color: var(--gray-700);
    font-size: 12px;
}

.account-order-summary {
    position: sticky;
    top: 100px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.account-order-summary h2 {
    margin-top: 0;
}

.account-order-summary dl > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--gray-200);
    padding-block: 12px;
}

.account-order-summary dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

@media (max-width: 1000px) {
    .account-stat-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .account-settings-grid {
        grid-template-columns: 1fr;
    }

    .order-account-grid {
        grid-template-columns: 1fr;
    }

    .account-order-summary {
        position: static;
    }
}

@media (max-width: 760px) {
    .header-actions {
        gap: 9px;
    }

    .account-header-link {
        border-left: 0;
        padding-left: 0;
        font-size: 12px;
    }

    .account-hero-inner {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .account-sidebar {
        position: static;
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .account-sidebar form {
        display: none;
    }

    .account-sidebar a {
        border-right: 1px solid var(--gray-200);
        padding-inline: 10px;
        text-align: center;
        font-size: 12px;
    }

    .profile-status-grid {
        grid-template-columns: 1fr;
    }

    .account-order-row {
        grid-template-columns:
            minmax(0, 1fr) auto;
    }

    .account-order-row > span:nth-of-type(2) {
        display: none;
    }

    .account-items-list article {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .account-order-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-card {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .account-stat-grid {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        grid-template-columns: 1fr;
    }

    .account-sidebar a {
        border-right: 0;
    }
}

/* HRAK PARTNER APPLICATIONS */

.partner-application-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.partner-application-card {
    display: flex;
    flex-direction: column;
    min-height: 380px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 25px;
    background: var(--white);
    box-shadow:
        0 12px 35px rgba(17, 19, 24, 0.05);
}

.partner-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.partner-card-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--black);
    color: var(--yellow);
    font-size: 25px;
    font-weight: 1000;
}

.partner-application-card h2 {
    margin: 28px 0 8px;
    font-size: 28px;
    letter-spacing: -0.035em;
}

.partner-application-card > p {
    margin-top: 0;
    color: var(--gray-700);
}

.partner-application-card > .button {
    margin-top: auto;
}

.moderation-message {
    margin: 16px 0;
    border-left: 4px solid var(--yellow);
    border-radius: 0 12px 12px 0;
    padding: 13px 15px;
    background: #fff9d9;
}

.moderation-message p {
    margin-bottom: 0;
    color: var(--gray-700);
    font-size: 13px;
}

.application-form-container {
    max-width: 900px;
}

.application-back-link {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--blue);
    font-weight: 900;
}

.partner-form {
    display: grid;
    gap: 20px;
}

.partner-form .checkout-section {
    margin: 0;
}

.partner-form .checkout-section > label {
    display: grid;
    gap: 7px;
    margin-top: 15px;
}

.application-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.application-withdraw-form {
    margin-top: 25px;
    text-align: right;
}

@media (max-width: 1000px) {
    .partner-application-grid {
        grid-template-columns: 1fr;
    }

    .partner-application-card {
        min-height: 300px;
    }
}

@media (max-width: 600px) {
    .application-actions {
        flex-direction: column;
    }

    .application-actions .button {
        width: 100%;
    }
}

/* HRAK partner form layout fix */
.partner-form .form-grid > .terms-row { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0; }
.partner-form .form-grid > .terms-row input { flex: 0 0 auto; }
.partner-form label > span { font-size: 13px; font-weight: 800; }
.partner-form textarea { resize: vertical; }

/* HRAK development notice */
.development-banner { background: var(--yellow); border-bottom: 1px solid var(--yellow-dark); color: var(--black); }
.development-banner .container { min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 18px; padding-block: 12px; text-align: center; }
.development-banner strong { font-size: 15px; font-weight: 1000; }
.development-banner span { font-size: 14px; font-weight: 700; }
@media (max-width: 700px) { .development-banner .container { flex-direction: column; gap: 3px; } }
