:root {
    --shell-ink: #10233f;
    --shell-ink-soft: #506178;
    --shell-navy: #133b6b;
    --shell-red: #d64045;
    --shell-sky: #dbe9ff;
    --shell-mint: #ebf7f2;
    --shell-line: #d8deeb;
    --shell-bg: #fffdf8;
    --shell-shadow: 0 18px 45px rgba(16, 35, 63, 0.10);
    --shell-radius-xl: 28px;
    --shell-radius-lg: 20px;
    --shell-radius-md: 14px;
}

body {
    background:
        radial-gradient(circle at top left, rgba(219, 233, 255, 0.7), transparent 28%),
        linear-gradient(180deg, #f6f8fc 0%, #fffdf8 42%, #f7f4ed 100%);
}

.container {
    width: min(1220px, calc(100% - 24px));
    margin: 0 auto;
}

.topbar {
    background: #0f2744;
    color: #f4f7ff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.topbar-points,
.topbar-contact {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.topbar-points span,
.topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(244,247,255,0.92);
    font-size: 15px;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 253, 248, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(16, 35, 63, 0.08);
    box-shadow: var(--shell-shadow);
}

.header-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 18px 0;
}

.brand-lockup {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
}

.brand-name {
    font-family: "Bebas Neue", sans-serif;
    font-size: 44px;
    line-height: 0.92;
    letter-spacing: 0.04em;
    color: var(--shell-navy);
}

.brand-name span {
    color: var(--shell-red);
}

.brand-tag {
    color: var(--shell-ink-soft);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.primary-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.primary-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    color: var(--shell-ink-soft);
    text-decoration: none;
}

.primary-nav a.active,
.primary-nav a:hover {
    color: var(--shell-navy);
    background: var(--shell-sky);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-search-form {
    min-height: 52px;
    padding: 0 8px 0 16px;
    max-width: 228px;
    flex: 0 1 228px;
    border-radius: 999px;
    border: 1px solid rgba(19, 59, 107, 0.14);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,249,255,0.98) 100%);
    color: var(--shell-ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 10px 24px rgba(16, 35, 63, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.header-search-form:hover {
    border-color: rgba(19, 59, 107, 0.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.88), 0 14px 28px rgba(16, 35, 63, 0.1);
}

.header-search-form:focus-within {
    border-color: rgba(214, 64, 69, 0.55);
    box-shadow: 0 0 0 4px rgba(214, 64, 69, 0.08), 0 16px 30px rgba(16, 35, 63, 0.12);
    transform: translateY(-1px);
}

.header-search-form i {
    color: var(--shell-red);
    font-size: 0.95rem;
}

.header-search-form input {
    width: 138px;
    max-width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--shell-ink);
    font: inherit;
    font-size: 15px;
}

.header-search-form input::placeholder {
    color: #7a8798;
}

.header-search-form button {
    border: 0;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--shell-red), #e56f43);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 20px rgba(214, 64, 69, 0.2);
}

.mini-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid var(--shell-line);
    background: #fff;
    color: var(--shell-navy);
}

.mini-cta.primary {
    background: linear-gradient(135deg, var(--shell-red), #e56f43);
    color: #fff;
    border-color: transparent;
}

.top-contact-bar {
    background: #0f2744;
    color: #f4f7ff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-contact-container,
.header-container,
.footer-content,
.footer-bottom {
    gap: 18px;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 253, 248, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(16, 35, 63, 0.08);
    box-shadow: var(--shell-shadow);
}

.logo,
.footer-logo {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--shell-navy);
}

.logo-accent,
.footer-logo span {
    color: var(--shell-red);
}

.logo-tagline {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.search-input,
.form-control,
.form-select,
.select,
.field {
    border-radius: 14px;
}

.action-btn,
.btn,
.btn-primary,
.btn-secondary,
.action-btn-primary,
.action-btn-secondary,
.add-to-cart-btn,
.cart-item-remove,
.contact-form-card button {
    border-radius: 999px;
}

.action-btn-primary,
.btn-primary,
.add-to-cart-btn {
    background: linear-gradient(135deg, var(--shell-red), #e56f43) !important;
    color: #fff !important;
    border: 0 !important;
}

.action-btn-secondary,
.btn-secondary {
    background: var(--shell-sky) !important;
    color: var(--shell-navy) !important;
}

.category-nav {
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(16, 35, 63, 0.08);
    backdrop-filter: blur(12px);
}

.category-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 0;
}

.category-link,
.category-filter-btn {
    border-radius: 999px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--shell-line);
    color: var(--shell-ink-soft);
    font-size: 14px;
    font-weight: 700;
}

.category-link:hover,
.category-filter-btn:hover,
.category-filter-btn.active {
    background: var(--shell-sky);
    color: var(--shell-navy);
    border-color: #aac4ec;
}

.page-content,
main.container {
    padding-top: 24px;
    padding-bottom: 44px;
}

.about-hero,
.contact-hero,
.cart-hero,
.hero-wrap,
.category-hero {
    border-radius: var(--shell-radius-xl);
    overflow: hidden;
    box-shadow: var(--shell-shadow);
}

.about-hero,
.contact-hero,
.cart-hero,
.category-hero {
    background: linear-gradient(135deg, var(--shell-navy), #275e9e);
    color: #fff;
}

.hero-title,
.about-hero-title,
.contact-hero-title {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.hero-subtitle,
.about-hero-subtitle,
.contact-hero-subtitle {
    color: rgba(255,255,255,0.88);
}

.content-card,
.value-card,
.contact-info-card,
.contact-form-card,
.cart-items,
.cart-summary,
.product-card,
.filter-sidebar,
.results-header,
.no-results,
.cta-section,
.cart-hero,
.about-content-section,
.contact-container,
.faq-section {
    border-radius: var(--shell-radius-lg);
}

.content-card,
.value-card,
.contact-info-card,
.contact-form-card,
.cart-items,
.cart-summary,
.product-card,
.filter-sidebar,
.results-header,
.no-results {
    background: #fff;
    border: 1px solid var(--shell-line);
    box-shadow: var(--shell-shadow);
}

.section-title,
.results-title,
.cart-title,
.cta-title,
.filter-title {
    color: var(--shell-navy);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.simple-modal,
.action-dialog {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 23, 41, 0.62);
    backdrop-filter: blur(7px);
}

.simple-modal-content,
.action-dialog-content {
    width: min(100%, 520px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(19, 59, 107, 0.1);
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(10, 23, 41, 0.22);
}

.simple-modal-header {
    margin-bottom: 16px;
}

.simple-modal-title,
.action-dialog-title {
    margin: 0;
    color: var(--shell-navy);
    font-size: 1.5rem;
    line-height: 1.08;
    text-transform: uppercase;
}

.simple-modal-header p,
.action-dialog-text {
    margin: 8px 0 0;
    color: var(--shell-ink-soft);
    font-size: 0.98rem;
    line-height: 1.6;
}

.simple-form-group {
    margin-top: 14px;
}

.simple-form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--shell-navy);
    font-size: 0.92rem;
    font-weight: 700;
}

.simple-form-control {
    width: 100%;
    border: 1px solid var(--shell-line);
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
    color: var(--shell-ink);
    font: inherit;
}

.simple-form-control:focus {
    outline: none;
    border-color: rgba(214, 64, 69, 0.5);
    box-shadow: 0 0 0 4px rgba(214, 64, 69, 0.1);
}

.simple-modal-actions,
.action-dialog-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.simple-btn,
.action-dialog-btn {
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--shell-line);
    border-radius: 999px;
    background: #fff;
    color: var(--shell-navy);
    font-size: 0.95rem;
    font-weight: 800;
}

.simple-btn-primary,
.action-dialog-btn-cart {
    background: linear-gradient(135deg, var(--shell-red), #e56f43);
    color: #fff;
    border-color: transparent;
}

.simple-btn-secondary,
.action-dialog-btn-continue {
    background: #fff;
    color: var(--shell-navy);
}

.action-dialog-content {
    text-align: center;
}

.action-dialog-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    color: var(--shell-red);
    background: rgba(214, 64, 69, 0.1);
}

.footer {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(219, 233, 255, 0.55), transparent 24%),
        linear-gradient(180deg, #fbfcff 0%, #f3f7fd 100%);
    border-top: 1px solid rgba(16, 35, 63, 0.08);
    padding: 34px 0 24px;
}

.footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--shell-red) 0%, #ef8d52 42%, var(--shell-navy) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.8fr) minmax(220px, 0.9fr);
    gap: 24px;
}

.footer-grid > div {
    padding: 20px 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(19, 59, 107, 0.08);
    box-shadow: 0 16px 36px rgba(16, 35, 63, 0.06);
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer h4 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.05;
    color: var(--shell-navy);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.footer-description,
.footer-bottom,
.contact-item-footer span,
.footer a {
    color: var(--shell-ink-soft);
}

.footer-description {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

.footer a,
.footer span {
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
}

.footer a:hover {
    color: var(--shell-navy);
}

.footer-bottom {
    margin-top: 16px;
    padding-top: 14px;
    text-align: center;
    font-size: 13px;
    color: #6f7d90;
}

@media (max-width: 992px) {
    .header-container,
    .footer-content,
    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .header-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .primary-nav,
    .header-cta {
        justify-content: flex-start;
    }

    .header-search-form {
        width: 100%;
    }

    .header-search-form input {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(1220px, calc(100% - 16px));
    }

    .brand-name {
        font-size: 36px;
    }

    .simple-modal,
    .action-dialog {
        padding: 16px;
    }

    .simple-modal-content,
    .action-dialog-content {
        width: 100%;
        max-height: calc(100vh - 32px);
        padding: 22px 18px;
    }

    .simple-modal-actions,
    .action-dialog-buttons {
        flex-direction: column;
    }

    .simple-btn,
    .action-dialog-btn {
        width: 100%;
    }
}
