@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Manrope:wght@400;500;600;700;800&family=Nunito+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap");

:root {
    --navy: #16245a;
    --navy-deep: #101a46;
    --navy-soft: #203171;
    --orange: #f28c28;
    --orange-deep: #e56d11;
    --cream: #f5efe2;
    --white: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.72);
    --line: rgba(255, 255, 255, 0.12);
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: "Manrope", sans-serif;
    background: var(--navy);
}

p {
    font-family: "Nunito Sans", sans-serif;
}

h3 {
    font-family: "Cormorant Garamond", serif;
    letter-spacing: 0.01em;
}

nav,
.hero-section {
    padding-left: clamp(20px, 4vw, 56px);
    padding-right: clamp(20px, 4vw, 56px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 14px;
    background:
        radial-gradient(circle at top left, rgba(242, 140, 40, 0.14), transparent 24%),
        linear-gradient(180deg, #17245a 0%, #17245a 100%);
}

nav .nav-toggle {
    display: none;
}

nav .logo img {
    width: 172px;
    display: block;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    position: relative;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s ease, opacity 0.3s ease;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

nav ul li a:hover {
    color: var(--white);
    opacity: 0.98;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

nav button {
    padding: 11px 24px;
    background: linear-gradient(180deg, #ff9e3a 0%, #f07f17 100%);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(242, 140, 40, 0.22);
}

nav button:hover {
    background: linear-gradient(180deg, #ffab52 0%, #ea6f0d 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
}

nav .nav-toggle {
    width: 44px;
    height: 44px;
    padding: 10px 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
}

nav.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

nav.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

nav.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 360px);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    min-height: 520px;
    padding-top: 48px;
    padding-bottom: 72px;
    background:
        radial-gradient(circle at 12% 22%, rgba(244, 143, 46, 0.16), transparent 20%),
        radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.06), transparent 18%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-content {
    max-width: 620px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-eyebrow::before {
    content: "";
    width: 42px;
    height: 1px;
    background: rgba(242, 140, 40, 0.9);
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.75rem, 5vw, 4.9rem);
    line-height: 0.94;
    letter-spacing: -0.03em;
}

.hero-title span:last-child {
    color: var(--orange);
    font-style: italic;
}

.hero-description {
    max-width: 540px;
    margin-bottom: 28px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 156px;
    padding: 13px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.hero-actions a:first-child {
    background: linear-gradient(180deg, #ff9e3a 0%, #ef7d18 100%);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(242, 140, 40, 0.2);
}

.hero-actions a:last-child {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: var(--cream);
}

.hero-actions a:hover {
    transform: translateY(-2px);
}

.hero-actions a:first-child:hover {
    box-shadow: 0 18px 34px rgba(242, 140, 40, 0.28);
}

.hero-actions a:last-child:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.benefit-card {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(8px);
}

.benefit-card span {
    display: block;
    margin-bottom: 6px;
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    line-height: 1.6;
}

.hero-panel {
    display: flex;
    justify-content: flex-end;
}

.hero-panel-card {
    width: min(100%, 340px);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
        rgba(20, 33, 84, 0.72);
    box-shadow: 0 20px 40px rgba(6, 10, 28, 0.32);
    backdrop-filter: blur(10px);
}

.panel-title {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 800;
}

.panel-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.panel-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(242, 140, 40, 0.24), rgba(242, 140, 40, 0.1));
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
}

.panel-item h2 {
    margin-bottom: 5px;
    color: var(--white);
    font-size: 15px;
    font-weight: 800;
}

.panel-item p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.65;
}

@media (max-width: 980px) {
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 28px;
    }

    .hero-panel {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    nav {
        position: relative;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
        padding-left: 0;
        padding-right: 14px;
    }

    nav .logo {
        margin-right: auto;
    }

    nav .logo img {
        width: 150px;
    }

    nav .nav-toggle {
        display: inline-flex;
    }

    nav .nav-toggle:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.12);
        box-shadow: none;
    }

    nav ul {
        position: absolute;
        top: calc(100% + 8px);
        left: 14px;
        right: 14px;
        z-index: 20;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        background: rgba(16, 26, 70, 0.96);
        box-shadow: 0 16px 32px rgba(8, 15, 42, 0.45);
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 12px 4px;
        font-size: 13px;
    }

    nav.nav-open ul {
        display: flex;
    }

    nav > button:not(.nav-toggle) {
        display: inline-flex;
        width: auto;
        min-height: 44px;
        padding: 10px 14px;
        font-size: 11px;
        letter-spacing: 0.06em;
    }

    .hero-title {
        font-size: clamp(2.3rem, 10vw, 3.6rem);
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-benefits {
        grid-template-columns: 1fr;
    }

    .hero-actions a {
        width: 100%;
    }
}

.catalog-section {
    padding: 28px clamp(20px, 4vw, 56px) 72px;
    background: #f7f4ed;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding: 18px 22px;
    border: 1px solid rgba(22, 36, 90, 0.08);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(16, 26, 70, 0.06);
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 10px 16px;
    border: 1px solid rgba(22, 36, 90, 0.12);
    border-radius: 999px;
    background: #f8f9fc;
    color: #16245a;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(242, 140, 40, 0.1);
}

.search-bar input::placeholder {
    color: #52607f;
}

.catalog-kicker {
    color: #16245a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-switcher {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 6px;
    border-radius: 999px;
    background: #eef1f8;
}

.switcher-tab {
    padding: 10px 18px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #52607f;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.switcher-tab:hover {
    color: #16245a;
    transform: translateY(-1px);
}

.switcher-tab.active {
    background: linear-gradient(180deg, #ff9e3a 0%, #ef7d18 100%);
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(242, 140, 40, 0.22);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.catalog-sidebar {
    display: grid;
    gap: 18px;
}

.sidebar-block {
    padding: 20px 18px;
    border: 1px solid rgba(22, 36, 90, 0.08);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(16, 26, 70, 0.05);
}

.sidebar-block h2 {
    margin-bottom: 14px;
    color: #16245a;
    font-size: 16px;
    font-weight: 800;
}

.sidebar-block ul {
    list-style: none;
}

.sidebar-block li + li {
    margin-top: 12px;
}

.sidebar-block a {
    color: #5d6786;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.sidebar-block a:hover {
    color: #f28c28;
    padding-left: 4px;
}

.payment-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 0;
    border-left: 3px solid #f28c28;
    background: linear-gradient(180deg, #21318f 0%, #192870 100%);
    box-shadow: 0 14px 28px rgba(18, 32, 96, 0.22);
}

.payment-label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.payment-chip {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.payment-chip:focus-visible {
    outline: none;
    border-color: rgba(247, 165, 49, 0.9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 3px rgba(247, 165, 49, 0.22);
}

.payment-chip:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.14);
}

.payment-icon {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
}

.payment-name {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.payment-check {
    color: #f7a531;
    font-size: 12px;
    font-weight: 800;
}

.payment-icon-apple {
    background: #f05d4e;
}

.payment-icon-zelle {
    background: #7a52ff;
}

.payment-icon-paypal {
    background: #1e9cf0;
}

.payment-icon-card {
    background: #3a7cff;
}

.payment-note {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.5;
}

.catalog-main {
    display: grid;
    gap: 20px;
}

.catalog-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border: 1px solid rgba(22, 36, 90, 0.08);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(16, 26, 70, 0.05);
}

.catalog-label {
    margin-bottom: 8px;
    color: #f28c28;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.catalog-header h2 {
    color: #16245a;
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 800;
}

.catalog-sort {
    display: grid;
    gap: 8px;
}

.catalog-sort label {
    color: #5d6786;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.catalog-sort select {
    min-width: 180px;
    padding: 12px 14px;
    border: 1px solid rgba(22, 36, 90, 0.12);
    border-radius: 10px;
    background: #f8f9fc;
    color: #16245a;
    font: inherit;
}

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

.product-card {
    position: relative;
    padding: 18px;
    border: 1px solid rgba(22, 36, 90, 0.08);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(16, 26, 70, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 36px rgba(16, 26, 70, 0.1);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(242, 140, 40, 0.12);
    color: #e56d11;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-image {
    display: grid;
    place-items: center;
    height: 210px;
    margin-bottom: 16px;
    border-radius: 14px;
    background:
        radial-gradient(circle at top, rgba(72, 130, 255, 0.16), transparent 42%),
        linear-gradient(180deg, #f9fbff 0%, #eef4ff 100%);
}

.product-image img {
    width: min(100%, 150px);
    object-fit: contain;
}

.product-info {
    display: grid;
    gap: 6px;
}

.product-category {
    color: #7c86a4;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-info h3 {
    color: #16245a;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}

.product-price {
    color: #2f3b78;
    font-size: 16px;
    font-weight: 800;
}

.product-card {
    display: grid;
    gap: 18px;
}

.product-card[hidden],
.product-card.is-hidden {
    display: none !important;
}

.add-to-cart {
    justify-self: center;
    min-width: 138px;
    padding: 10px 18px;
    border: 1px solid #1f3f9a;
    border-radius: 8px;
    background: linear-gradient(180deg, #355ec9 0%, #213f98 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 10px 18px rgba(33, 63, 152, 0.2);
}

.add-to-cart:hover {
    background: linear-gradient(180deg, #3f6fe2 0%, #2548ad 100%);
    border-color: #2548ad;
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 14px 24px rgba(33, 63, 152, 0.28);
}

@media (max-width: 980px) {
    .catalog-toolbar,
    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-bar {
        width: 100%;
        margin-top: 12px;
    }

    .search-bar input {
        width: 100%;
    }

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

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

@media (max-width: 640px) {
    .catalog-toolbar {
        padding: 16px;
    }

    .section-switcher {
        width: 100%;
        border-radius: 18px;
    }

    .switcher-tab {
        width: 100%;
        text-align: center;
    }

    .search-bar {
        width: 100%;
        margin-top: 12px;
    }

    .search-bar input {
        width: 100%;
    }

    .catalog-header,
    .sidebar-block,
    .product-card {
        padding: 16px;
    }

    .catalog-sort,
    .catalog-sort select {
        width: 100%;
    }

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

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, #0f1d54 0%, #0b1540 100%);
    color: rgba(255, 255, 255, 0.86);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 34px clamp(20px, 4vw, 56px) 24px;
}

.footer-brand {
    display: grid;
    gap: 12px;
    align-content: start;
}

.footer-logo-link {
    display: inline-flex;
    width: fit-content;
}

.footer-logo-link img {
    width: 146px;
    display: block;
}

.footer-brand p {
    max-width: 320px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
    line-height: 1.7;
}

.footer-column h3 {
    margin-bottom: 10px;
    color: #e56d11;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
}

.footer-column li + li {
    margin-top: 8px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.64);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.25s ease;
}

.footer-column a:hover {
    color: #f7a531;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px clamp(20px, 4vw, 56px) 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

@media (max-width: 980px) {
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 26px;
    }

    .footer-brand p {
        max-width: none;
    }
}
