* {
    box-sizing: border-box;
}

:root {
    --ink: #111111;
    --muted: #6b6b6b;
    --paper: #ffffff;
    --surface: #f6f2ec;
    --surface-strong: #f1ebe4;
    --border: #eaeaea;
    --gold: #b8792e;
    --gold-dark: #a67835;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.5;
}

a {
    color: inherit;
}

h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

/* ===========================================================
   HEADER
=========================================================== */

/* ===========================================================
   ANNOUNCEMENT BAR
=========================================================== */

.announcement-bar {
    background: var(--ink);
    color: #fff;
}

.announcement-bar p {
    margin: 0;
    padding: 9px 16px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.92);
}

/* ===========================================================
   HEADER (sticky, frosted, iOS-style)
=========================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 96px;
    padding: 0 24px;
    padding-top: env(safe-area-inset-top, 0);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 var(--border);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
    opacity: 0.55;
}

.logo {
    flex: 1;
    text-align: center;
}

.logo a {
    display: inline-flex;
    text-decoration: none;
}

.logo-image {
    display: block;
    height: 84px;
    width: auto;
}

/* Hamburger — hidden on desktop, iOS-style animated bars on mobile */

.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.mobile-menu-button.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* MAIN NAVIGATION */

.header-navigation {
    flex: 2;
    display: flex;
    justify-content: center;
}

.main-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.main-menu a {
    text-decoration: none;
    color: var(--ink);
    font-size: 13px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.main-menu > ul > li > a:hover {
    color: var(--gold);
}

.main-menu li {
    position: relative;
}

.main-menu li ul {
    display: none;
    position: absolute;
    top: 28px;
    left: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    min-width: 200px;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 16px 32px -12px rgba(17, 17, 17, 0.18);
    z-index: 99;
    flex-direction: column;
    gap: 8px;
}

.main-menu li:hover > ul {
    display: flex;
}

/* HEADER ICONS */

.header-icons {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.header-icon-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    text-decoration: none;
    color: var(--ink);
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.header-icon-link:hover,
.header-icon-link:focus-visible {
    background: var(--surface);
    color: var(--gold-dark);
}

.header-icon-link:active {
    transform: scale(0.94);
}

.header-icon-text {
    font-size: 12px;
    letter-spacing: 0.3px;
}

.cart-icon-wrap {
    position: relative;
    display: inline-flex;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--gold-dark);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
}

/* ===========================================================
   MOBILE HEADER BEHAVIOUR
=========================================================== */

@media (max-width: 860px) {
    .site-header {
        padding: 0 12px;
    }

    .mobile-menu-button {
        display: flex;
    }

    .logo {
        flex: none;
    }

    .logo-image {
        height: 56px;
    }

    .header-icon-text {
        display: none;
    }

    .header-icon-link {
        gap: 0;
    }

    .header-navigation {
        position: fixed;
        inset: 0;
        z-index: 200;
        flex: none;
        display: block;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        padding: 90px 28px 40px;
        transform: translateX(-100%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .header-navigation.is-open {
        transform: translateX(0);
    }

    .main-menu ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-menu a {
        display: block;
        padding: 14px 4px;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
    }

    .main-menu li ul {
        position: static;
        box-shadow: none;
        background: none;
        backdrop-filter: none;
        padding: 0 0 0 14px;
        display: flex;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }
}

/* ===========================================================
   HERO BANNER
=========================================================== */

.home-banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: var(--surface);
}

.home-banner a {
    display: block;
    width: 100%;
    height: 100%;
}

.home-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.home-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.05) 42%, rgba(0, 0, 0, 0) 65%),
        linear-gradient(to right, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 35%);
    pointer-events: none;
}

.banner-copy {
    position: absolute;
    left: 60px;
    bottom: 48px;
    z-index: 1;
    color: #fff;
    max-width: 480px;
}

.banner-eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #e8c48a;
}

.banner-eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: #e8c48a;
    margin-right: 10px;
    vertical-align: middle;
}

.banner-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.15;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

/* ===========================================================
   SECTIONS / HEADINGS
=========================================================== */

.section {
    padding: 55px 70px;
}

.section h1,
.section h2 {
    margin-top: 0;
}

.section h2 {
    font-size: 34px;
    margin-bottom: 30px;
}

.section-heading {
    text-align: center;
    margin-bottom: 42px;
}

.section-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: 46px;
    line-height: 1.1;
}

.section-kicker {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-kicker::before,
.section-kicker::after {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--gold);
    opacity: 0.55;
}

/* ===========================================================
   HOME CATEGORY SECTION
=========================================================== */

.home-category-section {
    position: relative;
    padding: 80px 30px 90px;
    background: #ffffff;
    overflow: hidden;
}

.home-category-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 190px;
    opacity: 0.09;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 70 70'%3E%3Cg fill='none' stroke='%23d8b04c' stroke-width='1.2'%3E%3Cpath d='M35 0C35 12 23 12 23 23C12 23 12 35 0 35C12 35 12 47 23 47C23 58 35 58 35 70C35 58 47 58 47 47C58 47 58 35 70 35C58 35 58 23 47 23C47 12 35 12 35 0Z'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 70px 70px;
}

.category-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1750px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

.category-card {
    display: block;
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
    background: var(--paper);
}

.category-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f8f8f8;
    border: 1px solid rgba(184, 121, 46, 0.18);
    box-shadow: 0 14px 28px -20px rgba(17, 17, 17, 0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.category-card:hover .category-card-image,
.category-card:focus-visible .category-card-image {
    transform: translateY(-4px);
    box-shadow: 0 20px 34px -18px rgba(17, 17, 17, 0.4);
    border-color: rgba(184, 121, 46, 0.4);
}

.category-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(1.06) contrast(1.01);
    transition: transform 0.5s ease;
}

.category-card:hover .category-card-image img,
.category-card:focus-visible .category-card-image img {
    transform: scale(1.035);
}

.category-card-content {
    padding: 18px 6px 5px;
    text-align: center;
    background: #ffffff;
}

.category-card-content h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
}

.category-card-content span {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    color: #555555;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.category-card-content span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 32px;
    height: 1px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.category-card:hover .category-card-content span::after,
.category-card:focus-visible .category-card-content span::after {
    width: 54px;
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--surface-strong);
    color: #765337;
    font-size: 16px;
    text-align: center;
}

/* Moroccan zellige-tile divider between sections */
.zellige-divider {
    height: 28px;
    background:
        repeating-linear-gradient(45deg, rgba(184, 121, 46, 0.4) 0 2px, transparent 2px 18px),
        repeating-linear-gradient(-45deg, rgba(184, 121, 46, 0.4) 0 2px, transparent 2px 18px);
    background-color: var(--surface);
}

/* Reusable Moroccan quatrefoil trellis pattern — apply to any section as needed */
.moroccan-pattern {
    background-color: #fffdf8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23d9a928' stroke-width='1.4'%3E%3Cpath d='M36 0 C36 12 24 12 24 24 C12 24 12 36 0 36 M36 0 C36 12 48 12 48 24 C60 24 60 36 72 36 M0 36 C12 36 12 48 24 48 C24 60 36 60 36 72 M72 36 C60 36 60 48 48 48 C48 60 36 60 36 72'/%3E%3Cpath d='M36 0 C36 12 24 12 24 24 C12 24 12 36 0 36 M36 0 C36 12 48 12 48 24 C60 24 60 36 72 36 M0 36 C12 36 12 48 24 48 C24 60 36 60 36 72 M72 36 C60 36 60 48 48 48 C48 60 36 60 36 72' transform='translate(36 36)'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 72px 72px;
}

/* ===========================================================
   PRODUCT GRID
=========================================================== */

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

/* Horizontal scrolling rail for "Latest Products" */
.product-rail {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 6px 22px;
    margin: 0 -6px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--surface);
}

.product-rail::-webkit-scrollbar {
    height: 6px;
}

.product-rail::-webkit-scrollbar-track {
    background: var(--surface);
}

.product-rail::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.product-rail-card {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: start;
}

.product-rail-card .product-card-image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.product-rail-card .product-card-image img {
    height: 100%;
}

.product-card {
    display: block;
    min-width: 0;
    text-decoration: none;
    color: var(--ink);
}

.product-card-image {
    width: 100%;
    height: auto;
    overflow: visible;
    background: var(--surface);
    border: 1px solid rgba(184, 121, 46, 0.14);
    box-shadow: 0 12px 24px -20px rgba(17, 17, 17, 0.3);
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card:hover .product-card-image {
    box-shadow: 0 18px 30px -18px rgba(17, 17, 17, 0.38);
    border-color: rgba(184, 121, 46, 0.35);
}

.product-card-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    transition: transform 0.35s ease;
}

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

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 260px;
    color: #777;
    font-size: 13px;
    background: var(--surface);
}

.category-card h3,
.product-card h3 {
    font-size: 17px;
    line-height: 1.4;
    margin: 14px 0 6px;
}

.product-price {
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.2px;
}

.product-price .sale,
.sale {
    color: var(--gold-dark);
    font-weight: bold;
    margin-right: 8px;
    letter-spacing: 0.3px;
}

.product-price del {
    color: #9a9a9a;
}

.category-hero {
    padding: 80px 70px;
    background: var(--surface);
    text-align: center;
}

.category-hero h1 {
    font-size: 48px;
    margin: 0 0 12px;
}

.category-hero p {
    color: var(--muted);
}

/* ===========================================================
   PRODUCT PAGE
=========================================================== */

.product-page {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    padding: 70px;
}

.product-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.product-gallery img {
    width: 100%;
    height: 620px;
    object-fit: contain;
    object-position: center;
    background: var(--surface);
}

.product-info {
    position: sticky;
    top: 30px;
    align-self: start;
}

.product-info h1 {
    font-size: 42px;
    margin: 10px 0;
}

.breadcrumb {
    color: var(--muted);
    font-size: 14px;
}

.price {
    font-size: 24px;
    margin: 20px 0;
}

.product-info form {
    margin: 30px 0;
}

.product-info label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.product-info input[type="number"] {
    width: 90px;
    padding: 12px;
    border: 1px solid #ddd;
    margin-right: 15px;
}

.product-section {
    border-top: 1px solid var(--border);
    padding-top: 22px;
    margin-top: 22px;
}

/* ===========================================================
   BUTTONS
=========================================================== */

.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 32px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    border: 0;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -12px rgba(166, 120, 53, 0.6);
}

/* ===========================================================
   CHECKOUT
=========================================================== */

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
}

.checkout-form,
.order-summary {
    background: var(--paper);
    padding: 30px;
    border: 1px solid var(--border);
}

.checkout-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
    width: 100%;
    padding: 13px;
    margin-top: 7px;
    border: 1px solid #ddd;
}

.checkout-form textarea {
    min-height: 120px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.summary-row.total {
    font-size: 22px;
    border-bottom: 0;
}

/* ===========================================================
   TABLE
=========================================================== */

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.danger-link {
    color: #b00020;
    text-decoration: none;
}

/* ===========================================================
   ACCESSIBILITY
=========================================================== */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ===========================================================
   RESPONSIVE
=========================================================== */

@media (max-width: 1300px) {
    .category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 22px 18px;
    }
}

@media (max-width: 1100px) {
    .home-category-section {
        padding: 60px 22px 70px;
    }

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

    .section-heading h2 {
        font-size: 40px;
    }
}

@media (max-width: 992px) {
    .home-banner {
        height: 450px;
    }

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

    .product-page {
        grid-template-columns: 1fr;
        padding: 35px;
    }

    .product-info {
        position: static;
    }

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

@media (max-width: 768px) {
    .home-banner {
        height: 320px;
    }

    .banner-copy {
        left: 24px;
        right: 24px;
        bottom: 28px;
    }

    .section {
        padding: 35px 20px;
    }

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

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

    .product-rail-card {
        width: 200px;
    }

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

    .product-gallery img {
        height: 480px;
    }
}

@media (max-width: 600px) {
    .home-category-section {
        padding: 48px 15px 55px;
    }

    .home-category-section .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .section-kicker {
        font-size: 10px;
        letter-spacing: 2.4px;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .category-card-content {
        padding-top: 16px;
    }

    .category-card-content h3 {
        margin-bottom: 10px;
        font-size: 22px;
    }
}

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

    .home-banner {
        height: 260px;
    }
}

/* ===========================================================
   NK STYLE FOOTER
   Single clean footer definition
=========================================================== */

.site-footer {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 90px;
    padding: 0;
    background: var(--ink);
    color: #ffffff;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold) 50%,
        transparent
    );
    opacity: 0.7;
}

.footer-container {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
    padding: 64px 0 48px;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
    gap: 90px;
}

/* Brand */

.footer-brand {
    min-width: 0;
    text-align: center;
}

.footer-logo-link {
    display: inline-block;
    margin: 0;
    text-decoration: none;
}

.footer-logo {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 22px;
}

.footer-brand-text {
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.8;
}

/* Social icons */

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gold);
    border-radius: 50%;
    text-decoration: none;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    color: var(--ink);
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-social svg {
    display: block;
    width: 18px;
    height: 18px;
}

/* Dynamic footer menu */

.footer-links {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 45px 55px;
}

.footer-column {
    min-width: 0;
}

.footer-column h4 {
    margin: 0 0 20px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-column h4::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    margin-top: 11px;
    background: var(--gold);
}

.footer-column a {
    display: block;
    width: fit-content;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    color: var(--gold);
    transform: translateX(3px);
}

/* Footer bottom */

.footer-bottom {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
    padding: 22px 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
    line-height: 1.5;
}

/* Payment icons */

.payment-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 9px;
}

.payment-icons img {
    display: block;
    width: auto;
    max-width: 48px;
    height: 29px;
    padding: 4px 6px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 5px;
    opacity: 0.94;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.payment-icons img:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* ===========================================================
   FOOTER — TABLET / IPAD
=========================================================== */

@media (max-width: 1024px) {
    .site-footer {
        margin-top: 70px;
    }

    .footer-container {
        width: calc(100% - 48px);
        grid-template-columns: 1fr;
        gap: 44px;
        padding: 54px 0 42px;
    }

    .footer-brand {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-logo {
        width: 180px;
    }

    .footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 34px;
    }

    .footer-bottom {
        width: calc(100% - 48px);
    }
}

/* ===========================================================
   FOOTER — SMALL TABLET
=========================================================== */

@media (max-width: 768px) {
    .footer-container {
        width: calc(100% - 36px);
        padding: 46px 0 36px;
        gap: 38px;
    }

    .footer-logo {
        width: 160px;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 25px;
    }

    .footer-bottom {
        width: calc(100% - 36px);
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .payment-icons {
        justify-content: flex-start;
    }
}

/* ===========================================================
   FOOTER — MOBILE / IPHONE
=========================================================== */

@media (max-width: 560px) {
    .site-footer {
        margin-top: 55px;
    }

    .footer-container {
        width: calc(100% - 30px);
        padding: 40px 0 30px;
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-brand {
        width: 100%;
        text-align: center;
    }

    .footer-logo {
        width: 145px;
        margin-bottom: 18px;
    }

    .footer-brand-text {
        margin-bottom: 21px;
        font-size: 13px;
        line-height: 1.7;
    }

    .footer-social {
        gap: 9px;
    }

    .footer-social a {
        width: 42px;
        height: 42px;
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-column {
        padding: 21px 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-column h4 {
        margin-bottom: 13px;
        font-size: 12px;
        letter-spacing: 1.7px;
    }

    .footer-column h4::after {
        width: 38px;
        margin: 10px auto 0;
    }

    .footer-column a {
        width: 100%;
        margin: 0;
        padding: 8px 5px;
        font-size: 14px;
        text-align: center;
    }

    .footer-column a:hover,
    .footer-column a:focus-visible {
        transform: none;
    }

    .footer-bottom {
        width: calc(100% - 30px);
        padding: 20px 0 calc(24px + env(safe-area-inset-bottom, 0px));
        align-items: center;
        text-align: center;
    }

    .footer-bottom p {
        width: 100%;
        font-size: 11px;
    }

    .payment-icons {
        width: 100%;
        justify-content: center;
        gap: 6px;
    }

    .payment-icons img {
        max-width: 42px;
        height: 27px;
    }
}

/* ===========================================================
   FOOTER — SMALL IPHONE
=========================================================== */

@media (max-width: 380px) {
    .footer-container,
    .footer-bottom {
        width: calc(100% - 24px);
    }

    .footer-logo {
        width: 135px;
    }

    .footer-social {
        gap: 7px;
    }

    .footer-social a {
        width: 39px;
        height: 39px;
    }

    .payment-icons {
        gap: 5px;
    }

    .payment-icons img {
        max-width: 38px;
        height: 25px;
        padding: 3px 5px;
    }
}