/*
 * ARKAIOS MONOCHROME — shared public storefront theme
 * Keeps all commerce logic and uploaded media intact while unifying the visual system.
 */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --ark-black: #080808;
    --ark-ink: #111111;
    --ark-charcoal: #1b1b1b;
    --ark-white: #ffffff;
    --ark-paper: #f5f5f2;
    --ark-mist: #e9e9e5;
    --ark-line: rgba(17, 17, 17, 0.15);
    --ark-line-dark: rgba(255, 255, 255, 0.18);
    --ark-muted: #686868;
    --ark-display: 'Cormorant Garamond', 'Playfair Display', 'Cinzel', Georgia, serif;
    --ark-body: 'Inter', 'Montserrat', 'Lato', Arial, sans-serif;
    --ark-ease: cubic-bezier(.22, 1, .36, 1);
    --ark-shadow: 0 24px 70px rgba(0, 0, 0, .10);
    --ark-max: 1440px;

    /* Compatibility with the existing page-level themes. */
    --primary: var(--ark-black) !important;
    --primary-dark: #000 !important;
    --primary-light: #ededeb !important;
    --gold: #595959 !important;
    --ink: var(--ark-ink) !important;
    --muted: var(--ark-muted) !important;
    --border: var(--ark-line) !important;
    --bg: var(--ark-paper) !important;
    --color-background: var(--ark-white) !important;
    --color-surface: var(--ark-paper) !important;
    --color-primary: var(--ark-ink) !important;
    --color-secondary: var(--ark-ink) !important;
    --color-accent: var(--ark-black) !important;
    --color-muted: var(--ark-muted) !important;
    --color-border: var(--ark-line) !important;
}

html {
    scroll-behavior: smooth;
    background: var(--ark-black);
    overflow-x: clip;
}

body.ark-page {
    margin: 0;
    background: var(--ark-paper);
    color: var(--ark-ink);
    font-family: var(--ark-body);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -.005em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

body.ark-page::selection {
    background: var(--ark-black);
    color: var(--ark-white);
}

body.ark-page h1,
body.ark-page h2,
body.ark-page h3,
body.ark-page h4,
body.ark-page h5,
body.ark-page h6,
body.ark-page .font-cinzel,
body.ark-page .font-display {
    font-family: var(--ark-display) !important;
    font-weight: 500;
    letter-spacing: -.025em;
}

body.ark-page a,
body.ark-page button,
body.ark-page input,
body.ark-page select,
body.ark-page textarea {
    font-family: var(--ark-body);
}

body.ark-page a,
body.ark-page button {
    -webkit-tap-highlight-color: transparent;
}

body.ark-page img {
    max-width: 100%;
}

body.ark-page :focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

/* Shared original-logo treatment */
.ark-page .brand-logo,
.ark-page .auth-logo-image {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 0;
}

.ark-page .brand-wordmark {
    color: inherit;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .26em;
    line-height: 1;
}

/* Shared navigation */
.ark-page .navbar,
.ark-page > nav.fixed,
.ark-page > nav.sticky,
.ark-page > nav.bg-white,
.ark-page > nav.bg-white\/95 {
    background: rgba(8, 8, 8, .94) !important;
    color: var(--ark-white) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ark-line-dark) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.ark-page .navbar-content,
.ark-page .nav-inner,
.ark-page > nav > .container {
    max-width: var(--ark-max) !important;
    min-height: 76px;
}

.ark-page .navbar .logo,
.ark-page .navbar .brand,
.ark-page .navbar .brand-name,
.ark-page .navbar .nav-link,
.ark-page .navbar .nav-btn,
.ark-page .navbar .nav-back,
.ark-page .navbar .cart-icon,
.ark-page .navbar .cart-icon-link,
.ark-page > nav a,
.ark-page > nav span,
.ark-page > nav svg {
    color: var(--ark-white) !important;
}

.ark-page .navbar .logo,
.ark-page .navbar .brand,
.ark-page > nav a:first-child {
    text-decoration: none;
}

.ark-page .navbar .nav-link,
.ark-page .navbar .nav-back,
.ark-page > nav .text-sm {
    font-size: .72rem !important;
    font-weight: 500 !important;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ark-page .navbar .nav-link:hover,
.ark-page .navbar .nav-btn:hover,
.ark-page .navbar .nav-back:hover,
.ark-page > nav a:hover {
    opacity: .62;
    background: transparent !important;
}

.ark-page .navbar .cart-count,
.ark-page > nav .cart-count {
    background: var(--ark-white) !important;
    color: var(--ark-black) !important;
    border: 1px solid var(--ark-black);
}

.ark-page .nav-dropdown-menu {
    margin-top: 1.25rem;
    padding: .65rem !important;
    background: var(--ark-white) !important;
    border: 1px solid var(--ark-line) !important;
    border-radius: 0 !important;
    box-shadow: var(--ark-shadow) !important;
}

.ark-page .nav-dropdown-menu .nav-link {
    color: var(--ark-black) !important;
    padding: .8rem 1rem !important;
}

.ark-page .nav-dropdown-menu .nav-link:hover {
    opacity: 1;
    background: var(--ark-paper) !important;
}

/* Shared controls, cards and Tailwind compatibility */
.ark-page .bg-arkaios-green,
.ark-page .hover\:bg-arkaios-green\/90:hover,
.ark-page .hover\:bg-arkaios-green:hover,
.ark-page .bg-arkaios-dark {
    background-color: var(--ark-black) !important;
}

.ark-page .text-arkaios-green,
.ark-page .hover\:text-arkaios-green:hover,
.ark-page .hover\:text-arkaios-green\/80:hover {
    color: var(--ark-black) !important;
}

.ark-page .border-arkaios-green,
.ark-page .focus\:border-arkaios-green:focus {
    border-color: var(--ark-black) !important;
}

.ark-page .bg-gray-50,
.ark-page.bg-gray-50,
.ark-page .bg-gray-100 {
    background-color: var(--ark-paper) !important;
}

.ark-page .bg-white,
.ark-page.bg-white,
.ark-page .bg-white\/95 {
    background-color: var(--ark-white) !important;
}

.ark-page .rounded,
.ark-page .rounded-lg,
.ark-page .rounded-xl,
.ark-page .rounded-2xl,
.ark-page .rounded-3xl {
    border-radius: 0 !important;
}

.ark-page .shadow-sm,
.ark-page .shadow-md,
.ark-page .shadow-lg,
.ark-page .shadow-xl,
.ark-page .shadow-2xl {
    box-shadow: none !important;
}

.ark-page .border-gray-100,
.ark-page .border-gray-200,
.ark-page .border-gray-300 {
    border-color: var(--ark-line) !important;
}

.ark-page input:not([type='checkbox']):not([type='radio']):not([type='hidden']),
.ark-page select,
.ark-page textarea {
    border: 1px solid var(--ark-line) !important;
    border-radius: 0 !important;
    background: var(--ark-white) !important;
    color: var(--ark-ink) !important;
    box-shadow: none !important;
    transition: border-color .25s ease, background-color .25s ease;
}

.ark-page input:not([type='checkbox']):not([type='radio']):not([type='hidden']):focus,
.ark-page select:focus,
.ark-page textarea:focus {
    border-color: var(--ark-black) !important;
    outline: none !important;
}

.ark-page button,
.ark-page .btn,
.ark-page .btn-primary,
.ark-page .btn-secondary,
.ark-page .submit-btn,
.ark-page .checkout-btn,
.ark-page .product-action-btn,
.ark-page .cta-btn,
.ark-page .newsletter-btn,
.ark-page .gift-card-notify-btn,
.ark-page a.bg-arkaios-green {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ark-page .btn-primary,
.ark-page .submit-btn,
.ark-page .checkout-btn,
.ark-page .product-action-btn,
.ark-page .newsletter-btn,
.ark-page a.bg-arkaios-green,
.ark-page button.bg-arkaios-green {
    background: var(--ark-black) !important;
    color: var(--ark-white) !important;
    border: 1px solid var(--ark-black) !important;
    font-size: .75rem !important;
    font-weight: 600 !important;
    letter-spacing: .13em;
    text-transform: uppercase;
    transition: background-color .3s ease, color .3s ease, transform .3s var(--ark-ease) !important;
}

.ark-page .btn-primary:hover,
.ark-page .submit-btn:hover,
.ark-page .checkout-btn:hover,
.ark-page .product-action-btn:hover,
.ark-page .newsletter-btn:hover,
.ark-page a.bg-arkaios-green:hover,
.ark-page button.bg-arkaios-green:hover {
    background: var(--ark-white) !important;
    color: var(--ark-black) !important;
    transform: translateY(-2px);
}

/* Homepage — cinematic, editorial monochrome */
.ark-home {
    background: var(--ark-white) !important;
}

.ark-home .announcement-bar {
    min-height: 38px;
    padding: .55rem 1.5rem !important;
    background: var(--ark-white) !important;
    color: var(--ark-black) !important;
    border-bottom: 1px solid var(--ark-line);
    box-shadow: none !important;
    font-size: .68rem !important;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ark-home .announcement-button {
    padding: .3rem 0 !important;
    border: 0 !important;
    border-bottom: 1px solid currentColor !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.ark-home .navbar {
    background: rgba(8, 8, 8, .92) !important;
}

.ark-home .navbar-content {
    max-width: var(--ark-max);
    min-height: 84px;
    padding: .65rem 3rem !important;
}

.ark-home .logo-image {
    width: 66px;
    height: 66px !important;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .3);
}

.ark-home .nav-center,
.ark-home .nav-right {
    gap: 2.25rem;
}

.ark-home .nav-link {
    padding: .6rem 0 !important;
    gap: .45rem;
    color: var(--ark-white) !important;
    font-size: .68rem !important;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ark-home .nav-link .material-icons {
    display: none;
}

.ark-home .cart-icon-link {
    color: var(--ark-white) !important;
}

.ark-home .hero-section {
    min-height: 100svh;
    padding: 10rem 5vw 6rem !important;
    justify-content: flex-start !important;
    background:
        linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.22)),
        url('../../uploads/products/prod_69e3590063c7e8.73719660.jpg') center 24% / cover no-repeat,
        var(--ark-black);
    isolation: isolate;
}

.ark-home .hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .52) 48%, rgba(0, 0, 0, .18) 100%);
    pointer-events: none;
}

.ark-home .hero-section::after {
    content: 'ARKAIOS  /  ITALIA';
    position: absolute;
    right: 2rem;
    bottom: 2.25rem;
    z-index: 3;
    color: rgba(255,255,255,.66);
    font-size: .62rem;
    letter-spacing: .28em;
    writing-mode: vertical-rl;
}

.ark-home .hero-video-bg video {
    filter: grayscale(1) contrast(1.12) brightness(.78);
}

.ark-home .hero-video-overlay {
    z-index: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)) !important;
}

.ark-home .hero-content {
    width: min(860px, 82vw);
    max-width: none;
    margin: 0;
    position: relative;
    z-index: 2;
    text-align: left;
}

.ark-home .hero-badge,
.ark-home .line-category,
.ark-home .catalog-eyebrow {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: inherit !important;
    font-size: .66rem !important;
    font-weight: 500 !important;
    letter-spacing: .22em !important;
    text-transform: uppercase;
}

.ark-home .hero-badge {
    color: rgba(255,255,255,.72) !important;
    margin-bottom: 2rem;
}

.ark-home .hero-badge::before {
    content: '';
    width: 44px;
    height: 1px;
    background: currentColor;
}

.ark-home .hero-badge .material-icons {
    display: none;
}

.ark-home .hero-title {
    max-width: 820px;
    margin: 0 0 1.8rem;
    color: var(--ark-white);
    font-family: var(--ark-display) !important;
    font-size: clamp(4.2rem, 8.3vw, 8rem) !important;
    font-weight: 400 !important;
    line-height: .84 !important;
    letter-spacing: -.055em !important;
    text-wrap: balance;
}

.ark-home .hero-title-accent {
    display: block;
    color: var(--ark-white) !important;
    font-weight: 400 !important;
    font-style: italic;
}

.ark-home .hero-description {
    max-width: 640px;
    margin: 0 0 2.6rem;
    color: rgba(255,255,255,.72) !important;
    font-size: .98rem !important;
    line-height: 1.85;
}

.ark-home .hero-buttons {
    justify-content: flex-start;
    gap: .75rem;
}

.ark-home .hero-btn-primary,
.ark-home .hero-btn-secondary,
.ark-home .cta-btn,
.ark-home .gift-card-notify-btn {
    min-height: 54px;
    padding: 0 1.8rem !important;
    border: 1px solid var(--ark-white) !important;
    border-radius: 0 !important;
    font-size: .68rem !important;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    box-shadow: none !important;
}

.ark-home .hero-btn-primary {
    background: var(--ark-white) !important;
    color: var(--ark-black) !important;
}

.ark-home .hero-btn-secondary {
    background: transparent !important;
    color: var(--ark-white) !important;
}

.ark-home .hero-btn-primary:hover,
.ark-home .hero-btn-secondary:hover {
    transform: translateY(-3px);
}

.ark-home .scroll-indicator {
    z-index: 3;
    opacity: .6;
}

.ark-home .section,
.ark-home .products-section,
.ark-home .newsletter-section,
.ark-home .gift-card-section {
    max-width: none !important;
}

.ark-home #manifesto {
    padding: clamp(7rem, 11vw, 11rem) max(6vw, 1.5rem) !important;
    background: var(--ark-white);
}

.ark-home #manifesto > div {
    max-width: 1140px;
    margin: 0 auto;
    text-align: left;
}

.ark-home #manifesto .section-title {
    margin-bottom: 4rem;
    color: var(--ark-ink);
    font-size: clamp(3.3rem, 6vw, 6rem) !important;
    font-weight: 400;
    line-height: .95;
}

.ark-home .section-divider {
    width: 100%;
    height: 1px;
    margin: 0 0 3.5rem;
    background: var(--ark-black) !important;
}

.ark-home .manifesto-text {
    max-width: 880px;
    margin: 0 0 1.5rem auto;
    color: #3b3b3b;
    font-size: clamp(1rem, 1.4vw, 1.22rem) !important;
    line-height: 1.9;
    text-align: left;
}

.ark-home .manifesto-highlight {
    max-width: 880px;
    margin: 3.2rem 0 0 auto;
    color: var(--ark-black);
    font-family: var(--ark-display);
    font-size: clamp(2rem, 4vw, 3.8rem) !important;
    font-weight: 500;
    line-height: 1.1;
    text-align: left;
}

.ark-home .manifesto-highlight .accent {
    color: inherit !important;
    font-style: italic;
}

.ark-home #features {
    padding: clamp(7rem, 10vw, 10rem) max(6vw, 1.5rem) !important;
    background: var(--ark-black) !important;
    color: var(--ark-white);
}

.ark-home #features > div:first-child,
.ark-home #features .features-grid {
    max-width: var(--ark-max);
    margin-right: auto;
    margin-left: auto;
}

.ark-home #features .line-category {
    color: rgba(255,255,255,.56) !important;
}

.ark-home #features .section-title {
    max-width: 760px;
    margin: .8rem 0 3rem;
    color: var(--ark-white);
    font-size: clamp(3rem, 5vw, 5rem) !important;
    line-height: .95;
    text-align: left;
}

.ark-home #features .section-divider {
    background: var(--ark-line-dark) !important;
}

.ark-home #features .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding-top: 0;
}

.ark-home #features .feature-card {
    min-height: 270px;
    padding: 2.2rem;
    background: transparent !important;
    border: 1px solid var(--ark-line-dark) !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: left;
}

.ark-home #features .feature-card:last-child {
    border-right: 1px solid var(--ark-line-dark) !important;
}

.ark-home #features .feature-card:hover {
    transform: none;
    background: var(--ark-white) !important;
}

.ark-home #features .feature-icon {
    color: var(--ark-white) !important;
    font-size: 1.8rem !important;
}

.ark-home #features .feature-title {
    margin-top: 4rem;
    color: var(--ark-white);
    font-family: var(--ark-display);
    font-size: 1.65rem;
    font-weight: 500;
}

.ark-home #features .feature-text {
    color: rgba(255,255,255,.55);
    font-size: .83rem;
    line-height: 1.7;
}

.ark-home #features .feature-card:hover .feature-icon,
.ark-home #features .feature-card:hover .feature-title,
.ark-home #features .feature-card:hover .feature-text {
    color: var(--ark-black) !important;
}

.ark-home .products-section {
    padding: clamp(7rem, 10vw, 10rem) max(5vw, 1.25rem) !important;
    background: var(--ark-white);
}

.ark-home .line-section {
    max-width: var(--ark-max);
    margin: 0 auto 9rem;
}

.ark-home .line-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--ark-line);
}

.ark-home .line-title {
    margin: .25rem 0 .6rem;
    color: var(--ark-black);
    font-size: clamp(3rem, 5vw, 5.2rem) !important;
    font-weight: 400;
    line-height: 1;
}

.ark-home .line-description {
    max-width: 600px;
    color: var(--ark-muted);
}

.ark-home .see-all-btn {
    padding: .55rem 0 !important;
    background: transparent !important;
    color: var(--ark-black) !important;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    box-shadow: none !important;
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ark-home .see-all-btn:hover {
    background: transparent !important;
    color: var(--ark-black) !important;
}

.ark-home .products-grid,
.ark-catalog .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.ark-home .product-card,
.ark-catalog .product-card {
    padding: 0 0 1.4rem !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ark-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ark-home .product-card:hover,
.ark-catalog .product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: none !important;
}

.ark-home .product-image-container,
.ark-catalog .product-image-container {
    margin-bottom: 1.35rem;
    background: #efefec !important;
    border-radius: 0 !important;
}

.ark-home .product-card:hover .product-image,
.ark-catalog .product-card:hover .product-image {
    transform: scale(1.025) !important;
}

.ark-home .product-info,
.ark-catalog .product-info {
    padding: 0 !important;
}

.ark-home .product-category,
.ark-catalog .product-category {
    color: var(--ark-muted) !important;
    font-size: .62rem !important;
    letter-spacing: .18em;
}

.ark-home .product-title,
.ark-catalog .product-title {
    color: var(--ark-ink) !important;
    font-family: var(--ark-display) !important;
    font-size: 1.55rem !important;
    font-weight: 500 !important;
}

.ark-home .product-description-short,
.ark-catalog .product-description-short {
    color: var(--ark-muted) !important;
    font-size: .78rem;
}

.ark-home .product-price,
.ark-catalog .product-price {
    color: var(--ark-black) !important;
    font-family: var(--ark-body) !important;
    font-size: .95rem !important;
    font-weight: 600 !important;
}

.ark-home .product-action-btn,
.ark-catalog .product-action-btn {
    min-width: 44px;
    min-height: 42px;
    padding: .7rem 1rem !important;
}

.ark-home .product-wishlist,
.ark-catalog .product-wishlist {
    background: rgba(255,255,255,.9) !important;
    color: var(--ark-black) !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    border-radius: 50% !important;
    box-shadow: none !important;
}

.ark-home .product-wishlist.active,
.ark-catalog .product-wishlist.active {
    background: var(--ark-black) !important;
    color: var(--ark-white) !important;
}

.ark-home .product-badge,
.ark-catalog .product-badge {
    background: var(--ark-black) !important;
    border-radius: 0 !important;
    font-size: .6rem;
    letter-spacing: .14em;
}

.ark-home .cta-section {
    min-height: 620px;
    display: grid;
    place-items: center;
    padding: 8rem 6vw !important;
    background: var(--ark-black) !important;
    color: var(--ark-white);
}

.ark-home .cta-content {
    max-width: 880px;
}

.ark-home .cta-title {
    color: var(--ark-white);
    font-size: clamp(3.8rem, 7vw, 7rem) !important;
    font-weight: 400;
    line-height: .9;
}

.ark-home .cta-text {
    max-width: 650px;
    margin: 2rem auto 2.8rem;
    color: rgba(255,255,255,.62) !important;
    font-size: 1rem !important;
}

.ark-home .cta-btn {
    background: var(--ark-white) !important;
    color: var(--ark-black) !important;
}

.ark-home .newsletter-section {
    padding: 8rem 1.5rem !important;
    background: var(--ark-white) !important;
}

.ark-home .newsletter-section .section-title {
    color: var(--ark-black);
    font-size: clamp(3rem, 5vw, 5rem) !important;
    font-weight: 400;
}

.ark-home .newsletter-form {
    max-width: 720px;
    gap: 0;
}

.ark-home .newsletter-input {
    min-height: 58px;
    padding: 0 1.4rem !important;
    border-right: 0 !important;
}

.ark-home .newsletter-btn {
    min-width: 170px;
}

.ark-home .gift-card-section {
    padding: clamp(7rem, 10vw, 10rem) max(6vw, 1.5rem) !important;
    background: var(--ark-paper) !important;
}

.ark-home .gift-card-container {
    max-width: var(--ark-max);
    margin: 0 auto;
}

.ark-home .gift-card-title {
    color: var(--ark-black);
    font-size: clamp(3.3rem, 5.5vw, 5.8rem) !important;
    font-weight: 400;
    line-height: .9;
}

.ark-home .gift-card-title .highlight {
    color: inherit !important;
}

.ark-home .gift-card-badge {
    color: var(--ark-black) !important;
}

.ark-home .gift-card-features li,
.ark-home .gift-card-description {
    color: var(--ark-muted);
}

.ark-home .gift-card-features svg circle {
    fill: var(--ark-mist);
}

.ark-home .gift-card-features svg path {
    stroke: var(--ark-black);
}

.ark-home .gift-card-notify-btn {
    background: var(--ark-black) !important;
    color: var(--ark-white) !important;
}

.ark-home .gift-card-illustration {
    filter: grayscale(1) contrast(1.12) drop-shadow(0 26px 50px rgba(0,0,0,.18));
}

.ark-home footer,
.ark-product footer,
.ark-legal footer,
.ark-personalization footer,
.ark-count footer {
    margin-top: 0 !important;
    padding: 6rem max(5vw, 1.5rem) 2.5rem !important;
    background: var(--ark-black) !important;
    color: var(--ark-white) !important;
    border: 0 !important;
}

.ark-home footer h3,
.ark-product footer h3,
.ark-legal footer h3 {
    color: var(--ark-white) !important;
}

.ark-home footer .footer-text,
.ark-home footer .footer-link,
.ark-product footer p,
.ark-product footer .footer-link,
.ark-legal footer p,
.ark-legal footer a {
    color: rgba(255,255,255,.56) !important;
}

.ark-home footer .footer-link:hover,
.ark-product footer .footer-link:hover,
.ark-legal footer a:hover {
    color: var(--ark-white) !important;
}

.ark-home footer .footer-social a {
    background: transparent !important;
    color: var(--ark-white) !important;
    border: 1px solid var(--ark-line-dark);
    box-shadow: none;
}

.ark-home footer .footer-bottom,
.ark-product footer .footer-bottom {
    border-color: var(--ark-line-dark) !important;
    color: rgba(255,255,255,.42) !important;
}

/* Catalog */
.ark-catalog {
    background: var(--ark-white) !important;
}

.ark-catalog .catalog-section {
    max-width: var(--ark-max);
    padding: 10rem max(4vw, 1.25rem) 8rem;
}

.ark-catalog .catalog-header {
    margin-bottom: 5rem;
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--ark-line);
    text-align: left;
}

.ark-catalog .catalog-eyebrow {
    color: var(--ark-muted) !important;
}

.ark-catalog .catalog-title {
    margin: .55rem 0 1rem;
    color: var(--ark-black);
    font-family: var(--ark-display);
    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 400;
    line-height: .85;
    letter-spacing: -.05em;
}

.ark-catalog .catalog-subtitle {
    max-width: 600px;
    margin: 0;
    color: var(--ark-muted);
    font-size: .95rem;
}

.ark-catalog .catalog-meta {
    color: var(--ark-muted);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* Product detail */
.ark-product {
    background: var(--ark-white) !important;
}

.ark-product .product-container {
    max-width: var(--ark-max);
    padding: 3rem max(4vw, 1.5rem) 8rem !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .75fr);
    gap: clamp(3rem, 7vw, 8rem);
}

.ark-product .gallery-section {
    top: 7rem;
}

.ark-product .main-image-container,
.ark-product .thumbnail {
    background: var(--ark-paper);
    border-radius: 0 !important;
}

.ark-product .main-image-container {
    margin: 0;
}

.ark-product .main-image {
    object-fit: cover;
}

.ark-product .thumbnails-grid {
    margin-top: 1rem;
}

.ark-product .thumbnail {
    border: 1px solid transparent;
}

.ark-product .thumbnail.active {
    border-color: var(--ark-black) !important;
}

.ark-product .product-details {
    padding: 2rem 0;
}

.ark-product .category-badge {
    padding: 0 0 .4rem;
    color: var(--ark-muted);
    border: 0;
    border-bottom: 1px solid var(--ark-line);
    border-radius: 0;
    font-size: .64rem;
    letter-spacing: .18em;
}

.ark-product .product-title {
    margin-bottom: 1.25rem;
    color: var(--ark-black);
    font-family: var(--ark-display);
    font-size: clamp(3.2rem, 5vw, 5.4rem);
    font-weight: 400;
    line-height: .92;
}

.ark-product .product-price {
    padding: 1.4rem 0;
    color: var(--ark-black);
    font-family: var(--ark-body);
    font-size: 1.15rem;
    font-weight: 500;
}

.ark-product .product-description {
    color: var(--ark-muted);
    font-size: .92rem;
    line-height: 1.85;
}

.ark-product .stock-status,
.ark-product .preorder-alert,
.ark-product .quantity-control,
.ark-product .auth-notice {
    background: var(--ark-paper) !important;
    border: 1px solid var(--ark-line) !important;
    border-radius: 0 !important;
}

.ark-product .preorder-text,
.ark-product .stock-text {
    color: var(--ark-muted) !important;
}

.ark-product .preorder-icon,
.ark-product .feature-icon,
.ark-product .auth-link {
    color: var(--ark-black) !important;
}

.ark-product .stock-indicator {
    background: var(--ark-black);
}

.ark-product .wishlist-button {
    border: 1px solid var(--ark-black);
    border-radius: 0;
    background: var(--ark-white);
    color: var(--ark-black);
}

.ark-product .wishlist-button:hover,
.ark-product .wishlist-button.active {
    background: var(--ark-black) !important;
    color: var(--ark-white) !important;
}

.ark-product .btn {
    min-height: 58px;
    background: var(--ark-black) !important;
    color: var(--ark-white) !important;
    border: 1px solid var(--ark-black) !important;
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.ark-product .features-grid {
    gap: 0;
    border-top: 1px solid var(--ark-line);
}

.ark-product .feature {
    padding: 1.4rem;
    border: 1px solid var(--ark-line);
    border-top: 0;
}

/* Cart */
.ark-cart {
    background: var(--ark-paper) !important;
}

.ark-cart .page {
    max-width: var(--ark-max);
    padding: 10rem max(4vw, 1.25rem) 8rem;
}

.ark-cart .page-head {
    margin-bottom: 3.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--ark-line);
}

.ark-cart .page-title {
    font-size: clamp(3.8rem, 6vw, 6.4rem);
    font-weight: 400;
    line-height: .9;
}

.ark-cart .page-count {
    color: var(--ark-muted);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ark-cart .cart-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(330px, .75fr);
    gap: 2rem;
}

.ark-cart .item-card,
.ark-cart .summary,
.ark-cart .empty {
    background: var(--ark-white);
    border: 1px solid var(--ark-line);
    border-radius: 0;
    box-shadow: none;
}

.ark-cart .item-card {
    padding: 1rem;
}

.ark-cart .item-thumb {
    border-radius: 0;
    background: var(--ark-paper);
}

.ark-cart .item-name,
.ark-cart .summary h2,
.ark-cart .empty h2 {
    font-family: var(--ark-display);
    font-weight: 500;
}

.ark-cart .item-name {
    font-size: 1.55rem;
}

.ark-cart .item-remove,
.ark-cart .qty-stepper {
    background: var(--ark-white);
    border-color: var(--ark-line);
    border-radius: 0;
}

.ark-cart .summary {
    padding: 2rem;
}

.ark-cart .checkout-btn {
    min-height: 56px;
}

.ark-cart .empty {
    padding: 7rem 2rem;
}

/* Authentication */
.ark-auth {
    position: relative;
    padding: clamp(1rem, 4vw, 4rem) !important;
    background: var(--ark-paper) !important;
}

.ark-auth::before {
    content: '';
    position: fixed;
    inset: 0 50% 0 0;
    background:
        linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.74)),
        url('../../uploads/products/prod_69d93abe484b39.85114530.jpg') center / cover no-repeat,
        var(--ark-black);
}

.ark-auth .login-container,
.ark-auth .register-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(1080px, 100%);
    max-width: 1080px;
    min-height: 690px;
    background: var(--ark-white);
    border: 1px solid var(--ark-line);
    box-shadow: var(--ark-shadow);
}

.ark-auth .register-container {
    min-height: 780px;
}

.ark-auth .login-header,
.ark-auth .register-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    margin: 0;
    padding: clamp(2.2rem, 5vw, 4.5rem);
    background: rgba(0,0,0,.88);
    color: var(--ark-white);
    text-align: left;
}

.ark-auth .logo-link {
    position: absolute;
    top: 2.5rem;
    left: 3rem;
    margin: 0;
    color: var(--ark-white);
}

.ark-auth .auth-logo-image {
    width: 58px;
    height: 58px;
}

.ark-auth .logo-text {
    color: var(--ark-white);
    font-family: var(--ark-body);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .25em;
}

.ark-auth .page-title {
    max-width: 360px;
    margin: 0 0 .75rem;
    color: var(--ark-white);
    font-size: clamp(3.3rem, 5vw, 5.2rem);
    font-weight: 400;
    line-height: .88;
}

.ark-auth .page-subtitle {
    color: rgba(255,255,255,.58);
    font-size: .86rem;
}

.ark-auth .login-form-wrapper,
.ark-auth .register-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.2rem, 5vw, 4.5rem);
    background: var(--ark-white);
}

.ark-auth .form-label {
    color: var(--ark-ink);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ark-auth .form-input {
    min-height: 54px;
    padding: .8rem 1rem;
}

.ark-auth .submit-btn {
    min-height: 56px;
}

.ark-auth .form-footer-link {
    color: var(--ark-black);
    border-bottom: 1px solid currentColor;
}

.ark-auth .alert {
    border-radius: 0;
}

/* Wishlist */
.ark-wishlist {
    background: var(--ark-white) !important;
}

.ark-wishlist > .container {
    max-width: var(--ark-max);
    padding: 11rem max(4vw, 1.25rem) 8rem;
}

.ark-wishlist .page-header {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--ark-line);
    text-align: left;
}

.ark-wishlist .page-title {
    margin-bottom: .6rem;
    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 400;
    line-height: .86;
}

.ark-wishlist .page-subtitle {
    color: var(--ark-muted);
    font-size: .95rem;
}

.ark-wishlist .wishlist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.ark-wishlist .wishlist-card {
    padding: 0 0 1.5rem;
    border: 0;
    border-bottom: 1px solid var(--ark-line);
    border-radius: 0;
    box-shadow: none;
}

.ark-wishlist .wishlist-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.ark-wishlist .product-image-container {
    border-radius: 0;
}

.ark-wishlist .remove-btn {
    background: var(--ark-white);
    color: var(--ark-black);
    border: 1px solid var(--ark-line);
    box-shadow: none;
}

.ark-wishlist .remove-btn:hover {
    background: var(--ark-black);
    color: var(--ark-white);
}

.ark-wishlist .product-title {
    font-size: 1.65rem;
}

.ark-wishlist .btn-view,
.ark-wishlist .btn-add {
    border-radius: 0;
    border: 1px solid var(--ark-black);
    background: var(--ark-white);
    color: var(--ark-black);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ark-wishlist .btn-add,
.ark-wishlist .btn-view:hover {
    background: var(--ark-black);
    color: var(--ark-white);
}

/* Account, checkout, confirmation, orders and personalization */
.ark-account,
.ark-checkout,
.ark-confirmation,
.ark-orders,
.ark-preorders,
.ark-personalization {
    background: var(--ark-paper) !important;
}

.ark-account > section,
.ark-checkout > section,
.ark-confirmation > section,
.ark-orders > section,
.ark-preorders > section {
    padding-top: 10rem !important;
}

.ark-account > section > .container > h1,
.ark-checkout > section > .container > h1,
.ark-confirmation > section > .container > h1,
.ark-orders > section > .container > h1,
.ark-preorders > section > .container > h1 {
    font-size: clamp(3.5rem, 6vw, 6rem) !important;
    font-weight: 400 !important;
    line-height: .9;
}

.ark-account .bg-white.rounded-2xl,
.ark-checkout .bg-white.rounded-2xl,
.ark-confirmation .bg-white.rounded-2xl,
.ark-orders .bg-white,
.ark-preorders .bg-white {
    border: 1px solid var(--ark-line) !important;
}

.ark-account input,
.ark-account textarea,
.ark-checkout input,
.ark-checkout textarea {
    min-height: 52px;
}

.ark-account footer,
.ark-checkout footer,
.ark-confirmation footer,
.ark-preorders footer {
    margin-top: 5rem;
    background: var(--ark-black) !important;
    color: rgba(255,255,255,.58) !important;
    border: 0 !important;
}

.ark-personalization .hero-gradient {
    background: var(--ark-black) !important;
}

.ark-personalization .hero-gradient img,
.ark-count img {
    filter: grayscale(1) contrast(1.08);
}

.ark-personalization .step-card,
.ark-personalization .bg-white.rounded-2xl {
    border: 1px solid var(--ark-line) !important;
}

.ark-personalization .text-arkaios-green,
.ark-personalization .text-arkaios-dark {
    color: var(--ark-black) !important;
}

/* Legal pages */
.ark-legal {
    background: var(--ark-paper) !important;
}

.ark-legal main {
    max-width: 980px !important;
    padding-top: 7rem !important;
    padding-bottom: 6rem !important;
}

.ark-legal main > div {
    padding: clamp(1.5rem, 5vw, 4.5rem) !important;
    border: 1px solid var(--ark-line);
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ark-legal main h1 {
    font-size: clamp(3.5rem, 6vw, 5.8rem) !important;
    font-weight: 400;
    line-height: .9;
}

.ark-legal main h2 {
    padding-top: 1.8rem;
    border-top: 1px solid var(--ark-line);
    color: var(--ark-black) !important;
    font-size: 1.7rem !important;
}

.ark-legal main p,
.ark-legal main li {
    color: #4d4d4d !important;
    font-size: .9rem;
    line-height: 1.8;
}

/* Launch/countdown page */
.ark-count .gradient-bg {
    background: var(--ark-black) !important;
}

.ark-count .text-arkaios-gold,
.ark-count .text-arkaios-green {
    color: inherit !important;
}

.ark-count .gradient-bg .text-arkaios-gold {
    color: rgba(255, 255, 255, .62) !important;
}

.ark-count .bg-arkaios-gold,
.ark-count .countdown-digit {
    background: var(--ark-white) !important;
    color: var(--ark-black) !important;
}

/* Motion */
@keyframes arkReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ark-page .catalog-header,
.ark-page .page-header,
.ark-page .product-details,
.ark-page .cart-grid,
.ark-page .login-container,
.ark-page .register-container {
    animation: arkReveal .8s var(--ark-ease) both;
}

/* Responsive */
@media (max-width: 1100px) {
    .ark-home #features .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ark-home #features .feature-card:nth-child(2) {
        border-right: 1px solid var(--ark-line-dark) !important;
    }

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

    .ark-product .product-container {
        gap: 3rem;
    }
}

@media (max-width: 820px) {
    .ark-page .navbar-content,
    .ark-page .nav-inner,
    .ark-page > nav > .container,
    .ark-home .navbar-content {
        min-height: 68px;
        padding-right: 1.25rem !important;
        padding-left: 1.25rem !important;
    }

    .ark-page .brand-logo {
        width: 42px;
        height: 42px;
    }

    .ark-home .logo-image {
        width: 52px;
        height: 52px !important;
    }

    .ark-home .hero-section {
        min-height: 92svh;
        padding: 9rem 1.25rem 5rem !important;
    }

    .ark-home .hero-section::before {
        background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.42));
    }

    .ark-home .hero-content {
        width: 100%;
    }

    .ark-home .hero-title {
        font-size: clamp(3.5rem, 15vw, 6rem) !important;
    }

    .ark-home #features .feature-card {
        min-height: 220px;
    }

    .ark-home .gift-card-container,
    .ark-product .product-container,
    .ark-cart .cart-grid {
        grid-template-columns: 1fr;
    }

    .ark-product .gallery-section {
        position: static;
    }

    .ark-auth {
        padding: 0 !important;
    }

    .ark-auth::before {
        display: none;
    }

    .ark-auth .login-container,
    .ark-auth .register-container {
        grid-template-columns: 1fr;
        min-height: 100svh;
        border: 0;
    }

    .ark-auth .login-header,
    .ark-auth .register-header {
        min-height: 330px;
        padding: 7.5rem 1.5rem 2.5rem;
    }

    .ark-auth .logo-link {
        top: 1.5rem;
        left: 1.5rem;
    }

    .ark-auth .login-form-wrapper,
    .ark-auth .register-form-wrapper {
        padding: 2.5rem 1.5rem 3rem;
    }

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

@media (max-width: 560px) {
    .ark-home .hero-section::after {
        display: none;
    }

    .ark-home .hero-buttons {
        gap: .6rem;
    }

    .ark-home .hero-btn-primary,
    .ark-home .hero-btn-secondary {
        width: 100%;
    }

    .ark-home #manifesto,
    .ark-home #features,
    .ark-home .products-section,
    .ark-home .gift-card-section {
        padding-right: 1.25rem !important;
        padding-left: 1.25rem !important;
    }

    .ark-home #features .features-grid,
    .ark-home .products-grid,
    .ark-catalog .products-grid,
    .ark-wishlist .wishlist-grid {
        grid-template-columns: 1fr;
    }

    .ark-home #features .feature-card,
    .ark-home #features .feature-card:nth-child(2) {
        border-right: 1px solid var(--ark-line-dark) !important;
    }

    .ark-home .newsletter-form {
        display: flex;
        flex-direction: column;
        gap: .6rem;
    }

    .ark-home .newsletter-input {
        border-right: 1px solid var(--ark-line) !important;
    }

    .ark-catalog .catalog-header,
    .ark-wishlist .page-header {
        padding-top: 2rem;
    }

    .ark-product .product-container {
        padding-right: 1.1rem !important;
        padding-left: 1.1rem !important;
    }

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

    .ark-cart .item-card {
        grid-template-columns: 92px 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ========================================================================== */
/* ARKAIOS EDITORIAL V2 — structural redesign                                */
/* ========================================================================== */

.ark-page .section-index {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.8rem;
    color: currentColor;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .23em;
    line-height: 1;
    text-transform: uppercase;
}

.ark-page .section-index::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
}

/* Hero: true split editorial cover instead of a conventional full-bleed hero. */
@media (min-width: 821px) {
    .ark-home .hero-section {
        display: grid !important;
        grid-template-columns: minmax(0, 54%) minmax(0, 46%);
        align-items: center !important;
        padding: 7.5rem 0 0 !important;
        background: var(--ark-black) !important;
    }

    .ark-home .hero-section::before {
        inset: 7.5rem 0 0 48%;
        z-index: 0;
        background:
            linear-gradient(90deg, rgba(8,8,8,.52), rgba(8,8,8,.04) 48%, rgba(8,8,8,.18)),
            url('../../uploads/products/prod_69e3590063c7e8.73719660.jpg') center 27% / cover no-repeat;
        clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
    }

    .ark-home .hero-section::after {
        display: none;
    }

    .ark-home .hero-video-bg,
    .ark-home .hero-video-overlay {
        top: 7.5rem;
        right: 0;
        bottom: 0;
        left: 48%;
        width: auto;
        clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
    }

    .ark-home .hero-video-bg {
        z-index: 0;
    }

    .ark-home .hero-video-overlay {
        z-index: 1;
        background: linear-gradient(90deg, rgba(8,8,8,.55), transparent 48%, rgba(0,0,0,.15)) !important;
    }

    .ark-home .hero-content {
        grid-column: 1;
        width: auto;
        max-width: 750px;
        margin: 0;
        padding: 4rem 3vw 5rem max(8vw, 5rem);
    }

    .ark-home .hero-title {
        font-size: clamp(4.7rem, 7.3vw, 8.8rem) !important;
        line-height: .78 !important;
    }

    .ark-home .hero-description {
        max-width: 510px;
        margin-left: 8rem;
    }

    .ark-home .hero-buttons {
        margin-left: 8rem;
    }
}

.ark-home .hero-rail {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .8rem;
    color: rgba(255,255,255,.5);
    font-size: .56rem;
    font-weight: 600;
    letter-spacing: .22em;
    writing-mode: vertical-rl;
}

.ark-home .hero-rail-line {
    width: 1px;
    height: 54px;
    background: rgba(255,255,255,.35);
}

.ark-home .hero-edition {
    position: absolute;
    right: 2.6rem;
    bottom: 2.2rem;
    z-index: 3;
    display: grid;
    grid-template-columns: auto auto;
    gap: .15rem 1rem;
    min-width: 260px;
    padding-top: 1rem;
    color: rgba(255,255,255,.72);
    border-top: 1px solid rgba(255,255,255,.35);
    font-size: .55rem;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.ark-home .hero-edition strong {
    grid-row: span 2;
    align-self: center;
    color: var(--ark-white);
    font-family: var(--ark-display);
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: -.04em;
}

.ark-home .scroll-indicator {
    display: none;
}

/* Manifesto: two independent editorial columns. */
.ark-home #manifesto {
    min-height: 900px;
    display: grid;
    align-items: center;
}

.ark-home #manifesto .manifesto-layout {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(420px, 1.25fr);
    gap: clamp(4rem, 10vw, 11rem);
    max-width: var(--ark-max);
    margin: 0 auto;
    text-align: left;
}

.ark-home .manifesto-heading {
    align-self: start;
    position: sticky;
    top: 9rem;
}

.ark-home #manifesto .manifesto-heading .section-title {
    max-width: 460px;
    margin: 0;
    font-size: clamp(4rem, 6.2vw, 7rem) !important;
    line-height: .78;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.ark-home #manifesto .manifesto-heading .section-divider {
    display: none;
}

.ark-home .manifesto-copy {
    padding: 4rem 0 4rem clamp(2rem, 5vw, 6rem);
    border-left: 1px solid var(--ark-line);
}

.ark-home #manifesto .manifesto-text {
    max-width: 650px;
    margin: 0 0 3rem;
    font-size: clamp(1.1rem, 1.55vw, 1.4rem) !important;
    line-height: 1.9;
}

.ark-home #manifesto .manifesto-text:first-child::first-letter {
    float: left;
    margin: -.15em .16em -.1em 0;
    color: var(--ark-black);
    font-family: var(--ark-display);
    font-size: 6.5rem;
    line-height: .9;
}

.ark-home #manifesto .manifesto-highlight {
    max-width: 650px;
    margin: 6rem 0 0;
    padding-top: 2.5rem;
    border-top: 1px solid var(--ark-line);
    font-size: clamp(2.8rem, 4.5vw, 5rem) !important;
}

/* Method: a deliberately staggered sequence, not a repeated card row. */
.ark-home #features {
    min-height: 900px;
}

.ark-home #features > div:first-child {
    display: grid;
    grid-template-columns: .45fr 1.55fr;
    align-items: end;
    gap: 2rem;
}

.ark-home #features > div:first-child .section-index,
.ark-home #features > div:first-child .line-category {
    grid-column: 1;
}

.ark-home #features > div:first-child .section-title {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.ark-home #features .features-grid {
    align-items: start;
    margin-top: 5rem;
}

.ark-home #features .feature-card {
    position: relative;
    min-height: 360px;
    padding: 2rem;
}

.ark-home #features .feature-card:nth-child(even) {
    margin-top: 7rem;
}

.ark-home #features .feature-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: rgba(255,255,255,.38);
    font-family: var(--ark-display);
    font-size: 1.5rem;
}

.ark-home #features .feature-card:hover .feature-number {
    color: var(--ark-black);
}

.ark-home #features .feature-icon {
    margin-top: 1rem;
}

.ark-home #features .feature-title {
    margin-top: 8rem;
}

/* Collections: magazine-like mosaic with one hero object per line. */
@media (min-width: 1101px) {
    .ark-home .line-section .products-grid {
        display: grid;
        grid-template-columns: 1.38fr 1fr 1fr;
        grid-template-rows: minmax(300px, auto) minmax(300px, auto);
        grid-template-areas:
            'lead second third'
            'lead fourth fourth';
        gap: 1.2rem;
    }

    .ark-home .line-section .product-card:nth-child(1) { grid-area: lead; }
    .ark-home .line-section .product-card:nth-child(2) { grid-area: second; }
    .ark-home .line-section .product-card:nth-child(3) { grid-area: third; }
    .ark-home .line-section .product-card:nth-child(4) { grid-area: fourth; }

    .ark-home .line-section .product-card:nth-child(1) .product-image-container {
        min-height: 690px;
        height: calc(100% - 150px);
    }

    .ark-home .line-section .product-card:nth-child(2) .product-image-container,
    .ark-home .line-section .product-card:nth-child(3) .product-image-container {
        min-height: 295px;
    }

    .ark-home .line-section .product-card:nth-child(4) {
        display: grid;
        grid-template-columns: 1.25fr 1fr;
        align-items: stretch;
        padding-bottom: 0 !important;
        border: 1px solid var(--ark-line) !important;
    }

    .ark-home .line-section .product-card:nth-child(4) .product-image-container {
        min-height: 310px;
        height: 100%;
        margin: 0;
    }

    .ark-home .line-section .product-card:nth-child(4) .product-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2.5rem !important;
    }
}

.ark-home .line-header {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    align-items: end;
}

.ark-home .collection-number {
    align-self: start;
    color: var(--ark-black);
    font-family: var(--ark-display);
    font-size: 3.3rem;
    line-height: 1;
}

.ark-home .product-card::before {
    content: attr(data-product-index);
    position: absolute;
    right: .4rem;
    bottom: .35rem;
    z-index: 2;
    color: #888;
    font-size: .55rem;
    letter-spacing: .12em;
}

/* Atelier: image and copy are now equal structural actors. */
.ark-home .cta-section {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 820px;
    padding: 0 !important;
    text-align: left;
}

.ark-home .cta-media {
    position: relative;
    min-height: 820px;
    overflow: hidden;
}

.ark-home .cta-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55));
}

.ark-home .cta-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.12);
}

.ark-home .cta-media span {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 1;
    color: var(--ark-white);
    font-size: .62rem;
    letter-spacing: .2em;
}

.ark-home .cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(3rem, 7vw, 8rem);
    text-align: left;
}

.ark-home .cta-title {
    font-size: clamp(4rem, 6.3vw, 7.2rem) !important;
}

.ark-home .cta-text {
    margin: 2rem 0 2.8rem;
}

.ark-home .newsletter-section > div {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(3rem, 8vw, 9rem);
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.ark-home .newsletter-section .section-index,
.ark-home .newsletter-section .section-title,
.ark-home .newsletter-section .section-divider {
    grid-column: 1;
}

.ark-home .newsletter-section p,
.ark-home .newsletter-section .newsletter-form {
    grid-column: 2;
}

.ark-home .newsletter-section p {
    align-self: end;
    margin-bottom: 0 !important;
}

.ark-home .newsletter-section .newsletter-form {
    align-self: start;
    margin: 0;
}

.ark-home .gift-card-container {
    grid-template-columns: 1.15fr .85fr;
}

.ark-home .gift-card-visual {
    transform: rotate(4deg) translateX(-2rem);
}

/* Catalog: exhibition wall with variable object scale. */
.ark-catalog .catalog-section {
    max-width: none;
    padding: 76px 0 9rem;
}

.ark-catalog .catalog-header {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    align-items: end;
    gap: 4rem;
    min-height: 560px;
    margin: 0 0 5rem;
    padding: 9rem max(6vw, 2rem) 5rem;
    background: var(--ark-black);
    color: var(--ark-white);
    border: 0;
}

.ark-catalog .catalog-eyebrow {
    grid-column: 1 / -1;
    color: rgba(255,255,255,.55) !important;
}

.ark-catalog .catalog-title {
    margin: 0;
    color: var(--ark-white);
    font-size: clamp(5.5rem, 11vw, 11rem);
    line-height: .68;
}

.ark-catalog .catalog-subtitle {
    align-self: end;
    color: rgba(255,255,255,.62);
}

.ark-catalog .catalog-meta,
.ark-catalog .products-grid,
.ark-catalog .empty-catalog {
    max-width: var(--ark-max);
    margin-right: auto;
    margin-left: auto;
}

.ark-catalog .catalog-meta,
.ark-catalog .products-grid {
    width: calc(100% - max(8vw, 2.5rem));
}

@media (min-width: 1101px) {
    .ark-catalog .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: start;
        gap: 1.4rem;
    }

    .ark-catalog .product-card:nth-child(7n + 1),
    .ark-catalog .product-card:nth-child(7n + 5) {
        grid-column: span 2;
    }

    .ark-catalog .product-card:nth-child(7n + 1) .product-image-container,
    .ark-catalog .product-card:nth-child(7n + 5) .product-image-container {
        aspect-ratio: 1.45 / 1;
    }

    .ark-catalog .product-card:nth-child(4n + 2) {
        margin-top: 5rem;
    }
}

/* Product: gallery room on the left, dark object dossier on the right. */
@media (min-width: 901px) {
    .ark-product {
        background: var(--ark-black) !important;
    }

    .ark-product .product-container {
        max-width: none;
        min-height: 100svh;
        padding: 0 !important;
        grid-template-columns: 58% 42%;
        gap: 0;
        background: var(--ark-black);
    }

    .ark-product .gallery-section {
        position: relative;
        top: auto;
        min-height: 100svh;
        padding: 9rem 5vw 5rem;
        background: var(--ark-paper);
    }

    .ark-product .main-image-container {
        height: calc(100svh - 14rem);
        min-height: 610px;
        aspect-ratio: auto;
    }

    .ark-product .product-details {
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 10rem clamp(3rem, 5vw, 6rem) 6rem;
        background: var(--ark-black);
        color: var(--ark-white);
    }

    .ark-product .category-badge,
    .ark-product .product-title,
    .ark-product .product-price,
    .ark-product .quantity-label,
    .ark-product .feature-title {
        color: var(--ark-white) !important;
    }

    .ark-product .product-description,
    .ark-product .feature-text,
    .ark-product .auth-notice {
        color: rgba(255,255,255,.56) !important;
    }

    .ark-product .product-price,
    .ark-product .features-grid {
        border-color: var(--ark-line-dark) !important;
    }

    .ark-product .stock-status,
    .ark-product .preorder-alert,
    .ark-product .quantity-control,
    .ark-product .auth-notice,
    .ark-product .feature {
        background: rgba(255,255,255,.05) !important;
        border-color: var(--ark-line-dark) !important;
    }

    .ark-product .stock-text,
    .ark-product .preorder-text {
        color: rgba(255,255,255,.6) !important;
    }

    .ark-product .stock-indicator {
        background: var(--ark-white);
    }

    .ark-product .wishlist-button {
        background: transparent;
        color: var(--ark-white);
        border-color: var(--ark-white);
    }

    .ark-product .btn {
        background: var(--ark-white) !important;
        color: var(--ark-black) !important;
        border-color: var(--ark-white) !important;
    }
}

/* Cart: wider working canvas and a deliberately compact summary column. */
.ark-cart .page-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    min-height: 250px;
}

.ark-cart .cart-grid {
    grid-template-columns: minmax(0, 1.9fr) minmax(320px, .7fr);
    align-items: start;
}

.ark-cart .items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--ark-line);
    border: 1px solid var(--ark-line);
}

.ark-cart .item-card {
    grid-template-columns: 120px 1fr;
    margin: 0;
    border: 0;
}

.ark-cart .summary {
    position: sticky;
    top: 7rem;
}

/* Wishlist follows the exhibition rhythm rather than the store grid. */
@media (min-width: 901px) {
    .ark-wishlist .wishlist-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .ark-wishlist .wishlist-card {
        grid-column: span 4;
    }

    .ark-wishlist .wishlist-card:nth-child(5n + 1) {
        grid-column: span 7;
    }

    .ark-wishlist .wishlist-card:nth-child(5n + 2) {
        grid-column: span 5;
        margin-top: 7rem;
    }
}

/* Account surfaces gain a clear editorial header and denser operational cards. */
.ark-account > section > .container,
.ark-checkout > section > .container,
.ark-confirmation > section > .container,
.ark-orders > section > .container,
.ark-preorders > section > .container {
    max-width: 1380px !important;
}

.ark-account > section > .container > h1,
.ark-checkout > section > .container > h1,
.ark-confirmation > section > .container > h1,
.ark-orders > section > .container > h1,
.ark-preorders > section > .container > h1 {
    max-width: 780px;
    margin-right: auto;
    margin-left: 0;
    text-align: left !important;
}

/* V2 mobile: retain hierarchy while collapsing every editorial composition. */
@media (max-width: 1100px) {
    .ark-home .line-header {
        grid-template-columns: 60px minmax(0, 1fr) auto;
    }

    .ark-home .collection-number {
        font-size: 2.5rem;
    }

    .ark-cart .items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .ark-home .hero-rail,
    .ark-home .hero-edition {
        display: none;
    }

    .ark-home #manifesto {
        min-height: auto;
    }

    .ark-home #manifesto .manifesto-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ark-home .manifesto-heading {
        position: static;
    }

    .ark-home #manifesto .manifesto-heading .section-title {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: clamp(3.7rem, 15vw, 6rem) !important;
        line-height: .82;
    }

    .ark-home .manifesto-copy {
        padding: 2rem 0 0;
        border-top: 1px solid var(--ark-line);
        border-left: 0;
    }

    .ark-home #features > div:first-child {
        display: block;
    }

    .ark-home #features .feature-card:nth-child(even) {
        margin-top: 0;
    }

    .ark-home .line-header {
        grid-template-columns: 1fr auto;
    }

    .ark-home .collection-number {
        grid-column: 1 / -1;
        margin-bottom: 1.5rem;
    }

    .ark-home .cta-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ark-home .cta-media {
        min-height: 65svh;
    }

    .ark-home .cta-content {
        min-height: 620px;
        padding: 5rem 1.5rem;
    }

    .ark-home .newsletter-section > div {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ark-home .newsletter-section .section-index,
    .ark-home .newsletter-section .section-title,
    .ark-home .newsletter-section .section-divider,
    .ark-home .newsletter-section p,
    .ark-home .newsletter-section .newsletter-form {
        grid-column: 1;
    }

    .ark-home .gift-card-visual {
        transform: none;
    }

    .ark-catalog .catalog-section {
        padding-top: 68px;
    }

    .ark-catalog .catalog-header {
        display: block;
        min-height: 560px;
        padding: 8rem 1.25rem 4rem;
    }

    .ark-catalog .catalog-title {
        margin: 3rem 0 2rem;
        font-size: clamp(5rem, 24vw, 7rem);
    }

    .ark-catalog .catalog-meta,
    .ark-catalog .products-grid {
        width: calc(100% - 2.5rem);
    }

    .ark-product {
        background: var(--ark-white) !important;
    }

    .ark-cart .page-head {
        min-height: 190px;
    }
}

@media (max-width: 560px) {
    .ark-home .line-header {
        display: flex;
    }

    .ark-home .collection-number {
        align-self: flex-start;
    }

    .ark-cart .page-head {
        display: block;
    }
}

/* ========================================================================== */
/* ARKAIOS EDITORIAL V3 — responsive typography and complete page system      */
/* ========================================================================== */

.ark-page {
    --ark-content: 1440px;
    --ark-gutter: clamp(1.25rem, 5vw, 5rem);
    overflow-x: hidden;
}

.ark-page h1,
.ark-page h2,
.ark-page h3,
.ark-page p,
.ark-page a,
.ark-page span {
    max-width: 100%;
}

.ark-page h1,
.ark-page h2,
.ark-page h3 {
    overflow: visible;
    text-wrap: pretty;
}

.ark-page img,
.ark-page svg {
    max-width: 100%;
}

/* Navigation is deliberately calmer and more compact on every internal page. */
.ark-page:not(.ark-home) > nav {
    min-height: 76px;
    background: rgba(10,10,10,.98) !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
    box-shadow: none !important;
}

.ark-page:not(.ark-home) > nav .brand-wordmark,
.ark-page:not(.ark-home) > nav a,
.ark-page:not(.ark-home) > nav span,
.ark-page:not(.ark-home) > nav svg {
    color: #fff !important;
}

.ark-page:not(.ark-home) > nav .brand-wordmark {
    font-size: .72rem;
    letter-spacing: .24em;
}

.ark-page:not(.ark-home) > nav .brand-logo {
    width: 48px;
    height: 48px;
    border-color: rgba(255,255,255,.2);
}

/* Homepage: content height is intrinsic, preventing copy from being clipped. */
.ark-home .hero-section {
    height: auto !important;
}

.ark-home .hero-content,
.ark-home .hero-title,
.ark-home .hero-description,
.ark-home .manifesto-copy,
.ark-home .line-header > *,
.ark-home .cta-content > * {
    min-width: 0;
}

.ark-home .manifesto-text,
.ark-home .manifesto-highlight,
.ark-home .hero-description,
.ark-home .cta-description,
.ark-home .newsletter-section p {
    text-wrap: pretty;
}

/* Catalog: product information is treated as a precise exhibition caption. */
.ark-catalog .catalog-meta {
    padding: 0 0 1.15rem;
    border-bottom: 1px solid var(--ark-line);
}

.ark-catalog .product-card {
    background: transparent !important;
}

.ark-catalog .product-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .55rem 1rem;
    padding: 1.25rem 0 2.3rem;
}

.ark-catalog .product-category,
.ark-catalog .product-description-short {
    grid-column: 1 / -1;
}

.ark-catalog .product-title {
    margin: 0;
    font-size: clamp(1.45rem, 2.2vw, 2.2rem);
}

.ark-catalog .product-price {
    align-self: end;
    white-space: nowrap;
}

.ark-catalog .product-action-btn {
    grid-column: 1 / -1;
    min-height: 48px;
    margin-top: .55rem;
}

/* Product: keep the dossier treatment on mobile as well as desktop. */
.ark-product .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .6rem;
    padding-right: var(--ark-gutter) !important;
    padding-left: var(--ark-gutter) !important;
}

.ark-product .product-details {
    min-width: 0;
}

.ark-product .product-description,
.ark-product .feature-text,
.ark-product .auth-notice,
.ark-product .stock-text,
.ark-product .preorder-text {
    text-wrap: pretty;
}

/* Cart: strong hierarchy without fragile fixed sizes. */
.ark-cart .page-head::before {
    content: '01 / SELEZIONE';
    grid-column: 1 / -1;
    margin-bottom: 1.25rem;
    font-family: var(--ark-body);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .2em;
}

.ark-cart .summary {
    background: var(--ark-black);
    color: var(--ark-white);
    border-color: var(--ark-black);
}

.ark-cart .summary h2,
.ark-cart .summary span,
.ark-cart .summary p {
    color: inherit !important;
}

.ark-cart .summary [class*='border-'] {
    border-color: rgba(255,255,255,.18) !important;
}

.ark-cart .summary .checkout-btn {
    background: var(--ark-white) !important;
    color: var(--ark-black) !important;
}

/* Editorial headings for every transactional/account surface. */
.ark-account > section > .container > h1,
.ark-checkout > section > .container > h1,
.ark-orders > section > .container > h1,
.ark-preorders > section > .container > h1 {
    position: relative;
    margin-bottom: clamp(2.5rem, 5vw, 5rem) !important;
    padding: 1.2rem 0 2rem;
    border-bottom: 1px solid var(--ark-line);
}

.ark-account > section > .container > h1::before,
.ark-checkout > section > .container > h1::before,
.ark-orders > section > .container > h1::before,
.ark-preorders > section > .container > h1::before {
    display: block;
    margin-bottom: 1.2rem;
    color: var(--ark-muted);
    font-family: var(--ark-body);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .2em;
    line-height: 1;
}

.ark-account > section > .container > h1::before { content: 'ACCOUNT / PROFILO'; }
.ark-checkout > section > .container > h1::before { content: 'CHECKOUT / PAGAMENTO PROTETTO'; }
.ark-orders > section > .container > h1::before { content: 'ORDINI / TRACCIAMENTO'; }
.ark-preorders > section > .container > h1::before { content: 'ACCOUNT / PREORDINI'; }

.ark-account .bg-white,
.ark-checkout .bg-white,
.ark-confirmation .bg-white,
.ark-orders .bg-white,
.ark-preorders .bg-white {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ark-account input,
.ark-account textarea,
.ark-checkout input,
.ark-checkout textarea,
.ark-orders input {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Profile: black identity card paired with a clean editing surface. */
.ark-account [class~='lg:col-span-1'] > .bg-white {
    background: var(--ark-black) !important;
    color: var(--ark-white) !important;
    border-color: var(--ark-black) !important;
}

.ark-account [class~='lg:col-span-1'] h2,
.ark-account [class~='lg:col-span-1'] p,
.ark-account [class~='lg:col-span-1'] span {
    color: inherit !important;
}

.ark-account [class~='lg:col-span-1'] [class*='border-'] {
    border-color: rgba(255,255,255,.18) !important;
}

.ark-account [class~='lg:col-span-1'] .rounded-full {
    border-radius: 50% !important;
}

.ark-account [class~='lg:col-span-2'] > .bg-white {
    padding: clamp(1.5rem, 4vw, 3.4rem) !important;
}

.ark-account button[type='submit'] {
    min-height: 56px;
    background: var(--ark-black) !important;
    color: var(--ark-white) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    text-transform: uppercase;
    letter-spacing: .12em;
}

/* Checkout: white working area and a black, sticky order dossier. */
.ark-checkout [class~='lg:col-span-2'] > .bg-white {
    padding: clamp(1.5rem, 4vw, 3rem) !important;
}

.ark-checkout [class~='lg:col-span-1'] > .bg-white {
    background: var(--ark-black) !important;
    color: var(--ark-white) !important;
    border-color: var(--ark-black) !important;
}

.ark-checkout [class~='lg:col-span-1'] h2,
.ark-checkout [class~='lg:col-span-1'] p,
.ark-checkout [class~='lg:col-span-1'] span {
    color: inherit !important;
}

.ark-checkout [class~='lg:col-span-1'] .bg-gray-50 {
    background: rgba(255,255,255,.07) !important;
    border-color: rgba(255,255,255,.14) !important;
}

.ark-checkout [class~='lg:col-span-1'] [class*='border-'] {
    border-color: rgba(255,255,255,.16) !important;
}

.ark-checkout a[class*='bg-arkaios'] {
    background: var(--ark-black) !important;
    border-radius: 0 !important;
}

/* Confirmation: a ceremonial black opening, then a structured receipt. */
.ark-confirmation > section > .container > .text-center:first-child {
    margin-bottom: 0 !important;
    padding: clamp(3rem, 8vw, 7rem) var(--ark-gutter);
    background: var(--ark-black);
    color: var(--ark-white);
}

.ark-confirmation > section > .container > .text-center:first-child h1,
.ark-confirmation > section > .container > .text-center:first-child p {
    color: inherit !important;
}

.ark-confirmation > section > .container > .text-center:first-child svg circle,
.ark-confirmation > section > .container > .text-center:first-child svg path {
    stroke: var(--ark-white) !important;
}

.ark-confirmation > section > .container > .bg-white {
    padding: clamp(1.5rem, 5vw, 4rem) !important;
}

.ark-confirmation > section > .container > .bg-green-50 {
    background: var(--ark-black) !important;
    color: var(--ark-white) !important;
    border-color: var(--ark-black) !important;
    border-radius: 0 !important;
}

.ark-confirmation > section > .container > .bg-green-50 h2,
.ark-confirmation > section > .container > .bg-green-50 h3,
.ark-confirmation > section > .container > .bg-green-50 p {
    color: inherit !important;
}

.ark-confirmation > section > .container > .bg-green-50 .rounded-full {
    background: var(--ark-white) !important;
    color: var(--ark-black) !important;
}

.ark-confirmation a[class*='rounded-full'] {
    border-radius: 0 !important;
}

/* Order tracking and preorder lists become concise operational records. */
.ark-orders form {
    padding: .35rem;
    background: var(--ark-black);
}

.ark-orders form input {
    min-height: 52px;
    border: 0 !important;
}

.ark-orders form button {
    min-width: 120px;
    background: var(--ark-white) !important;
    color: var(--ark-black) !important;
    border: 1px solid var(--ark-white);
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.ark-orders .space-y-4 > .bg-white,
.ark-preorders .space-y-4 > div {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ark-preorders .space-y-4 > div {
    background: var(--ark-white) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ark-line) !important;
}

.ark-preorders .space-y-4 img {
    border-radius: 0 !important;
}

/* Personalization: preserve drama while making every copy block legible. */
.ark-personalization .hero-gradient {
    min-height: min(840px, 88svh);
    display: flex;
    align-items: center;
}

.ark-personalization .hero-gradient h1 {
    max-width: 880px;
    font-size: clamp(4rem, 8vw, 8rem) !important;
    line-height: .82 !important;
    text-wrap: pretty;
}

.ark-personalization .step-card,
.ark-personalization [class*='rounded-2xl'] {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ark-personalization #consulto {
    background: var(--ark-black) !important;
}

/* Legal pages read like a carefully typeset dossier. */
.ark-legal main > div {
    background:
        linear-gradient(90deg, var(--ark-black) 0 7px, transparent 7px),
        var(--ark-white) !important;
}

.ark-legal main h1 {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--ark-line);
}

/* Wishlist and empty states share the same exhibition language. */
.ark-wishlist .empty-wishlist,
.ark-catalog .empty-catalog,
.ark-cart .empty {
    border: 1px solid var(--ark-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 900px) {
    .ark-product .product-container {
        display: block !important;
        padding: 76px 0 0 !important;
    }

    .ark-product .gallery-section {
        position: static !important;
        padding: 1.25rem !important;
        background: var(--ark-paper);
    }

    .ark-product .main-image-container {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1.08;
    }

    .ark-product .product-details {
        padding: 3.5rem 1.25rem 4.5rem !important;
        background: var(--ark-black) !important;
        color: var(--ark-white) !important;
    }

    .ark-product .category-badge,
    .ark-product .product-title,
    .ark-product .product-price,
    .ark-product .quantity-label,
    .ark-product .feature-title {
        color: var(--ark-white) !important;
    }

    .ark-product .product-description,
    .ark-product .feature-text,
    .ark-product .auth-notice,
    .ark-product .stock-text,
    .ark-product .preorder-text {
        color: rgba(255,255,255,.64) !important;
    }

    .ark-product .product-price,
    .ark-product .features-grid {
        border-color: var(--ark-line-dark) !important;
    }

    .ark-product .stock-status,
    .ark-product .preorder-alert,
    .ark-product .quantity-control,
    .ark-product .auth-notice,
    .ark-product .feature {
        background: rgba(255,255,255,.06) !important;
        border-color: var(--ark-line-dark) !important;
    }

    .ark-product .btn {
        background: var(--ark-white) !important;
        color: var(--ark-black) !important;
        border-color: var(--ark-white) !important;
    }

    .ark-product .wishlist-button {
        color: var(--ark-white);
        background: transparent;
        border-color: var(--ark-white);
    }
}

@media (max-width: 820px) {
    .ark-page:not(.ark-home) > nav {
        min-height: 68px;
    }

    .ark-page:not(.ark-home) > nav .brand-logo {
        width: 42px;
        height: 42px;
    }

    .ark-home .hero-section,
    body.ark-home.has-announcement .hero-section {
        min-height: 100svh !important;
        padding: 8.25rem 1.25rem 3.5rem !important;
        align-items: flex-start !important;
        overflow: hidden;
    }

    body.ark-home.has-announcement .hero-section {
        padding-top: 10.5rem !important;
    }

    .ark-home .hero-content {
        width: 100% !important;
        max-width: 620px;
        padding: 0 !important;
    }

    .ark-home .hero-badge {
        margin-bottom: 1.35rem;
        font-size: .58rem !important;
        letter-spacing: .16em !important;
    }

    .ark-home .hero-badge::before {
        width: 28px;
    }

    .ark-home .hero-title {
        width: 100%;
        margin-bottom: 1.35rem;
        font-size: clamp(3.15rem, 14.5vw, 5rem) !important;
        line-height: .88 !important;
        letter-spacing: -.045em !important;
        text-wrap: pretty;
    }

    .ark-home .hero-title-accent {
        display: inline;
    }

    .ark-home .hero-description {
        max-width: 34rem;
        margin-bottom: 1.7rem;
        font-size: clamp(.9rem, 4vw, 1rem) !important;
        line-height: 1.62;
    }

    .ark-home .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
        width: min(100%, 34rem);
    }

    .ark-home .hero-btn-primary,
    .ark-home .hero-btn-secondary {
        min-height: 52px;
    }

    .ark-home #manifesto,
    .ark-home #features,
    .ark-home .products-section,
    .ark-home .cta-section,
    .ark-home .newsletter-section {
        overflow: visible;
    }

    .ark-home #manifesto .manifesto-heading .section-title,
    .ark-home #features .section-title,
    .ark-home .newsletter-section .section-title {
        max-width: 100%;
        font-size: clamp(3rem, 13vw, 5rem) !important;
        line-height: .9 !important;
        letter-spacing: -.045em !important;
    }

    .ark-home .manifesto-copy {
        padding-top: 1.5rem;
    }

    .ark-home .manifesto-text,
    .ark-home .manifesto-highlight {
        font-size: clamp(1rem, 4.5vw, 1.18rem) !important;
        line-height: 1.7;
    }

    .ark-home .line-header {
        display: block !important;
    }

    .ark-home .collection-number,
    .ark-home .line-category,
    .ark-home .line-title,
    .ark-home .line-description,
    .ark-home .view-all-btn {
        max-width: 100%;
    }

    .ark-home .line-title {
        margin: .75rem 0 1rem;
        font-size: clamp(2.75rem, 13vw, 4.6rem) !important;
        line-height: .88 !important;
        overflow-wrap: break-word;
    }

    .ark-home .line-description {
        margin-bottom: 1.25rem;
        line-height: 1.65;
    }

    .ark-home .products-grid {
        margin-top: 2rem;
    }

    .ark-home .cta-media {
        min-height: 52svh;
    }

    .ark-home .cta-content {
        min-height: 0 !important;
        padding: 4rem 1.25rem !important;
    }

    .ark-home .cta-title {
        font-size: clamp(3rem, 13vw, 5rem) !important;
        line-height: .9 !important;
    }

    .ark-catalog .catalog-header {
        min-height: 0;
        padding: 7.5rem 1.25rem 4rem;
    }

    .ark-catalog .catalog-title {
        margin: 2.25rem 0 1.5rem;
        font-size: clamp(3.6rem, 18vw, 6rem);
        line-height: .78;
        overflow-wrap: normal;
    }

    .ark-catalog .catalog-subtitle {
        font-size: .92rem;
        line-height: 1.7;
    }

    .ark-catalog .catalog-meta,
    .ark-catalog .products-grid,
    .ark-catalog .empty-catalog {
        width: calc(100% - 2.5rem);
    }

    .ark-cart .page {
        padding-top: 7.5rem;
    }

    .ark-cart .page-title,
    .ark-wishlist .page-title,
    .ark-account > section > .container > h1,
    .ark-checkout > section > .container > h1,
    .ark-orders > section > .container > h1,
    .ark-preorders > section > .container > h1 {
        font-size: clamp(2.9rem, 13vw, 4.6rem) !important;
        line-height: .9 !important;
        overflow-wrap: break-word;
    }

    .ark-cart .item-card {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .ark-account > section,
    .ark-checkout > section,
    .ark-confirmation > section,
    .ark-orders > section,
    .ark-preorders > section {
        padding: 7.5rem 1rem 4rem !important;
    }

    .ark-account [class~='lg:col-span-1'] > .bg-white,
    .ark-account [class~='lg:col-span-2'] > .bg-white,
    .ark-checkout [class~='lg:col-span-1'] > .bg-white,
    .ark-checkout [class~='lg:col-span-2'] > .bg-white,
    .ark-confirmation > section > .container > .bg-white,
    .ark-confirmation > section > .container > .bg-green-50 {
        padding: 1.5rem !important;
    }

    .ark-confirmation > section > .container > .text-center:first-child {
        margin-right: -1rem;
        margin-left: -1rem;
        padding: 4rem 1.25rem;
    }

    .ark-confirmation > section > .container > .text-center:first-child h1 {
        font-size: clamp(3rem, 13vw, 4.5rem) !important;
        line-height: .9;
    }

    .ark-confirmation > section > .container > .text-center:first-child p {
        font-size: 1rem !important;
    }

    .ark-personalization .hero-gradient {
        min-height: 0;
        padding: 8rem 1.25rem 4rem !important;
    }

    .ark-personalization .hero-gradient h1 {
        font-size: clamp(3.2rem, 14vw, 5rem) !important;
        line-height: .88 !important;
    }

    .ark-legal main {
        padding: 6.5rem 1rem 4rem !important;
    }

    .ark-legal main > div {
        padding: 2rem 1.35rem 2.5rem !important;
        background:
            linear-gradient(90deg, var(--ark-black) 0 4px, transparent 4px),
            var(--ark-white) !important;
    }

    .ark-legal main h1 {
        font-size: clamp(2.8rem, 13vw, 4.4rem) !important;
        overflow-wrap: break-word;
    }
}

@media (max-width: 380px) {
    .ark-home .hero-section,
    body.ark-home.has-announcement .hero-section {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }

    .ark-home .hero-title {
        font-size: clamp(2.85rem, 14vw, 3.45rem) !important;
    }

    .ark-home .hero-description {
        font-size: .88rem !important;
        line-height: 1.55;
    }

    .ark-home .hero-btn-primary,
    .ark-home .hero-btn-secondary {
        min-height: 49px;
        padding: 0 1rem !important;
        font-size: .62rem !important;
    }

    .ark-catalog .catalog-title,
    .ark-cart .page-title,
    .ark-wishlist .page-title,
    .ark-account > section > .container > h1,
    .ark-checkout > section > .container > h1,
    .ark-orders > section > .container > h1,
    .ark-preorders > section > .container > h1 {
        font-size: 2.8rem !important;
    }
}
