/* ================================
   amin.css - Paper Print Unified Styles
   ================================ */

/* ---- CSS Variables ---- */
:root {
    --paper: #F2ECDD;
    --paper-dark: #E7DDC6;
    --ink: #1A1712;
    --ink-soft: #57503F;
    --cyan: #00AEEF;
    --magenta: #EC1E79;
    --magenta-text: #C2185B;
    --line: #C9BEA1;
    --green: #3DDC97;
    --yellow: #FFC53D;
}

/* ---- Global Reset ---- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    overflow-x: hidden;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: .02em;
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   HEADER
   ================================ */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--paper);
    border-bottom: 1.5px dashed var(--line);
}

    header .bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 0;
        gap: 12px;
    }

.logo {
    font-weight: 900;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--ink);
}

    .logo .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--magenta);
    }

nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    font-size: 15px;
    color: var(--ink-soft);
}

nav a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

    nav a:hover,
    nav a.active {
        color: var(--ink);
        border-bottom:3px solid var(--magenta);
    }

.btn-order {
    background: var(--ink);
    color: var(--paper);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: .3s;
}

    .btn-order:hover {
        background: var(--magenta);
    }

/* ================================
   MOBILE NAV TOGGLE
   ================================ */
.nav-toggle-input {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s;
}

    .nav-toggle:hover {
        background: var(--paper-dark);
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--ink);
        border-radius: 2px;
        transition: transform .25s ease, opacity .25s ease;
    }

.nav-toggle-input:checked ~ .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle-input:checked ~ .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-input:checked ~ .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ================================
   HERO SECTION (HOMEPAGE)
   ================================ */
.hero {
    padding: 64px 0 40px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 5px 12px;
    margin-bottom: 20px;
}

    .eyebrow span.sw {
        width: 8px;
        height: 8px;
        background: var(--cyan);
        border-radius: 50%;
    }

h1 {
    font-size: 44px;
    line-height: 1.35;
    font-weight: 900;
    margin: 0 0 18px;
}

    h1 em {
        font-style: normal;
        color: var(--magenta);
    }

.hero p.lead {
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.9;
    max-width: 46ch;
    margin: 0 0 28px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--ink);
    color: var(--paper);
    padding: 14px 26px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}

.btn-ghost {
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1.5px dashed var(--ink);
}

/* ================================
   STICKER STAGE (HOMEPAGE)
   ================================ */
.sticker-stage {
    position: relative;
    height: 420px;
}

.backing {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 0, 0, .05) 25%, transparent 25%) -10px 0/20px 20px, linear-gradient(225deg, rgba(0, 0, 0, .05) 25%, transparent 25%) -10px 0/20px 20px, var(--paper-dark);
    border: 1.5px dashed var(--line);
}

.label-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    transform: translate(-50%, -50%) rotate(-4deg);
    background: linear-gradient(155deg, var(--cyan) 0%, var(--cyan) 45%, var(--magenta) 100%);
    border-radius: 16px;
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .35);
    transition: transform .4s ease, box-shadow .4s ease;
    overflow: hidden;
}

    .label-card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .label-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(60deg, rgba(255, 255, 255, .16) 0 2px, transparent 2px 14px);
    }

    .label-card .corner {
        position: absolute;
        top: -6px;
        right: -6px;
        width: 70px;
        height: 70px;
        background: var(--paper);
        border-radius: 0 0 0 20px;
        box-shadow: -6px 6px 12px rgba(0, 0, 0, .15);
        transform: rotate(0deg);
        transition: transform .4s ease;
    }


.sticker-stage:hover .label-card {
    transform: translate(-50%, -50%) rotate(-1deg) scale(1.02);
}

.sticker-stage:hover .corner {
    transform: rotate(-18deg) translate(-6px, -4px);
}

.label-tag {
    position: absolute;
    bottom: 28px;
    right: 50%;
    transform: translateX(50%);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--ink-soft);
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 4px 10px;
    border-radius: 100px;
}

/* ================================
   SPECS STRIP
   ================================ */
.specs {
    border-top: 1.5px dashed var(--line);
    border-bottom: 1.5px dashed var(--line);
    padding: 28px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.spec {
    padding: 0 20px;
    border-right: 1px solid var(--line);
}

    .spec:first-child {
        padding-right: 0;
    }

    .spec:last-child {
        border-right: none;
    }

    .spec .k {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 11px;
        color: var(--ink-soft);
        margin-bottom: 6px;
    }

    .spec .v {
        font-size: 16px;
        font-weight: 700;
    }

/* ================================
   SPECIAL OFFERS SECTION
   ================================ */
.special-offers {
    padding: 48px 0;
    background: linear-gradient(135deg, var(--magenta) 0%, #A80F53 100%);
    margin: 48px 0;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

    .special-offers::before {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 10px, transparent 10px 20px);
        pointer-events: none;
    }

.offers-container {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Badge */
.offer-badge {
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, .3);
    border-radius: 18px;
    padding: 32px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.badge-content {
    color: #fff;
}

.badge-icon {
    font-size: 28px;
    font-weight: 900;
    display: block;
    opacity: .9;
}

.offer-badge h3 {
    font-size: 20px;
    font-weight: 900;
    margin: 12px 0;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

/* Slider */
.offers-slider {
    position: relative;
    overflow: hidden;
    padding: 8px 0;
}

.offers-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px;
}

    .offers-track::-webkit-scrollbar {
        display: none;
    }

/* Offer Item */
.offer-item {
    flex: 0 0 auto;
    width: 240px;
    background: var(--paper);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    transition: .3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

    .offer-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, .25);
    }

.offer-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--paper-dark), #D4C9AF);
    overflow: hidden;
}

    .offer-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.offer-percent {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--magenta);
    color: #fff;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(236, 30, 121, .4);
}

.offer-info {
    padding: 16px;
}

.offer-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--ink);
}

.offer-prices {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.price-new {
    font-size: 18px;
    font-weight: 700;
    color: var(--magenta);
}

    .price-new small {
        font-size: 11px;
        opacity: .8;
    }

.price-old {
    font-size: 13px;
    color: var(--ink-soft);
    text-decoration: line-through;
    opacity: .6;
}

/* Navigation Arrows */
.offer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .25);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, .4);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .25s;
    z-index: 10;
}

    .offer-nav:hover {
        background: rgba(255, 255, 255, .4);
        transform: translateY(-50%) scale(1.08);
    }

.offer-prev {
    left: 8px;
}

.offer-next {
    right: 8px;
}

/* ================================
   SECTIONS
   ================================ */
.section {
    padding: 72px 0;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 12px;
}

    .section-head h2 {
        font-size: 26px;
        font-weight: 900;
        margin: 0;
    }

    .section-head .num {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 13px;
        color: var(--ink-soft);
    }

/* ================================
   STICKER SHEET / GALLERY
   ================================ */
.sheet {
    background: var(--paper-dark);
    border: 1.5px dashed var(--line);
    border-radius: 20px;
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.sticker {
    aspect-ratio: 1/1;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .3);
    transition: transform .25s;
}

    /* Fallback gradient background, shown behind the image (or alone if no image is added yet) */
    .sticker:nth-child(1) {
        background: linear-gradient(150deg, #00AEEF, #0072B5);
        transform: rotate(-3deg);
    }

    .sticker:nth-child(2) {
        background: linear-gradient(150deg, #EC1E79, #A80F53);
        transform: rotate(2deg);
    }

    .sticker:nth-child(3) {
        background: linear-gradient(150deg, #FFC53D, #E08E00);
        color: #1A1712;
        transform: rotate(-2deg);
    }

    .sticker:nth-child(4) {
        background: linear-gradient(150deg, #3DDC97, #0E9B67);
        transform: rotate(3deg);
    }

    .sticker:nth-child(5) {
        background: linear-gradient(150deg, #7A5CFF, #4A2FCE);
        transform: rotate(2deg);
    }

    .sticker:nth-child(6) {
        background: linear-gradient(150deg, #1A1712, #3A342A);
        transform: rotate(-3deg);
    }

    .sticker:nth-child(7) {
        background: linear-gradient(150deg, #EC1E79, #00AEEF);
        transform: rotate(1deg);
    }

    .sticker:nth-child(8) {
        background: linear-gradient(150deg, #00AEEF, #3DDC97);
        transform: rotate(-1deg);
    }

    .sticker:hover {
        transform: scale(1.06) rotate(0deg) !important;
    }

/* Photo is set as a background-image via inline style, e.g.
   <div class="sticker" style="background-image:url('...')">
   A background-image can NEVER affect the element's box size —
   the card's size always comes purely from aspect-ratio:1/1 above. */
.sticker {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .sticker img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        display: block;
    }

    .sticker::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, 0) 55%);
        z-index: 1;
    }

    .sticker .label {
        position: relative;
        z-index: 2;
        width: 100%;
        padding: 10px;
        font-size: 12px;
        font-weight: 700;
    }
/* ================================
   PROCESS SECTION
   ================================ */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step {
    border-top: 2px solid var(--ink);
    padding-top: 16px;
}

    .step .n {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 13px;
        color: var(--magenta-text);
        margin-bottom: 10px;
    }

    .step h3 {
        font-size: 16px;
        margin: 0 0 8px;
    }

    .step p {
        font-size: 13.5px;
        color: var(--ink-soft);
        line-height: 1.8;
        margin: 0;
    }

/* ================================
   PRICING SECTION
   ================================ */
.price-box {
    background: var(--ink);
    color: var(--paper);
    border-radius: 22px;
    padding: 44px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 36px;
    align-items: center;
}

    .price-box h2 {
        font-size: 26px;
        margin: 0 0 14px;
    }

    .price-box p {
        color: #C9C2AE;
        line-height: 1.9;
        font-size: 14.5px;
        max-width: 46ch;
    }

.price-table {
    background: rgba(255, 255, 255, .06);
    border-radius: 16px;
    padding: 22px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .18);
    font-size: 14px;
}

    .price-row:last-child {
        border-bottom: none;
    }

    .price-row .amt {
        font-family: 'IBM Plex Mono', monospace;
        color: var(--cyan);
    }

.btn-on-dark {
    margin-top: 20px;
    display: inline-block;
    background: var(--cyan);
    color: var(--ink);
    padding: 12px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

/* ================================
   BLOG SECTION (homepage teaser)
   ================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.blog-card {
    border: 1.5px dashed var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--paper-dark);
}

    .blog-card .thumb {
        height: 150px;
        background: linear-gradient(135deg, #00AEEF33, #EC1E7933);
    }

    .blog-card .body {
        padding: 18px;
    }

    .blog-card h3 {
        font-size: 15px;
        margin: 0 0 8px;
    }

    .blog-card p {
        font-size: 13px;
        color: var(--ink-soft);
        margin: 0;
    }

/* ================================
   FOOTER
   ================================ */
footer {
    border-top: 1.5px dashed var(--line);
    padding: 32px 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--ink-soft);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 52px;
    height: 52px;
}

.social {
    display: flex;
    gap: 14px;
}

    .social a {
        color: var(--ink);
        text-decoration: none;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid var(--line);
        border-radius: 50%;
        transition: .3s;
    }

        .social a:hover {
            background: var(--ink);
            border-color: var(--ink);
        }

            .social a:hover svg {
                fill: var(--paper);
            }

/* ================================
   ABOUT PAGE
   ================================ */
.about-hero {
    padding: 48px 0 32px;
    text-align: center;
}

    .about-hero .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: 'IBM Plex Mono', monospace;
        font-size: 12px;
        color: var(--ink-soft);
        border: 1px solid var(--line);
        border-radius: 100px;
        padding: 5px 12px;
        margin-bottom: 16px;
    }

        .about-hero .eyebrow .sw {
            width: 8px;
            height: 8px;
            background: var(--cyan);
            border-radius: 50%;
        }

    .about-hero h1 {
        font-size: 38px;
        font-weight: 900;
        margin: 0 0 14px;
    }

    .about-hero .subtitle {
        font-size: 18px;
        color: var(--magenta);
        font-weight: 700;
        margin: 0 0 18px;
    }

    .about-hero .lead {
        font-size: 15px;
        color: var(--ink-soft);
        line-height: 1.9;
        max-width: 68ch;
        margin: 0 auto 40px;
    }

.about-content {
    padding: 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1.5px dashed var(--line);
    background: var(--paper-dark);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .15);
}

    .map-container iframe {
        width: 100%;
        height: 450px;
        display: block;
        border: none;
    }

.text-content h2 {
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 20px;
}

    .text-content h2 em {
        font-style: normal;
        color: var(--magenta);
    }

.text-content p {
    font-size: 15px;
    line-height: 2;
    color: var(--ink-soft);
    margin: 0 0 18px;
    text-align: justify;
}

    .text-content p:last-child {
        margin-bottom: 0;
    }

/* Stats Section */
.stats-section {
    padding: 56px 0;
    background: var(--ink);
    border-radius: 24px;
    margin: 48px 0;
    position: relative;
    overflow: hidden;
}

    .stats-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 10px, transparent 10px 20px);
        pointer-events: none;
    }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

    .stat-item:last-child {
        border-right: none;
    }

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--cyan);
    font-family: 'IBM Plex Mono', monospace;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: #C9C2AE;
}

/* Values Section */
.values-section {
    padding: 40px 0 72px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--paper-dark);
    border: 1.5px dashed var(--line);
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    transition: .3s;
}

    .value-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, .12);
    }

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
}

.value-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
}

.value-card p {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.8;
    margin: 0;
}

/* ================================
   BREADCRUMB
   ================================ */
.breadcrumb {
    padding: 24px 0 16px;
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-soft);
    align-items: center;
    font-family: 'IBM Plex Mono', monospace;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

    .breadcrumb a {
        color: var(--ink-soft);
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: var(--ink);
        }

    .breadcrumb span {
        color: var(--line);
    }

/* ================================
   PRODUCT PAGE (SPECIAL OFFER)
   ================================ */
.special-product-hero {
    padding: 32px 0 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    overflow: hidden;
    background: var(--paper-dark);
    border: 1.5px dashed var(--line);
    margin-bottom: 16px;
}

    .main-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.offer-badge-large {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--magenta);
    color: #fff;
    padding: 12px 20px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(236, 30, 121, .4);
    z-index: 2;
}

.limited-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--ink);
    color: var(--paper);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .limited-badge::before {
        content: "⏱";
        font-size: 14px;
    }

.thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.thumb {
    aspect-ratio: 1/1;
    border-radius: 12px;
    background: var(--paper-dark);
    border: 1.5px solid var(--line);
    cursor: pointer;
    transition: .25s;
    overflow: hidden;
}

    .thumb:hover,
    .thumb.active {
        border-color: var(--magenta);
        transform: scale(1.05);
    }

    .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Product Info */
.product-info h1 {
    font-size: 36px;
    font-weight: 900;
    margin: 0 0 12px;
    line-height: 1.3;
}

.rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--ink-soft);
    flex-wrap: wrap;
}

.stars {
    color: var(--yellow);
    font-size: 16px;
}

/* Price Section */
.price-section {
    background: linear-gradient(135deg, var(--magenta) 0%, #A80F53 100%);
    color: #fff;
    padding: 28px;
    border-radius: 18px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

    .price-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 10px, transparent 10px 20px);
    }

    .price-section > * {
        position: relative;
        z-index: 1;
    }

.discount-timer {
    font-size: 12px;
    opacity: .9;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.timer {
    background: rgba(255, 255, 255, .15);
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'IBM Plex Mono', monospace;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 32px;
    font-weight: 900;
}

    .current-price small {
        font-size: 14px;
        font-weight: 500;
        opacity: .9;
    }

.old-price {
    font-size: 18px;
    opacity: .7;
    text-decoration: line-through;
}

.savings {
    font-size: 13px;
    background: rgba(255, 255, 255, .2);
    padding: 6px 12px;
    border-radius: 100px;
    display: inline-block;
    margin-top: 8px;
}

.description {
    color: var(--ink-soft);
    line-height: 1.9;
    margin-bottom: 32px;
    font-size: 15px;
}

/* Options */
.option-group {
    margin-bottom: 28px;
}

.option-label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--ink);
}

.option-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.option-btn {
    padding: 10px 18px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    cursor: pointer;
    transition: .2s;
    font-size: 14px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 500;
}

    .option-btn:hover {
        border-color: var(--magenta);
        background: rgba(236, 30, 121, .05);
    }

    .option-btn.active {
        border-color: var(--magenta);
        background: var(--magenta);
        color: #fff;
    }

/* Quantity */
.quantity-group {
    margin-bottom: 28px;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--paper-dark);
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    transition: .2s;
}

    .qty-btn:hover {
        background: var(--line);
    }

.qty-input {
    width: 70px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
    background: var(--paper);
    border-left: 1.5px solid var(--line);
    border-right: 1.5px solid var(--line);
}

/* CTA Buttons */
.cta-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.btn-add-cart {
    background: var(--ink);
    color: var(--paper);
    padding: 16px 28px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
    font-family: 'Vazirmatn', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .btn-add-cart:hover {
        background: var(--magenta);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(236, 30, 121, .3);
    }

.btn-buy-now {
    background: linear-gradient(135deg, var(--cyan), #0072B5);
    color: #fff;
    padding: 16px 28px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
    font-family: 'Vazirmatn', sans-serif;
}

    .btn-buy-now:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 174, 239, .3);
    }

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 24px;
    background: var(--paper-dark);
    border: 1.5px dashed var(--line);
    border-radius: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--ink-soft);
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

/* Product Details */
.product-details {
    padding: 56px 0;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1.5px dashed var(--line);
    margin-bottom: 32px;
    overflow-x: auto;
}

.tab {
    padding: 14px 24px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    color: var(--ink-soft);
    font-family: 'Vazirmatn', sans-serif;
    border-bottom: 2px solid transparent;
    transition: .2s;
    white-space: nowrap;
}

    .tab:hover {
        color: var(--ink);
    }

    .tab.active {
        color: var(--magenta);
        border-bottom-color: var(--magenta);
    }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

/* Specs Table */
.specs-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px dashed var(--line);
    gap: 12px;
}

    .spec-row:last-child {
        border-bottom: none;
    }

.spec-key {
    font-weight: 700;
    color: var(--ink);
}

.spec-value {
    color: var(--ink-soft);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    text-align: left;
}

/* Reviews */
.review-summary {
    display: flex;
    gap: 40px;
    padding: 28px;
    background: var(--paper-dark);
    border-radius: 16px;
    margin-bottom: 32px;
}

.review-score {
    text-align: center;
}

    .review-score .big {
        font-size: 48px;
        font-weight: 900;
        color: var(--ink);
        line-height: 1;
    }

    .review-score .stars-big {
        color: var(--yellow);
        font-size: 20px;
        margin: 8px 0;
    }

    .review-score .count {
        font-size: 13px;
        color: var(--ink-soft);
    }

.review-bars {
    flex: 1;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 13px;
}

.bar-label {
    width: 60px;
    color: var(--ink-soft);
}

.bar-track {
    flex: 1;
    height: 8px;
    background: var(--line);
    border-radius: 100px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--yellow);
    border-radius: 100px;
}

.bar-count {
    width: 40px;
    text-align: left;
    color: var(--ink-soft);
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-card {
    padding: 24px;
    border: 1.5px dashed var(--line);
    border-radius: 16px;
    background: var(--paper);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.reviewer-name {
    font-weight: 700;
    color: var(--ink);
}

.review-date {
    font-size: 12px;
    color: var(--ink-soft);
}

.review-text {
    color: var(--ink-soft);
    line-height: 1.8;
    font-size: 14px;
}

/* Related Products */
.related-section {
    padding: 56px 0;
    background: var(--paper-dark);
    margin-top: 56px;
}

    .related-section h2 {
        font-size: 26px;
        font-weight: 900;
        margin: 0 0 32px;
        text-align: center;
    }

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1120px;
    margin: 0 auto;
}

.product-card {
    background: var(--paper);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    transition: .3s;
    border: 1.5px dashed var(--line);
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
    }

    .product-card .card-image {
        aspect-ratio: 1/1;
        background: var(--paper-dark);
        position: relative;
    }

        .product-card .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .product-card .card-info {
        padding: 16px;
    }

    .product-card .card-title {
        font-size: 14px;
        font-weight: 700;
        margin: 0 0 10px;
    }

    .product-card .card-price {
        font-size: 16px;
        font-weight: 700;
        color: var(--magenta);
    }

/* Success Toast */
.success-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--green);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(61, 220, 151, .4);
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: slideIn .3s ease;
}

    .success-toast.show {
        display: flex;
    }

@keyframes slideIn {
    from {
        transform: translateX(400px);
    }

    to {
        transform: translateX(0);
    }
}

/* ================================
   SINGLE PRODUCT PAGE (ORDER FORM)
   ================================ */
.product-hero {
    padding: 32px 0;
}

.product-title {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

    .product-title h1 {
        font-size: 36px;
        font-weight: 900;
        margin: 0;
    }

    .product-title .badge {
        background: var(--magenta);
        color: #fff;
        padding: 4px 12px;
        border-radius: 100px;
        font-size: 12px;
        font-weight: 700;
    }

.product-subtitle {
    font-size: 15px;
    color: var(--ink-soft);
    margin: 0 0 32px;
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1.5px dashed var(--line);
}

/* Gallery */
.gallery {
    background: var(--paper-dark);
    border: 1.5px dashed var(--line);
    border-radius: 20px;
    padding: 32px;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .gallery img {
        max-width: 100%;
        border-radius: 16px;
        box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .25);
    }

/* Order Form */
.order-form {
    background: var(--paper-dark);
    border: 1.5px dashed var(--line);
    border-radius: 20px;
    padding: 28px;
    position: sticky;
    top: 90px;
}

    .order-form strong {
        font-size: 18px;
        font-weight: 700;
        margin: 0 0 20px;
        padding-bottom: 16px;
        border-bottom: 1.5px dashed var(--line);
    }

.form-row {
    margin-bottom: 18px;
}

    .form-row label {
        display: block;
        font-size: 13px;
        font-weight: 500;
        margin-bottom: 6px;
    }

    .form-row input[type="number"],
    .form-row select {
        width: 100%;
        min-width: 0;
        padding: 10px 14px;
        border-radius: 10px;
        border: 1px solid var(--line);
        background: var(--paper);
        font-family: inherit;
        font-size: 14px;
        color: var(--ink);
    }

        .form-row input[type="number"]:focus,
        .form-row select:focus {
            outline: none;
            border-color: var(--ink);
        }

        .form-row input:disabled,
        .form-row select:disabled {
            opacity: .5;
            cursor: not-allowed;
        }

.input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .input-group .unit {
        background: var(--ink);
        color: var(--paper);
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 13px;
        font-family: 'IBM Plex Mono', monospace;
        white-space: nowrap;
    }

.radio-group {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    flex-wrap: wrap;
}

    .radio-group label {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 400;
    }

    .radio-group input[type="radio"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: var(--magenta);
    }

.hint {
    font-size: 11.5px;
    color: var(--ink-soft);
    margin-top: 6px;
    line-height: 1.6;
}

.error {
    font-size: 12px;
    color: var(--magenta);
    margin-top: 6px;
    display: none;
}

    .error.visible {
        display: block;
    }

.order-form .price-display {
    background: var(--ink);
    color: var(--paper);
    padding: 16px;
    border-radius: 12px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

    .order-form .price-display .label {
        font-size: 13px;
        opacity: .8;
    }
.price-display .unit {
    background: var(--paper);
    color: var(--ink);
}

.price-display .input-group {
    gap: 8px;
}
    .order-form .price-display .amount {
        font-size: 24px;
        font-weight: 700;
        font-family: 'IBM Plex Mono', monospace;
        width: 90%;
        min-width: 0;
        max-width: 100%;
        border: none;
        background: transparent;
        color: inherit;
        padding: 0;
        text-align: left;
        -moz-appearance: textfield;
        opacity: 1;
        -webkit-text-fill-color: currentColor;
    }

        .order-form .price-display .amount::-webkit-outer-spin-button,
        .order-form .price-display .amount::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
.form-row label.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0;
}

    .checkbox-option input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

.checkbox-box {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 1.5px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    position: relative;
    transition: .2s;
}

.checkbox-option:hover .checkbox-box {
    border-color: var(--magenta);
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-box {
    background: var(--magenta);
    border-color: var(--magenta);
}

    .checkbox-option input[type="checkbox"]:checked + .checkbox-box::after {
        content: "";
        position: absolute;
        top: 3px;
        right: 6px;
        width: 5px;
        height: 10px;
        border: solid #fff;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

.checkbox-option input[type="checkbox"]:focus-visible + .checkbox-box {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

.checkbox-text {
    flex: 1;
}
.btn-submit {
    width: 100%;
    background: var(--magenta);
    color: #fff;
    padding: 14px;
    border-radius: 100px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: .2s;
}

    .btn-submit:hover {
        background: #D01A6B;
    }

    .btn-submit:disabled {
        opacity: .4;
        cursor: not-allowed;
    }

/* Content Sections */
.content-section {
    padding: 48px 0;
    border-bottom: 1.5px dashed var(--line);
}

    .content-section h2 {
        font-size: 24px;
        font-weight: 900;
        margin: 0 0 16px;
    }

    .content-section p {
        font-size: 15px;
        line-height: 1.9;
        color: var(--ink-soft);
        max-width: 85ch;
        margin: 0;
    }
/* ================================
   CHECKOUT / PREORDER PAGE
   ================================ */
.checkout-hero {
    padding: 32px 0 8px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
    padding: 24px 0 56px;
}

.order-summary {
    background: var(--paper-dark);
    border: 1.5px dashed var(--line);
    border-radius: 20px;
    padding: 28px;
}

    .order-summary h3 {
        font-size: 18px;
        font-weight: 700;
        margin: 0 0 20px;
        padding-bottom: 16px;
        border-bottom: 1.5px dashed var(--line);
    }

.summary-table-wrap {
    overflow-x: auto;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    white-space: nowrap;
}

    .summary-table th,
    .summary-table td {
        padding: 12px 10px;
        text-align: right;
    }

    .summary-table thead th {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 11px;
        font-weight: 500;
        color: var(--ink-soft);
        border-bottom: 1px solid var(--line);
        text-align:center;
    }

    .summary-table tbody th {
        font-weight: 700;
    }

    .summary-table tbody td {
        border-bottom: 1px dashed var(--line);
        color: var(--ink-soft);
    }

    .summary-table tbody tr:last-child td,
    .summary-table tbody tr:last-child th {
        border-bottom: none;
        text-align:center;
    }

    .summary-table td.amt {
        color: var(--magenta);
        font-weight: 700;
    }

.cut-indicator input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--magenta);
    pointer-events: none;
}
/* customer-form variant of .order-form: not sticky, static flow */
.checkout-form {
    position: static;
}

    .checkout-form .form-row input[type="text"],
    .checkout-form .form-row input[type="tel"] {
        width: 100%;
        padding: 10px 14px;
        border-radius: 10px;
        border: 1px solid var(--line);
        background: var(--paper);
        font-family: inherit;
        font-size: 14px;
        color: var(--ink);
    }

        .checkout-form .form-row input[type="text"]:focus,
        .checkout-form .form-row input[type="tel"]:focus {
            outline: none;
            border-color: var(--ink);
        }

.field-validation-error {
    font-size: 12px;
    color: var(--magenta);
    margin-top: 6px;
    display: block;
}

@media(max-width:860px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-form {
        position: relative;
    }
}
/* ================================
   BLOG LISTING PAGE
   ================================ */
.blog-hero {
    padding: 48px 0 32px;
    text-align: center;
}

    .blog-hero h1 {
        font-size: 38px;
        font-weight: 900;
        margin: 0 0 14px;
    }

    .blog-hero .lead {
        font-size: 15px;
        color: var(--ink-soft);
        line-height: 1.9;
        max-width: 62ch;
        margin: 0 auto;
    }

.blog-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 0 40px;
}

.blog-filter-btn {
    padding: 9px 18px;
    border: 1.5px solid var(--line);
    border-radius: 100px;
    background: var(--paper);
    color: var(--ink-soft);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: .2s;
}

    .blog-filter-btn:hover {
        border-color: var(--magenta);
        color: var(--ink);
    }

    .blog-filter-btn.active {
        background: var(--ink);
        border-color: var(--ink);
        color: var(--paper);
    }

/* Featured post */
.blog-featured {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 0;
    border: 1.5px dashed var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: var(--paper-dark);
    margin-bottom: 48px;
    text-decoration: none;
    color: var(--ink);
    transition: .3s;
}

    .blog-featured:hover {
        box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .2);
    }

    .blog-featured .thumb {
        min-height: 280px;
        background: linear-gradient(150deg, var(--cyan), var(--magenta));
        position: relative;
        overflow: hidden;
    }

        .blog-featured .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

    .blog-featured .body {
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .blog-featured .cat {
        align-self: flex-start;
        font-family: 'IBM Plex Mono', monospace;
        font-size: 11px;
        color: var(--magenta-text);
        background: rgba(236, 30, 121, .08);
        border-radius: 100px;
        padding: 5px 12px;
        margin-bottom: 16px;
    }

    .blog-featured h2 {
        font-size: 26px;
        font-weight: 900;
        margin: 0 0 14px;
        line-height: 1.4;
    }

    .blog-featured p {
        font-size: 14.5px;
        color: var(--ink-soft);
        line-height: 1.9;
        margin: 0 0 20px;
    }

.blog-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--ink-soft);
    flex-wrap: wrap;
}

    .blog-meta .dot-sep {
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: var(--line);
    }

/* Grid of post cards */
.blog-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

    .blog-page-grid .blog-card {
        display: flex;
        flex-direction: column;
        text-decoration: none;
        color: var(--ink);
        transition: .3s;
    }

        .blog-page-grid .blog-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 16px 32px rgba(0, 0, 0, .12);
        }

        .blog-page-grid .blog-card .thumb {
            height: 180px;
            position: relative;
            overflow: hidden;
        }

            .blog-page-grid .blog-card .thumb img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
            }

            .blog-page-grid .blog-card .thumb .cat {
                position: absolute;
                top: 12px;
                right: 12px;
                background: var(--ink);
                color: var(--paper);
                font-family: 'IBM Plex Mono', monospace;
                font-size: 10.5px;
                padding: 5px 10px;
                border-radius: 100px;
            }

        .blog-page-grid .blog-card .body {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .blog-page-grid .blog-card h3 {
            font-size: 16px;
            font-weight: 700;
            margin: 0 0 10px;
            line-height: 1.5;
        }

        .blog-page-grid .blog-card p {
            font-size: 13.5px;
            color: var(--ink-soft);
            line-height: 1.8;
            margin: 0 0 16px;
            flex: 1;
        }

        .blog-page-grid .blog-card .blog-meta {
            margin-top: auto;
            padding-top: 14px;
            border-top: 1px dashed var(--line);
        }

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 48px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink-soft);
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    transition: .2s;
}

    .page-btn:hover {
        border-color: var(--ink);
        color: var(--ink);
    }

    .page-btn.active {
        background: var(--ink);
        border-color: var(--ink);
        color: var(--paper);
    }

/* Newsletter */
.newsletter-box {
    background: var(--ink);
    color: var(--paper);
    border-radius: 22px;
    padding: 44px;
    text-align: center;
    margin: 56px 0;
}

    .newsletter-box h2 {
        font-size: 24px;
        margin: 0 0 10px;
    }

    .newsletter-box p {
        color: #C9C2AE;
        font-size: 14px;
        margin: 0 0 24px;
    }

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto;
    flex-wrap: wrap;
}

    .newsletter-form input {
        flex: 1;
        min-width: 200px;
        padding: 13px 18px;
        border-radius: 100px;
        border: 1.5px solid rgba(255, 255, 255, .2);
        background: rgba(255, 255, 255, .06);
        color: var(--paper);
        font-family: inherit;
        font-size: 14px;
    }

        .newsletter-form input::placeholder {
            color: #9C9481;
        }

        .newsletter-form input:focus {
            outline: none;
            border-color: var(--cyan);
        }

    .newsletter-form button {
        background: var(--cyan);
        color: var(--ink);
        border: none;
        padding: 13px 24px;
        border-radius: 100px;
        font-weight: 700;
        font-size: 14px;
        cursor: pointer;
        font-family: inherit;
        transition: .2s;
        white-space: nowrap;
    }

        .newsletter-form button:hover {
            background: #33C1F2;
        }

/* ================================
   BLOG DETAIL PAGE
   ================================ */
.blog-detail-hero {
    padding: 24px 0 0;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

    .blog-detail-hero .cat {
        display: inline-block;
        font-family: 'IBM Plex Mono', monospace;
        font-size: 11px;
        color: var(--magenta-text);
        background: rgba(236, 30, 121, .08);
        border-radius: 100px;
        padding: 6px 14px;
        margin-bottom: 18px;
    }

    .blog-detail-hero h1 {
        font-size: 34px;
        line-height: 1.5;
        margin: 0 0 18px;
    }

    .blog-detail-hero .lead {
        font-size: 16px;
        color: var(--ink-soft);
        line-height: 1.9;
        margin: 0 0 24px;
    }

.blog-author-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 32px;
    border-bottom: 1.5px dashed var(--line);
    margin-bottom: 32px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--cyan), var(--magenta));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.author-info {
    text-align: right;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.author-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--ink-soft);
}

.blog-detail-cover {
    max-width: 900px;
    margin: 0 auto 48px;
    border-radius: 22px;
    overflow: hidden;
    border: 1.5px dashed var(--line);
}

    .blog-detail-cover img {
        width: 100%;
        display: block;
        aspect-ratio: 16/8;
        object-fit: cover;
    }

.blog-detail-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

/* Share / TOC sidebar */
.blog-share {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .blog-share .label {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 11px;
        color: var(--ink-soft);
        margin-bottom: 4px;
    }

    .blog-share a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
        border: 1.5px solid var(--line);
        border-radius: 10px;
        text-decoration: none;
        color: var(--ink);
        font-size: 13px;
        transition: .2s;
    }

        .blog-share a:hover {
            border-color: var(--magenta);
            color: var(--magenta);
        }

.blog-article {
    font-size: 16px;
    line-height: 2;
    color: var(--ink-soft);
}

    .blog-article h2 {
        font-size: 22px;
        font-weight: 900;
        color: var(--ink);
        margin: 40px 0 16px;
    }

    .blog-article h3 {
        font-size: 18px;
        font-weight: 700;
        color: var(--ink);
        margin: 32px 0 14px;
    }

    .blog-article p {
        margin: 0 0 20px;
        text-align: justify;
    }

    .blog-article ul,
    .blog-article ol {
        margin: 0 0 20px;
        padding-right: 22px;
        line-height: 2;
    }

    .blog-article li {
        margin-bottom: 8px;
    }

    .blog-article img {
        width: 100%;
        border-radius: 16px;
        margin: 24px 0;
        border: 1.5px dashed var(--line);
    }

    .blog-article blockquote {
        margin: 24px 0;
        padding: 20px 24px;
        border-right: 3px solid var(--magenta);
        background: var(--paper-dark);
        border-radius: 0 16px 16px 0;
        font-size: 15px;
        color: var(--ink);
    }

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1.5px dashed var(--line);
}

.blog-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--ink-soft);
    background: var(--paper-dark);
    border-radius: 100px;
    padding: 6px 14px;
}

.blog-author-box {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--paper-dark);
    border-radius: 18px;
    padding: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

    .blog-author-box .author-avatar {
        width: 56px;
        height: 56px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .blog-author-box .author-name {
        font-size: 15px;
    }

    .blog-author-box p {
        font-size: 13px;
        color: var(--ink-soft);
        margin: 6px 0 0;
        line-height: 1.7;
    }

/* Prev / Next navigation */
.blog-nav {
    max-width: 900px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

    .blog-nav a {
        border: 1.5px dashed var(--line);
        border-radius: 16px;
        padding: 20px;
        text-decoration: none;
        color: var(--ink);
        transition: .2s;
        display: block;
    }

        .blog-nav a:hover {
            border-color: var(--magenta);
            background: var(--paper-dark);
        }

    .blog-nav .dir {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 11px;
        color: var(--ink-soft);
        margin-bottom: 8px;
    }

    .blog-nav .title {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.6;
    }

    .blog-nav .next {
        text-align: left;
    }

/* Related posts (detail page) */
.blog-related {
    max-width: 900px;
    margin: 56px auto 0;
}

    .blog-related h2 {
        font-size: 22px;
        font-weight: 900;
        margin: 0 0 24px;
        text-align: center;
    }

    .blog-related .blog-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media(max-width:860px) {
    /* Hero */
    .hero {
        grid-template-columns: 1fr;
    }
    .wrap {
        margin: 0 auto;
        padding: 0 5px 0 5px;
    }
    /* Specs */
    .specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .spec {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 14px 0;
    }

        .spec:nth-child(3),
        .spec:nth-child(4) {
            border-bottom: none;
        }

    /* Sticker Sheet */
    .sheet {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    /* Process */
    .process {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Price Box */
    .price-box {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    /* Blog Grid */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Typography */
    h1 {
        font-size: 32px;
    }

    /* Offers */
    .offers-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .offer-badge {
        padding: 20px;
        height: auto;
    }

    .badge-content {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .badge-icon {
        font-size: 20px;
    }

    .offer-badge h3 {
        margin: 0;
        font-size: 18px;
    }

    .offer-item {
        width: 200px;
    }

    .offer-image {
        height: 160px;
    }

    /* About Page */
    .about-content {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        height: 350px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        padding-bottom: 24px;
    }

        .stat-item:nth-child(3),
        .stat-item:last-child {
            border-bottom: none;
            padding-bottom: 24px;
        }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 28px;
    }

    /* Product Pages */
    .special-product-hero,
    .product-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-gallery,
    .order-form {
        position: relative;
        top: 0;
    }
    .features {
        grid-template-columns: 1fr;
    }

    .specs-table {
        grid-template-columns: 1fr;
    }

    .review-summary {
        flex-direction: column;
        gap: 24px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-info h1,
    .product-title h1 {
        font-size: 28px;
    }

    .current-price {
        font-size: 26px;
    }

    .product-title {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    /* Gallery mobile optimization */
    .gallery {
        padding: 20px;
        min-height: 300px;
    }

    .sticker-stage {
        height: 300px;
    }

    .label-card {
        width: 200px;
        height: 200px;
    }

    /* Blog listing */
    .blog-featured {
        grid-template-columns: 1fr;
    }

        .blog-featured .thumb {
            min-height: 220px;
        }

        .blog-featured .body {
            padding: 28px;
        }

    .blog-page-grid,
    .blog-related .blog-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Blog detail */
    .blog-detail-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-share {
        position: relative;
        top: 0;
        flex-direction: row;
        flex-wrap: wrap;
        order: 2;
    }

        .blog-share .label {
            width: 100%;
        }

        .blog-share a {
            flex: 1;
            min-width: 130px;
            justify-content: center;
        }

    .blog-detail-hero h1 {
        font-size: 26px;
    }

    .blog-nav {
        grid-template-columns: 1fr;
    }

        .blog-nav .next {
            text-align: right;
        }
}
/* ================================
   FAQ PAGE
   ================================ */
.faq-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
}

    .faq-toolbar .option-buttons {
        justify-content: center;
    }

.faq-search {
    position: relative;
    display: block;
    width: 100%;
    max-width: 560px;
}

    .faq-search svg {
        position: absolute;
        inset-inline-start: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--ink-soft);
        pointer-events: none;
    }

    .faq-search input {
        width: 100%;
        padding: 14px 18px;
        padding-inline-start: 48px;
        border-radius: 100px;
        border: 1.5px solid var(--line);
        background: var(--paper);
        font-family: inherit;
        font-size: 14px;
        color: var(--ink);
        transition: .2s;
    }

        .faq-search input:focus {
            outline: none;
            border-color: var(--ink);
        }

.faq-section {
    max-width: 820px;
    margin: 0 auto;
    padding-bottom: 24px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    counter-reset: faq;
}

.faq-item {
    border: 1.5px dashed var(--line);
    border-radius: 16px;
    background: var(--paper-dark);
    transition: .25s;
}

    .faq-item[hidden] {
        display: none;
    }

    .faq-item:hover {
        border-color: var(--ink-soft);
    }

    .faq-item[open] {
        background: var(--paper);
        border-style: solid;
        border-color: var(--ink);
    }

    .faq-item summary {
        list-style: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 20px 22px;
        font-size: 15.5px;
        font-weight: 700;
        line-height: 1.7;
    }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary:focus-visible {
            outline: 2px solid var(--cyan);
            outline-offset: 2px;
            border-radius: 14px;
        }

        .faq-item summary::before {
            counter-increment: faq;
            content: counter(faq, persian);
            min-width: 22px;
            font-size: 13px;
            font-weight: 700;
            color: var(--magenta);
        }

        .faq-item summary::after {
            content: "+";
            margin-inline-start: auto;
            flex-shrink: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1.5px solid var(--line);
            border-radius: 50%;
            font-size: 18px;
            font-weight: 400;
            line-height: 1;
            transition: .25s;
        }

    .faq-item[open] summary::after {
        transform: rotate(45deg);
        background: var(--magenta);
        border-color: var(--magenta);
        color: #fff;
    }

.faq-answer {
    padding: 0 22px 22px;
    padding-inline-start: 58px;
    font-size: 14.5px;
    line-height: 1.95;
    color: var(--ink-soft);
}

    .faq-answer p {
        margin: 0 0 10px;
    }

        .faq-answer p:last-child {
            margin-bottom: 0;
        }

    .faq-answer a {
        color: var(--magenta);
    }

.faq-empty {
    display: none;
    text-align: center;
    padding: 40px 20px;
    border: 1.5px dashed var(--line);
    border-radius: 16px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.9;
}

    .faq-empty.visible {
        display: block;
    }

.faq-cta {
    padding-top: 0;
}

a.price-row {
    color: inherit;
    text-decoration: none;
    transition: .2s;
}

    a.price-row:hover .amt {
        color: var(--paper);
    }
@media(max-width:540px) {
    .faq-item summary {
        padding: 16px;
        font-size: 14.5px;
    }

    .faq-answer {
        padding: 0 16px 18px;
    }
    header .bar {
        flex-wrap: wrap;
        row-gap: 12px;
    }

    .logo {
        order: 1;
    }

    .nav-toggle {
        display: flex;
        order: 2;
    }

    .btn-order {
        order: 3;
        padding: 8px 14px;
        font-size: 12px;
    }

    nav {
        order: 4;
        width: 100%;
    }

        nav ul {
            display: none;
            flex-direction: column;
            align-items: stretch;
            width: 100%;
            gap: 0;
            font-size: 15px;
            max-height: 60vh;
            overflow-y: auto;
            border-top: 1.5px dashed var(--line);
            padding-top: 4px;
            margin-top: 4px;
        }

            nav ul li a {
                display: block;
                padding: 12px 4px;
                border-bottom: 1px dashed var(--line);
            }

            nav ul li:last-child a {
                border-bottom: none;
            }

    .nav-toggle-input:checked ~ nav ul {
        display: flex;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 26px;
    }

    .hero {
        padding: 32px 0 24px;
    }

    .section {
        padding: 40px 0;
    }

    .section-head h2 {
        font-size: 22px;
    }

    .product-info h1,
    .product-title h1 {
        font-size: 24px;
    }

    .current-price {
        font-size: 24px;
    }

    .order-form,
    .price-box {
        padding: 20px;
    }

    .thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .offer-item {
        width: 180px;
    }

    /* Blog listing */
    .blog-hero h1 {
        font-size: 26px;
    }

    .blog-page-grid,
    .blog-related .blog-page-grid {
        grid-template-columns: 1fr;
    }

    .blog-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 16px;
        -webkit-overflow-scrolling: touch;
    }

    .blog-filter-btn {
        white-space: nowrap;
    }

    .newsletter-box {
        padding: 28px 20px;
    }

    /* Blog detail */
    .blog-detail-cover img {
        aspect-ratio: 16/10;
    }

    .blog-author-row {
        flex-direction: column;
        gap: 8px;
    }

    .author-info {
        text-align: center;
    }

    .blog-author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ================================
   CHECKOUT / ORDER CONFIRMATION PAGE
   ================================ */
.checkout-summary {
    margin: 32px 0;
}

    .checkout-summary h3,
    .checkout-form-section h3 {
        font-size: 18px;
        font-weight: 700;
        margin: 0 0 16px;
    }

.summary-table {
    border: 1.5px dashed var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--paper-dark);
}

.summary-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
}

    .summary-row:last-child {
        border-bottom: none;
    }

    .summary-row.summary-head {
        background: var(--ink);
        color: var(--paper);
        font-family: 'IBM Plex Mono', monospace;
        font-size: 12px;
    }

    .summary-row .amt {
        font-family: 'IBM Plex Mono', monospace;
        color: var(--magenta);
        font-weight: 700;
    }

.checkout-form-section {
    max-width: 560px;
    margin: 0 0 56px;
}

.checkout-form {
    background: var(--paper-dark);
    border: 1.5px dashed var(--line);
    border-radius: 20px;
    padding: 28px;
}

    .checkout-form .form-row input[type="text"],
    .checkout-form .form-row input[type="tel"],
    .checkout-form .form-row input[type="email"] {
        width: 100%;
        padding: 10px 14px;
        border-radius: 10px;
        border: 1px solid var(--line);
        background: var(--paper);
        font-family: inherit;
        font-size: 14px;
        color: var(--ink);
    }

        .checkout-form .form-row input[type="text"]:focus,
        .checkout-form .form-row input[type="tel"]:focus,
        .checkout-form .form-row input[type="email"]:focus {
            outline: none;
            border-color: var(--ink);
        }

    .checkout-form .validation-msg {
        display: block;
        font-size: 12px;
        color: var(--magenta);
        margin-top: 6px;
    }

@media(max-width:540px) {
    .summary-row {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 8px;
    }
    footer{
        justify-content:center;
    }
        .summary-row.summary-head {
            display: none;
        }

        .summary-row span::before {
            content: attr(data-label);
            display: block;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 10.5px;
            color: var(--ink-soft);
            margin-bottom: 2px;
        }

    .checkout-form {
        padding: 20px;
    }
}

/* ================================
   ORDER RESULT PAGES (SUCCESS / ERROR)
   ================================ */
.result-page {
    max-width: 560px;
    margin: 72px auto;
    text-align: center;
}

.result-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    color: #fff;
    box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .25);
}

    .result-icon svg {
        width: 40px;
        height: 40px;
    }

    .result-icon.success {
        background: linear-gradient(135deg, var(--green), #0E9B67);
    }

    .result-icon.error {
        background: linear-gradient(135deg, var(--magenta), #A80F53);
    }

.result-page h1 {
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 14px;
}

.result-message {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.9;
    margin: 0 0 28px;
}

.result-code {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--paper-dark);
    border: 1.5px dashed var(--line);
    border-radius: 100px;
    padding: 10px 22px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    margin-bottom: 32px;
}

    .result-code .k {
        color: var(--ink-soft);
    }

    .result-code .v {
        color: var(--ink);
        font-weight: 700;
    }

.result-reasons {
    text-align: right;
    background: var(--paper-dark);
    border: 1.5px dashed var(--line);
    border-radius: 16px;
    padding: 20px 24px;
    margin: 0 0 32px;
}

    .result-reasons .title {
        font-size: 13px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 10px;
    }

    .result-reasons ul {
        margin: 0;
        padding-right: 20px;
        color: var(--ink-soft);
        font-size: 13.5px;
        line-height: 2;
    }

.result-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.btn-outline {
    display: inline-block;
    border: 1.5px solid var(--ink);
    color: var(--ink);
    background: transparent;
    padding: 14px 26px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
    transition: .2s;
}

    .btn-outline:hover {
        background: var(--ink);
        color: var(--paper);
    }

.result-support {
    padding-top: 24px;
    border-top: 1.5px dashed var(--line);
    font-size: 13px;
    color: var(--ink-soft);
}

    .result-support a {
        color: var(--magenta);
        text-decoration: none;
        font-weight: 700;
    }

        .result-support a:hover {
            text-decoration: underline;
        }

@media(max-width:540px) {
    .result-page {
        margin: 40px auto;
    }

    .result-icon {
        width: 68px;
        height: 68px;
    }

        .result-icon svg {
            width: 32px;
            height: 32px;
        }

    .result-page h1 {
        font-size: 21px;
    }

    .result-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .result-actions .btn-primary,
        .result-actions .btn-outline {
            text-align: center;
        }
}
