:root {
    --container-max: 1440px;
    --gutter: clamp(12px, 3vw, 40px);
}

.site-container {
    width: 100%;
    max-width: calc(var(--container-max) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
    box-sizing: border-box;
}

/* ফুল-উইডথ বার (হেডার ইত্যাদি), ভেতরের লেখা কন্টেইনারের সাথে এক লাইনে */
.site-edge {
    padding-inline: max(var(--gutter), calc((100% - var(--container-max)) / 2));
}

/* ১১৮০px-এর নিচে পাশের ফাঁকা শূন্য (প্রোডাক্ট পেজের গ্যালারির জন্য) */
@media (max-width: 1179px) {
    .site-container--flush {
        padding-inline: 0;
    }
}

.site-prose {
    max-width: 800px;
    margin-inline: auto;
    font-size: 1.0625rem;
    line-height: 1.85;
}

.site-prose h1,
.site-prose h2,
.site-prose h3 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    line-height: 1.4;
}

.site-prose p,
.site-prose ul,
.site-prose ol {
    margin-bottom: 1em;
}

.site-prose ul {
    list-style: disc;
    padding-left: 1.5em;
}

.site-prose ol {
    list-style: decimal;
    padding-left: 1.5em;
}

/* ===== Legal / policy pages (same design on every policy page) ===== */

.policy-page {
    max-width: 760px;
    margin: 40px auto;
    color: #33465c;
    font-size: 16px;
    line-height: 1.8;
    box-sizing: border-box;
}

.policy-page .policy-card {
    background: #f5f7f9;
    border-radius: 16px;
    padding: clamp(22px, 4vw, 40px);
    margin: 0 0 24px;
    box-shadow: 0 8px 24px rgba(11, 47, 91, 0.08);
    box-sizing: border-box;
}

/* Page title */
.policy-page .policy-card h1 {
    font-size: clamp(32px, 6vw, 48px);
    line-height: 1.2;
    font-weight: 700;
    color: #0b2f5b;
    margin: 0 0 10px;
}

.policy-page .policy-card .policy-updated {
    font-size: 14px;
    line-height: 1.5;
    color: #5f7087;
    margin: 0 0 24px;
}

/* Section headings */
.policy-page .policy-card h2 {
    font-size: clamp(20px, 3.5vw, 24px);
    line-height: 1.35;
    font-weight: 700;
    color: #0b2f5b;
    margin: 34px 0 12px;
}

.policy-page .policy-card>h2:first-child {
    margin-top: 0;
}

.policy-page .policy-card p {
    margin: 0 0 14px;
}

.policy-page .policy-card ul {
    list-style: disc;
    padding-left: 1.5em;
    margin: 0 0 16px;
}

.policy-page .policy-card ol {
    list-style: decimal;
    padding-left: 1.5em;
    margin: 0 0 16px;
}

.policy-page .policy-card li {
    margin: 0 0 8px;
}

.policy-page .policy-card a {
    color: #0e7c86;
    font-weight: 600;
    text-decoration: underline;
}

/* Highlighted clause (COD terms, fair review, limitation of liability) */
.policy-page .policy-note {
    background: rgba(14, 124, 134, 0.08);
    border-left: 4px solid #0e7c86;
    border-radius: 8px;
    padding: 18px 20px;
    margin: 26px 0 16px;
}

.policy-page .policy-note h2 {
    font-size: 20px;
    margin: 0 0 10px;
}

.policy-page .policy-note p:last-child {
    margin-bottom: 0;
}

/* Tables (scroll sideways inside their own box on small screens) */
.policy-page .policy-table-wrap {
    overflow-x: auto;
    margin: 0 0 18px;
}

.policy-page .policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.policy-page .policy-table th {
    background: #0b2f5b;
    color: #ffffff;
    text-align: left;
    font-weight: 600;
    padding: 10px 12px;
}

.policy-page .policy-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #dbe3ea;
    vertical-align: top;
}

.policy-page .policy-table tr:nth-child(even) td {
    background: #ffffff;
}

/* "View all policies" button row */
.policy-page .policy-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.policy-page .policy-card a.policy-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid #0b2f5b;
    border-radius: 6px;
    color: #0b2f5b;
    font-weight: 600;
    text-decoration: none;
}

.policy-page .policy-card a.policy-btn:hover {
    background: #0b2f5b;
    color: #ffffff;
}

/* Centered page header: title, last-updated line and intro paragraph */
.policy-page .policy-card>h1,
.policy-page .policy-card>.policy-updated,
.policy-page .policy-card>h1+.policy-updated+p {
    text-align: center;
}

.policy-page .policy-card>h1+.policy-updated+p {
    max-width: 620px;
    margin: 0 auto 14px;
}


/* Any remaining Tailwind "container" (home sections, reviews, account pages...) follows the same width */
body .container {
    width: 100%;
    max-width: calc(var(--container-max) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
    box-sizing: border-box;
}



/* TEMPORARY: demo home sections only. Delete this whole block (down to the comment End of temporary demo home sections) once the demo sections are replaced with site-container sections. */
body .top-collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: normal;
    gap: 32px;
}

body .top-collection-card,
body .collection-card-wrapper .single-collection-card {
    width: auto;
}

body .top-collection-card a,
body .collection-card-wrapper .single-collection-card a {
    display: block;
}

body .top-collection-card img,
body .collection-card-wrapper .single-collection-card img {
    display: block;
    width: 100%;
    height: auto;
}

body .collection-card-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: normal;
    gap: 30px;
}

@media (max-width: 1024px) {
    body .top-collection-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body .top-collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-top: 0;
    }
}

@media (max-width: 525px) {
    body .top-collection-grid {
        gap: 10px;
    }

    body .collection-card-wrapper {
        gap: 10px;
        margin-top: 15px;
    }
}

/* End of temporary demo home sections */