:root {
    --ars-navy: #071426;
    --ars-yellow: #ffbc00;
    --ars-text: #111827;
    --ars-muted: #697386;
    --ars-border: #e3e8ef;
    --ars-soft: #f7f9fc;
}

.ars-product-page {
    background: #fff;
    color: var(--ars-text);
}

.ars-shell {
    width: min(100% - 40px, 1460px);
    margin-inline: auto;
}

.ars-breadcrumbs {
    padding: 26px 0 32px;
    color: var(--ars-muted);
    font-size: 13px;
}

.ars-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.ars-product-main {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    gap: clamp(44px, 6vw, 92px);
    align-items: start;
    padding-bottom: 70px;
}

.ars-gallery {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 22px;
}

.ars-gallery__thumbs {
    display: grid;
    align-content: start;
    gap: 16px;
}

.ars-gallery__thumb {
    width: 88px;
    height: 88px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--ars-border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.ars-gallery__thumb.is-active {
    border-color: var(--ars-yellow);
    box-shadow: 0 0 0 2px rgba(255, 188, 0, .15);
}

.ars-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ars-gallery__stage {
    min-height: 610px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--ars-border);
    border-radius: 18px;
    background: linear-gradient(145deg, #fafbfc, #f1f4f8);
}

.ars-gallery__stage img {
    display: block;
    width: 100%;
    height: 610px;
    object-fit: contain;
}

.ars-summary {
    padding-top: 4px;
}

.ars-category-badge {
    display: inline-flex;
    padding: 8px 15px;
    border-radius: 999px;
    background: #fff2c6;
    color: #a76c00;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.ars-summary h1 {
    margin: 16px 0 12px;
    color: var(--ars-navy);
    font-size: clamp(38px, 4vw, 48px);
    line-height: 1.03;
    letter-spacing: -.035em;
}

.ars-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--ars-muted);
    font-size: 13px;
}

.ars-rating .star-rating {
    color: var(--ars-yellow);
}

.ars-excerpt {
    max-width: 650px;
    color: var(--ars-muted);
    font-size: 18px;
    line-height: 1.65;
}

.ars-price {
    display: grid;
    margin: 24px 0;
    color: var(--ars-navy);
    font-size: 32px;
    font-weight: 600;
}

.ars-price small {
    color: var(--ars-muted);
    font-size: 13px;
    font-weight: 500;
}

.ars-assurances {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 24px 0 28px;
}

.ars-assurances > div {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ars-assurances > div > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    flex: 0 0 38px;
    color: var(--ars-navy);
    border: 1px solid var(--ars-border);
    border-radius: 10px;
    font-weight: 800;
}

.ars-assurances p {
    display: grid;
    gap: 3px;
    margin: 0;
    line-height: 1.2;
}

.ars-assurances strong { font-size: 13px; }
.ars-assurances small { color: var(--ars-muted); font-size: 11px; }

.ars-purchase {
    padding: 22px;
    border: 1px solid var(--ars-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(15, 23, 42, .08);
}

.ars-cart__row {
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr);
    gap: 14px;
}

.ars-quantity {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    overflow: hidden;
    border: 1px solid var(--ars-border);
    border-radius: 10px;
    background: var(--ars-soft);
}

.ars-quantity button {
    border: 0;
    background: transparent;
    color: var(--ars-navy);
    cursor: pointer;
    font-size: 20px;
}

.ars-quantity .quantity { margin: 0; }
.ars-quantity .qty {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 0;
    background: #fff;
    text-align: center;
    appearance: textfield;
}

.ars-add-cart,
.ars-buy-now {
    min-height: 52px !important;
    border: 0 !important;
    border-radius: 9px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.ars-add-cart {
    background: var(--ars-yellow) !important;
    color: var(--ars-navy) !important;
}

.ars-buy-now {
    width: 100%;
    margin-top: 12px !important;
    background: #eef0f4 !important;
    color: #4b5563 !important;
    margin-bottom: 10px !important;
}

.ars-purchase .wcpay-payment-request-wrapper,
.ars-purchase .wc-stripe-payment-request-wrapper {
    width: 100%;
    margin-top: 12px;
}

.ars-details {
    margin-bottom: 68px;
}

.ars-tabs {
    display: flex;
    gap: 42px;
    overflow-x: auto;
    border-bottom: 1px solid var(--ars-border);
}

.ars-tabs button {
    position: relative;
    min-height: 56px;
    border: 0;
    background: transparent;
    color: #536074;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.ars-tabs button.is-active { color: #ba7800; }
.ars-tabs button.is-active::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: var(--ars-yellow);
}

.ars-details__body {
    min-height: 250px;
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid var(--ars-border);
    border-top: 0;
    border-radius: 0 0 16px 16px;
}

.ars-panel { display: none; }
.ars-panel.is-active { display: block; }
.ars-panel h2 { margin: 0 0 20px; color: var(--ars-navy); font-size: 24px; }
.ars-copy, .ars-panel p, .ars-panel li { color: var(--ars-muted); line-height: 1.75; }

.ars-checks {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ars-checks li {
    position: relative;
    padding-left: 36px;
}

.ars-checks li::before {
    content: '✓';
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--ars-yellow);
    color: #fff;
    font-weight: 900;
}

.ars-trustbar {
    padding: 30px 0;
    background: var(--ars-soft);
    border-block: 1px solid var(--ars-border);
}

.ars-trustbar .ars-shell {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.ars-trustbar .ars-shell > div {
    display: grid;
    gap: 4px;
    padding: 0 28px;
    border-right: 1px solid var(--ars-border);
}

.ars-trustbar .ars-shell > div:first-child { padding-left: 0; }
.ars-trustbar .ars-shell > div:last-child { border-right: 0; }
.ars-trustbar strong { color: var(--ars-navy); }
.ars-trustbar span { color: var(--ars-muted); font-size: 13px; }

.ars-related { padding-block: 64px; }
.ars-related > h2 { margin-bottom: 28px; color: var(--ars-navy); }
.ars-related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ars-related article { padding: 18px; border: 1px solid var(--ars-border); border-radius: 14px; }
.ars-related article img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.ars-related article a { color: var(--ars-navy); text-decoration: none; }
.ars-related article h3 { font-size: 16px; }

@media (max-width: 1020px) {
    .ars-product-main { grid-template-columns: 1fr; }
    .ars-gallery__stage, .ars-gallery__stage img { height: 520px; min-height: 520px; }
}

@media (max-width: 700px) {
    .ars-shell { width: min(100% - 24px, 1460px); }
    .ars-product-main { gap: 30px; padding-bottom: 44px; }
    .ars-gallery { grid-template-columns: 1fr; }
    .ars-gallery__thumbs { grid-row: 2; grid-auto-flow: column; grid-auto-columns: 68px; overflow-x: auto; }
    .ars-gallery__thumb { width: 68px; height: 68px; }
    .ars-gallery__stage, .ars-gallery__stage img { height: 400px; min-height: 400px; }
    .ars-summary h1 { font-size: 38px; }
    .ars-assurances { grid-template-columns: 1fr; }
    .ars-cart__row { grid-template-columns: 1fr; }
    .ars-quantity { max-width: 150px; }
    .ars-tabs { gap: 24px; }
    .ars-details__body { padding: 24px 20px; }
    .ars-trustbar .ars-shell { grid-template-columns: 1fr 1fr; gap: 24px 0; }
    .ars-trustbar .ars-shell > div { padding: 0 16px; }
    .ars-trustbar .ars-shell > div:nth-child(2) { border-right: 0; }
    .ars-related__grid { grid-template-columns: 1fr 1fr; }
}
