:root {
    --tpl-demo-primary: #d88f92;
    --tpl-demo-secondary: #e9ded4;
    --tpl-demo-primary-strong: #c6787f;
    --tpl-demo-background: #fcf9f6;
    --tpl-demo-surface: #ffffff;
    --tpl-demo-surface-alt: #f6efe8;
    --tpl-demo-ink: #221d1a;
    --tpl-demo-muted: #736964;
    --tpl-demo-line: #ece3db;
    --tpl-demo-shadow: 0 24px 58px rgba(88, 63, 50, 0.08);
    --tpl-demo-serif: "Cormorant Garamond", "Bodoni Moda", "Didot", "Times New Roman", serif;
    --tpl-demo-sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

.tpl-demo-fashion-body,
.tpl-demo-fashion-body * {
    box-sizing: border-box;
}

.tpl-demo-fashion-body {
    margin: 0;
    color: var(--tpl-demo-ink);
    background:
        radial-gradient(circle at top left, rgba(233, 222, 212, 0.36), transparent 30%),
        linear-gradient(180deg, #fdfbf8 0%, var(--tpl-demo-background) 52%, #faf5ef 100%);
    font-family: var(--tpl-demo-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.tpl-demo-fashion-body a {
    color: inherit;
    text-decoration: none;
}

.tpl-demo-fashion-body button,
.tpl-demo-fashion-body input {
    font: inherit;
}

.tpl-demo-fashion-body img {
    display: block;
    width: 100%;
    height: auto;
}

.tpl-demo-fashion-main {
    padding-bottom: 2rem;
}

.tpl-demo-shell {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.tpl-demo-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.tpl-demo-icon {
    width: 1em;
    height: 1em;
    display: block;
    flex: none;
}

.tpl-demo-topbar {
    background: linear-gradient(90deg, rgba(233, 222, 212, 0.9), rgba(244, 236, 229, 0.9));
    border-bottom: 1px solid rgba(199, 173, 154, 0.22);
}

.tpl-demo-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 36px;
}

.tpl-demo-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #5c524d;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tpl-demo-topbar-icon {
    font-size: 0.9rem;
    color: #4a403b;
}

.tpl-demo-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(236, 227, 219, 0.8);
}

.tpl-demo-header-main {
    display: grid;
    grid-template-columns: 240px minmax(320px, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.1rem 0;
}

.tpl-demo-logo {
    display: inline-flex;
    flex-direction: column;
    width: fit-content;
    color: #171210;
}

.tpl-demo-logo-title {
    font-family: var(--tpl-demo-serif);
    font-size: clamp(2.55rem, 5vw, 3.35rem);
    line-height: 0.82;
    letter-spacing: 0.16em;
    font-weight: 500;
}

.tpl-demo-logo-subtitle {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: #665b54;
    text-transform: uppercase;
}

.tpl-demo-search {
    width: 100%;
}

.tpl-demo-search-field {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 3.3rem;
    padding: 0 0.45rem 0 1.2rem;
    background: rgba(252, 250, 247, 0.9);
    border: 1px solid var(--tpl-demo-line);
    border-radius: 0.9rem;
    box-shadow: 0 8px 20px rgba(79, 60, 49, 0.03);
}

.tpl-demo-search-field:focus-within {
    border-color: rgba(216, 143, 146, 0.6);
    box-shadow: 0 0 0 4px rgba(216, 143, 146, 0.12);
}

.tpl-demo-search-field input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0;
    color: #534944;
    background: transparent;
    font-size: 0.98rem;
}

.tpl-demo-search-field input::placeholder {
    color: #9c918a;
}

.tpl-demo-search-field button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border: 0;
    border-radius: 0.8rem;
    background: transparent;
    color: #29221f;
    cursor: pointer;
}

.tpl-demo-search-field button:hover {
    background: rgba(233, 222, 212, 0.45);
}

.tpl-demo-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.35rem;
}

.tpl-demo-action {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #302926;
}

.tpl-demo-action-copy {
    display: flex;
    flex-direction: column;
    gap: 0.16rem;
}

.tpl-demo-action-copy strong {
    font-size: 0.88rem;
    font-weight: 700;
}

.tpl-demo-action-copy small {
    color: var(--tpl-demo-muted);
    font-size: 0.77rem;
    line-height: 1.2;
}

.tpl-demo-action-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--tpl-demo-line);
    border-radius: 999px;
    color: #27211d;
    background: rgba(255, 255, 255, 0.9);
}

.tpl-demo-action-icon .tpl-demo-icon {
    width: 1.18rem;
    height: 1.18rem;
}

.tpl-demo-cart-count {
    position: absolute;
    top: -0.25rem;
    right: -0.2rem;
    min-width: 1rem;
    min-height: 1rem;
    padding: 0 0.18rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--tpl-demo-primary);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
}

.tpl-demo-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    padding: 0;
    border: 1px solid var(--tpl-demo-line);
    border-radius: 999px;
    background: #fff;
    color: var(--tpl-demo-ink);
    cursor: pointer;
}

.tpl-demo-nav-wrap {
    border-top: 1px solid rgba(236, 227, 219, 0.82);
}

.tpl-demo-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.95rem;
    min-height: 3.55rem;
}

.tpl-demo-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #433934;
    text-transform: uppercase;
    transition: color 180ms ease;
}

.tpl-demo-nav a:hover,
.tpl-demo-nav a:focus-visible {
    color: var(--tpl-demo-primary-strong);
}

.tpl-demo-nav a.is-accent {
    color: var(--tpl-demo-primary);
}

.tpl-demo-nav-caret {
    display: inline-flex;
    font-size: 0.78rem;
}

.tpl-demo-hero {
    position: relative;
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding-top: 0.15rem;
}

.tpl-demo-hero-track {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(233, 222, 212, 0.8);
    box-shadow: var(--tpl-demo-shadow);
}

.tpl-demo-hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    min-height: 480px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.75), transparent 30%),
        linear-gradient(90deg, #f5ece5 0%, #fbf8f4 48%, #f4ece5 100%);
}

.tpl-demo-hero-slide.is-active {
    display: grid;
}

.tpl-demo-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 4.6rem 4rem 4rem;
}

.tpl-demo-hero-kicker,
.tpl-demo-inner-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: var(--tpl-demo-primary);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tpl-demo-hero-copy h1,
.tpl-demo-inner-hero h1,
.tpl-demo-product-info h1,
.tpl-demo-content-page h1 {
    margin: 0;
    font-family: var(--tpl-demo-serif);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #1b1513;
}

.tpl-demo-hero-copy h1 {
    max-width: 18rem;
    font-size: clamp(3.2rem, 7vw, 5.15rem);
    line-height: 0.86;
}

.tpl-demo-hero-copy p {
    max-width: 26rem;
    margin: 1.2rem 0 1.8rem;
    color: #6a605b;
    font-size: 1.02rem;
    line-height: 1.7;
}

.tpl-demo-hero-button,
.tpl-demo-product-actions a,
.tpl-demo-cart-summary a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 1.65rem;
    border: 1px solid transparent;
    border-radius: 0.72rem;
    background: linear-gradient(180deg, var(--tpl-demo-primary), var(--tpl-demo-primary-strong));
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
    box-shadow: 0 16px 32px rgba(198, 120, 127, 0.24);
}

.tpl-demo-hero-button:hover,
.tpl-demo-product-actions a:hover,
.tpl-demo-cart-summary a:hover {
    filter: brightness(1.02);
    transform: translateY(-1px);
}

.tpl-demo-hero-media {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.tpl-demo-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tpl-demo-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 3.3rem;
    height: 3.3rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #312825;
    box-shadow: 0 14px 34px rgba(52, 39, 33, 0.12);
    cursor: pointer;
    transform: translateY(-50%);
}

.tpl-demo-hero-arrow .tpl-demo-icon {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0 auto;
}

.tpl-demo-hero-arrow-left {
    left: -1.65rem;
}

.tpl-demo-hero-arrow-right {
    right: -1.65rem;
}

.tpl-demo-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transform: translateX(-50%);
}

.tpl-demo-hero-dots button {
    width: 0.72rem;
    height: 0.72rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    opacity: 0.75;
    cursor: pointer;
}

.tpl-demo-hero-dots button.is-active {
    width: 1.85rem;
    background: var(--tpl-demo-primary);
    opacity: 1;
}

.tpl-demo-service-strip {
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(236, 227, 219, 0.8);
    border-bottom: 1px solid rgba(236, 227, 219, 0.8);
}

.tpl-demo-service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
}

.tpl-demo-service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 4.7rem;
    padding: 1rem 1.3rem;
    border-right: 1px solid rgba(236, 227, 219, 0.9);
}

.tpl-demo-service-item:last-child {
    border-right: 0;
}

.tpl-demo-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 999px;
    color: #2b231f;
    background: rgba(233, 222, 212, 0.32);
    font-size: 1.15rem;
}

.tpl-demo-service-item strong {
    display: block;
    margin-bottom: 0.18rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tpl-demo-service-item small {
    color: var(--tpl-demo-muted);
    font-size: 0.8rem;
}

.tpl-demo-section {
    padding-top: 1.2rem;
}

.tpl-demo-category-section {
    padding-top: 1rem;
}

.tpl-demo-product-section {
    padding-top: 0.9rem;
}

.tpl-demo-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.tpl-demo-section-head h2 {
    margin: 0;
    color: #2d2522;
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tpl-demo-section-head a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #6c625d;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tpl-demo-section-head a span {
    display: inline-flex;
    font-size: 0.9rem;
}

.tpl-demo-category-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1rem;
}

.tpl-demo-category-card {
    text-align: center;
}

.tpl-demo-category-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.tpl-demo-category-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 8.45rem);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(180deg, #f2e7de, #ede2d8);
    box-shadow: inset 0 0 0 1px rgba(215, 201, 189, 0.76);
}

.tpl-demo-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tpl-demo-category-card strong {
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tpl-demo-category-card small {
    color: var(--tpl-demo-muted);
    font-size: 0.76rem;
}

.tpl-demo-product-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.tpl-demo-product-card {
    min-width: 0;
}

.tpl-demo-product-link {
    display: block;
    height: 100%;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(236, 227, 219, 0.95);
    border-radius: 1.05rem;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tpl-demo-product-link:hover {
    transform: translateY(-3px);
    border-color: rgba(216, 143, 146, 0.36);
    box-shadow: 0 20px 42px rgba(83, 61, 48, 0.08);
}

.tpl-demo-product-media {
    position: relative;
    display: block;
    aspect-ratio: 0.82;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f3ee, #f0e5db);
}

.tpl-demo-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tpl-demo-product-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.55rem;
    padding: 0 0.55rem;
    border-radius: 0.45rem;
    background: var(--tpl-demo-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tpl-demo-product-badge.new {
    background: #b96767;
}

.tpl-demo-product-favorite {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #403531;
    box-shadow: 0 10px 22px rgba(64, 53, 49, 0.08);
}

.tpl-demo-product-favorite .tpl-demo-icon {
    width: 0.92rem;
    height: 0.92rem;
}

.tpl-demo-product-copy {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 0.9rem 1.05rem;
}

.tpl-demo-product-copy strong {
    min-height: 2.75em;
    font-size: 0.92rem;
    line-height: 1.38;
    font-weight: 700;
    color: #2e2724;
}

.tpl-demo-product-prices {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tpl-demo-product-prices .current {
    font-size: 1.08rem;
    font-weight: 900;
    color: #1f1917;
}

.tpl-demo-product-prices .original {
    color: #988d85;
    font-size: 0.82rem;
    text-decoration: line-through;
}

.tpl-demo-inner-hero,
.tpl-demo-content-page {
    padding-top: 3rem;
}

.tpl-demo-inner-hero h1,
.tpl-demo-content-page h1 {
    font-size: clamp(2.9rem, 5vw, 4.15rem);
    line-height: 0.95;
}

.tpl-demo-inner-hero p,
.tpl-demo-content-page > p {
    max-width: 44rem;
    margin: 1rem 0 0;
    color: #6f655f;
    font-size: 1rem;
    line-height: 1.75;
}

.tpl-demo-product-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    gap: 2.5rem;
    padding-top: 2.5rem;
}

.tpl-demo-product-gallery,
.tpl-demo-cart-list,
.tpl-demo-cart-summary,
.tpl-demo-checkout-page,
.tpl-demo-account-page,
.tpl-demo-content-page {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(236, 227, 219, 0.88);
    box-shadow: 0 18px 40px rgba(88, 63, 50, 0.05);
}

.tpl-demo-product-gallery {
    overflow: hidden;
    border-radius: 1.2rem;
}

.tpl-demo-product-gallery img {
    height: 100%;
    min-height: 540px;
    object-fit: cover;
}

.tpl-demo-product-info {
    padding-top: 0.85rem;
}

.tpl-demo-product-info h1 {
    font-size: clamp(2.8rem, 4vw, 4rem);
    line-height: 0.93;
}

.tpl-demo-product-price-main {
    margin: 1.1rem 0 0;
    font-size: 1.85rem;
    font-weight: 900;
    color: #1c1614;
}

.tpl-demo-product-price-old {
    margin: 0.35rem 0 0;
    color: #9b9088;
    font-size: 0.96rem;
    text-decoration: line-through;
}

.tpl-demo-product-description {
    max-width: 34rem;
    margin: 1.4rem 0 0;
    color: #665d57;
    font-size: 1rem;
    line-height: 1.8;
}

.tpl-demo-product-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.8rem;
}

.tpl-demo-product-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 1.5rem;
    border: 1px solid var(--tpl-demo-line);
    border-radius: 0.72rem;
    background: #fff;
    color: #2c2421;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.tpl-demo-product-meta {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    color: #665d57;
}

.tpl-demo-product-meta li {
    padding: 0.62rem 0;
    border-bottom: 1px solid rgba(236, 227, 219, 0.85);
    font-size: 0.95rem;
}

.tpl-demo-cart-page {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.78fr);
    gap: 1.5rem;
    padding-top: 2.6rem;
}

.tpl-demo-cart-list,
.tpl-demo-cart-summary,
.tpl-demo-checkout-page,
.tpl-demo-account-page,
.tpl-demo-content-page {
    border-radius: 1.15rem;
    padding: 1.5rem;
}

.tpl-demo-cart-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(236, 227, 219, 0.86);
}

.tpl-demo-cart-item:first-of-type {
    border-top: 0;
}

.tpl-demo-cart-item img {
    aspect-ratio: 0.92;
    border-radius: 1rem;
    object-fit: cover;
    background: linear-gradient(180deg, #f8f3ee, #f0e5db);
}

.tpl-demo-cart-item strong {
    display: block;
    margin-bottom: 0.35rem;
}

.tpl-demo-cart-item small {
    color: var(--tpl-demo-muted);
}

.tpl-demo-cart-item > span {
    font-size: 1rem;
    font-weight: 900;
}

.tpl-demo-cart-summary h2,
.tpl-demo-checkout-page h2,
.tpl-demo-account-page h2 {
    margin: 0;
}

.tpl-demo-cart-summary > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.82rem 0;
    border-top: 1px solid rgba(236, 227, 219, 0.86);
}

.tpl-demo-cart-summary > div:first-of-type {
    margin-top: 1rem;
}

.tpl-demo-cart-summary .is-total {
    font-size: 1.05rem;
}

.tpl-demo-cart-summary .is-total strong {
    font-size: 1.35rem;
}

.tpl-demo-cart-summary a {
    width: 100%;
    margin-top: 1.3rem;
}

.tpl-demo-checkout-page {
    margin-top: 2.6rem;
}

.tpl-demo-checkout-steps,
.tpl-demo-checkout-grid,
.tpl-demo-account-grid,
.tpl-demo-content-grid {
    display: grid;
    gap: 1rem;
}

.tpl-demo-checkout-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1.25rem;
}

.tpl-demo-checkout-steps article,
.tpl-demo-checkout-grid article,
.tpl-demo-account-grid article,
.tpl-demo-content-grid article {
    padding: 1.2rem;
    border: 1px solid rgba(236, 227, 219, 0.92);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 238, 0.96));
}

.tpl-demo-checkout-steps strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.tpl-demo-checkout-steps small,
.tpl-demo-checkout-grid p,
.tpl-demo-account-grid p,
.tpl-demo-content-grid p {
    color: #6b605b;
    line-height: 1.65;
}

.tpl-demo-checkout-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
}

.tpl-demo-account-page {
    margin-top: 2.6rem;
}

.tpl-demo-account-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1.2rem;
}

.tpl-demo-account-grid strong,
.tpl-demo-content-grid strong {
    display: block;
    margin-bottom: 0.45rem;
}

.tpl-demo-content-page {
    margin-top: 2.6rem;
}

.tpl-demo-content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.4rem;
}

.tpl-demo-footer {
    margin-top: 4.5rem;
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(236, 227, 219, 0.86);
}

.tpl-demo-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 1.75rem;
    padding: 3.15rem 0;
}

.tpl-demo-footer-brand strong {
    display: block;
    font-family: var(--tpl-demo-serif);
    font-size: 2.1rem;
    letter-spacing: 0.16em;
    font-weight: 500;
}

.tpl-demo-footer-brand span {
    display: block;
    margin-top: 0.3rem;
    color: #665b54;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.tpl-demo-footer p,
.tpl-demo-footer li,
.tpl-demo-footer a {
    color: #6b605b;
    line-height: 1.7;
}

.tpl-demo-footer h3 {
    margin: 0 0 0.9rem;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #2e2623;
}

.tpl-demo-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tpl-demo-footer li + li {
    margin-top: 0.45rem;
}

@media (max-width: 1200px) {
    .tpl-demo-header-main {
        grid-template-columns: 220px minmax(240px, 1fr) auto;
        gap: 1rem;
    }

    .tpl-demo-header-actions {
        gap: 0.85rem;
    }

    .tpl-demo-nav {
        gap: 1.15rem;
    }

    .tpl-demo-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tpl-demo-service-item:nth-child(3n) {
        border-right: 0;
    }

    .tpl-demo-category-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .tpl-demo-footer-grid,
    .tpl-demo-account-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .tpl-demo-header-main {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo toggle"
            "search search"
            "actions actions";
        padding: 1rem 0;
    }

    .tpl-demo-logo {
        grid-area: logo;
    }

    .tpl-demo-search {
        grid-area: search;
    }

    .tpl-demo-header-actions {
        grid-area: actions;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .tpl-demo-nav-toggle {
        display: inline-flex;
        grid-area: toggle;
    }

    .tpl-demo-nav-wrap {
        position: relative;
    }

    .tpl-demo-nav {
        position: absolute;
        top: 0;
        left: 24px;
        right: 24px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        min-height: 0;
        padding: 0.85rem 1rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(236, 227, 219, 0.92);
        border-radius: 1rem;
        box-shadow: 0 22px 50px rgba(73, 53, 43, 0.12);
    }

    .tpl-demo-nav.is-open {
        display: flex;
    }

    .tpl-demo-nav a {
        width: 100%;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(236, 227, 219, 0.82);
    }

    .tpl-demo-nav a:last-child {
        border-bottom: 0;
    }

    .tpl-demo-hero-slide {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .tpl-demo-hero-copy {
        padding: 3rem 2.2rem 2rem;
    }

    .tpl-demo-hero-copy h1 {
        max-width: none;
    }

    .tpl-demo-hero-media {
        min-height: 340px;
    }

    .tpl-demo-hero-arrow {
        top: auto;
        bottom: 1.15rem;
        transform: none;
    }

    .tpl-demo-hero-arrow-left {
        left: 1rem;
    }

    .tpl-demo-hero-arrow-right {
        right: 1rem;
    }

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

    .tpl-demo-service-item {
        border-right: 1px solid rgba(236, 227, 219, 0.9);
        border-bottom: 1px solid rgba(236, 227, 219, 0.9);
    }

    .tpl-demo-service-item:nth-child(2n) {
        border-right: 0;
    }

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

    .tpl-demo-product-detail,
    .tpl-demo-cart-page,
    .tpl-demo-checkout-grid,
    .tpl-demo-content-grid {
        grid-template-columns: 1fr;
    }

    .tpl-demo-checkout-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .tpl-demo-shell,
    .tpl-demo-hero {
        width: min(100%, calc(100% - 28px));
    }

    .tpl-demo-topbar-inner {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.55rem 1rem;
        padding: 0.45rem 0;
    }

    .tpl-demo-topbar-item {
        font-size: 0.62rem;
    }

    .tpl-demo-header-actions {
        gap: 0.75rem;
    }

    .tpl-demo-action {
        gap: 0.55rem;
    }

    .tpl-demo-action-copy strong {
        font-size: 0.8rem;
    }

    .tpl-demo-action-copy small {
        font-size: 0.72rem;
    }

    .tpl-demo-hero-copy {
        padding: 2.5rem 1.5rem 1.7rem;
    }

    .tpl-demo-hero-copy p {
        font-size: 0.94rem;
    }

    .tpl-demo-hero-media {
        min-height: 270px;
    }

    .tpl-demo-category-row,
    .tpl-demo-product-grid,
    .tpl-demo-account-grid,
    .tpl-demo-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .tpl-demo-product-gallery img {
        min-height: 420px;
    }

    .tpl-demo-product-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tpl-demo-product-actions button,
    .tpl-demo-product-actions a {
        width: 100%;
    }

    .tpl-demo-cart-item {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .tpl-demo-cart-item > span {
        grid-column: 2;
    }
}

@media (max-width: 560px) {
    .tpl-demo-logo-title {
        font-size: 2.25rem;
    }

    .tpl-demo-search-field {
        min-height: 3rem;
    }

    .tpl-demo-header-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .tpl-demo-action-account {
        grid-column: 1 / -1;
    }

    .tpl-demo-service-grid,
    .tpl-demo-category-row,
    .tpl-demo-product-grid,
    .tpl-demo-footer-grid,
    .tpl-demo-account-grid,
    .tpl-demo-content-grid {
        grid-template-columns: 1fr;
    }

    .tpl-demo-service-item,
    .tpl-demo-service-item:nth-child(2n) {
        border-right: 0;
    }

    .tpl-demo-hero-copy h1 {
        font-size: 2.65rem;
    }

    .tpl-demo-hero-arrow {
        width: 2.8rem;
        height: 2.8rem;
    }

    .tpl-demo-inner-hero h1,
    .tpl-demo-content-page h1,
    .tpl-demo-product-info h1 {
        font-size: 2.45rem;
    }
}
