:root {
    --pd-ink: #211f1b;
    --pd-muted: #746f67;
    --pd-paper: #f7f3ed;
    --pd-line: #d8d0c6;
    --pd-clay: #c7653d;
    --pd-clay-dark: #a94e2f;
    --pd-serif: "Libre Baskerville", Georgia, serif;
}

body { background: var(--pd-paper); color: var(--pd-ink); }
.breadcrumb { width: min(1095px, calc(100% - 70px)); max-width: none; margin-left: auto; margin-right: auto; background: transparent; border-bottom: 0; }
.product-detail,
.product-page { width: min(1095px, calc(100% - 70px)); max-width: none; }
.product-detail,
.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(430px, .82fr);
    gap: 0;
    align-items: stretch;
    margin-top: 0;
    border-top: 1px solid var(--pd-line);
    border-bottom: 1px solid var(--pd-line);
}
.product-detail { width: min(1095px, calc(100% - 70px)); max-width: none; margin: 26px auto 0; padding: 0; }
.product-page { padding: 34px 0 4rem; }
.product-gallery,
.product-media {
    position: relative;
    padding: 27px 38px 39px 0;
    border-right: 1px solid var(--pd-line);
}
.main-image {
    position: relative;
    min-height: 540px;
    aspect-ratio: auto;
    overflow: hidden;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    background: #d8d0c4;
    box-shadow: none;
    clip-path: polygon(0 0, 92% 0, 100% 9%, 100% 100%, 0 100%);
}
.main-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 55%);
}
.main-image img,
.product-media .main-image img {
    position: absolute !important;
    inset: 0 !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 540px;
    padding: 0 !important;
    border-radius: 0;
    object-fit: cover !important;
    object-position: center !important;
    background: transparent !important;
    transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
}
.main-image:hover img { transform: scale(1.018); }
.image-index,
.zoom-note {
    position: absolute;
    z-index: 3;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.image-index { top: 21px; left: 21px; padding: 8px 10px; background: rgba(27,26,23,.62); backdrop-filter: blur(8px); }
.zoom-note { right: 23px; bottom: 21px; padding: 0; border: 0; color: rgba(255,255,255,.8); }
.gallery-thumbs,
.product-media .detail-image-section {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin-top: 11px;
}
.product-media .detail-image-section { margin-top: 11px; }
.product-media .detail-image-section .section-heading { display: none; }
.product-media .detail-image-grid { display: contents; }
.gallery-thumb,
.detail-image-card {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #ddd5ca;
    box-shadow: none;
    cursor: pointer;
}
.gallery-thumb img,
.detail-image-frame,
.detail-image-frame img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    background: #ddd5ca;
}
.detail-image-frame { aspect-ratio: 1; }
.detail-image-card figcaption { display: none; }
.gallery-thumb::after,
.detail-image-card::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; pointer-events: none; }
.gallery-thumb.active::after,
.detail-image-card.active::after { border: 2px solid var(--pd-clay); }
.gallery-thumb.active::before,
.detail-image-card.active::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 22px;
    height: 22px;
    background: var(--pd-clay);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.gallery-info, .detail-images { display: none !important; }
.product-info {
    padding: 39px 0 36px 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.product-badge { display: none; }
.collection-line {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0 0 15px;
    color: var(--pd-clay);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.collection-line::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.product-name,
.product-info h1 {
    max-width: 473px;
    margin-bottom: 14px;
    color: var(--pd-ink);
    font-family: var(--pd-serif);
    font-size: clamp(35px, 3.525vw, 57px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.055em;
}
.product-trade,
.trade {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 0;
    padding: 0 0 19px;
    border-bottom: 1px solid var(--pd-line);
    color: var(--pd-muted);
    font-size: 9px;
}
.product-trade::before,
.trade::before { content: attr(data-item); }
.product-desc,
.desc {
    max-width: 458px;
    margin: 21px 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--pd-muted);
    font-size: 11px;
    line-height: 1.75;
}
.product-summary,
.summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 23px;
    border-top: 1px solid var(--pd-line);
    border-left: 1px solid var(--pd-line);
}
.summary-card {
    min-height: 84px;
    padding: 14px;
    border: 0;
    border-right: 1px solid var(--pd-line);
    border-bottom: 1px solid var(--pd-line);
    border-radius: 0;
    background: transparent;
}
.summary-label,
.summary-card span {
    display: block;
    margin-bottom: 15px;
    color: var(--pd-muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.summary-value,
.summary-card strong {
    color: var(--pd-ink);
    font-family: var(--pd-serif);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}
.customization-strip { margin: 0 0 23px; }
.customization-title { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 8px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.customization-title em { color: var(--pd-muted); font-family: var(--pd-serif); font-size: 9px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.customization-options { display: flex; flex-wrap: wrap; gap: 6px; }
.customization-options span { padding: 7px 9px; border: 1px solid var(--pd-line); background: rgba(255,255,255,.35); font-size: 8px; }
.product-actions,
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 0; }
.btn-inquiry {
    grid-column: 1 / -1;
    min-height: 50px;
    padding: 0 19px;
    border-radius: 0;
    background: var(--pd-clay);
    box-shadow: none;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.btn-inquiry::after { content: "→"; margin-left: auto; font-family: var(--pd-serif); font-size: 22px; font-weight: 400; }
.btn-inquiry:hover { background: var(--pd-clay-dark); }
.btn-whatsapp,
.btn-secondary-action,
.btn-secondary {
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--pd-line);
    border-top: 0;
    border-radius: 0;
    background: transparent;
    color: var(--pd-ink);
    font-size: 9px;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.btn-whatsapp { color: var(--pd-ink); }
.btn-whatsapp svg { display: none; }
.btn-secondary-action,
.actions .btn-secondary:last-child { border-left: 0; }
.spec-template,
.product-details-panel,
.wholesale-summary,
.product-faq,
.sourcing-note,
.product-note { display: none; }

@media (max-width: 1080px) {
    .breadcrumb, .product-detail, .product-page { width: calc(100% - 40px); }
    .product-detail, .product-layout { grid-template-columns: 1fr; }
    .product-gallery, .product-media { padding-right: 0; border-right: 0; }
    .product-info { padding-left: 0; }
}
@media (max-width: 700px) {
    .breadcrumb, .product-detail, .product-page { width: calc(100% - 30px); }
    .product-detail { padding: 15px 0 0; }
    .product-page { padding-left: 15px; padding-right: 15px; }
    .main-image, .main-image img, .product-media .main-image img { min-height: 500px; }
    .product-info { padding-top: 35px; }
    .product-name, .product-info h1 { font-size: 46px; }
    .product-summary, .summary { grid-template-columns: 1fr; }
    .summary-card { min-height: 82px; }
}
@media (max-width: 480px) {
    .main-image, .main-image img, .product-media .main-image img { min-height: 420px; }
    .product-actions, .actions { grid-template-columns: 1fr; }
    .btn-secondary-action, .actions .btn-secondary:last-child { border-left: 1px solid var(--pd-line); }
}
