.single-dq_product .dq-main {
    background: #fffdf9;
}

.single-dq_product .dq-breadcrumb {
    padding-top: 18px;
    padding-bottom: 12px;
    color: #8b786b;
    font-size: 14px;
}

.single-dq_product .dq-breadcrumb a {
    color: #a84f32;
}

.dq-product-detail {
    --dq-product-ink: #34251d;
    --dq-product-muted: #74665c;
    --dq-product-accent: #a84f32;
    --dq-product-accent-dark: #7f3623;
    --dq-product-walnut: #573728;
    --dq-product-line: #e5d8ca;
    padding: 12px 0 64px;
    color: var(--dq-product-ink);
}

.dq-product-detail__main {
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(360px, 1.02fr);
    gap: 32px;
    align-items: start;
}

.dq-product-sidebar {
    overflow: hidden;
    border: 1px solid var(--dq-product-line);
    background: #fff;
}

.dq-product-sidebar h2 {
    margin: 0;
    padding: 17px 18px;
    background: var(--dq-product-accent);
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.25;
    text-transform: uppercase;
}

.dq-product-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dq-product-sidebar__list > li {
    border-top: 1px solid #eee6dd;
}

.dq-product-sidebar__list > li:first-child {
    border-top: 0;
}

.dq-product-sidebar a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    color: var(--dq-product-ink);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
}

.dq-product-sidebar__list > li > a::after {
    content: "›";
    color: var(--dq-product-accent);
    font-size: 21px;
    line-height: 1;
}

.dq-product-sidebar li.is-current-branch > a,
.dq-product-sidebar a:hover,
.dq-product-sidebar a:focus-visible {
    background: #f8eee4;
    color: var(--dq-product-accent-dark);
}

.dq-product-sidebar li ul {
    padding: 6px 0 9px;
    background: #fffaf4;
}

.dq-product-sidebar li ul a {
    min-height: 37px;
    padding: 7px 16px 7px 27px;
    font-size: 13px;
    font-weight: 500;
}

.dq-product-sidebar li ul li.is-current a {
    color: var(--dq-product-accent);
    font-weight: 750;
}

.dq-product-gallery {
    min-width: 0;
}

.dq-product-gallery__main,
.dq-product-gallery__placeholder {
    display: grid;
    aspect-ratio: 1 / 1;
    margin: 0;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--dq-product-line);
    border-radius: 8px;
    background: #f6f1e9;
}

.dq-product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

.dq-product-gallery__main img:focus-visible,
.dq-product-content-media img:focus-visible {
    outline: 3px solid var(--dq-product-accent);
    outline-offset: 4px;
}

.dq-product-gallery__placeholder {
    padding: 30px;
    color: var(--dq-product-muted);
    text-align: center;
}

.dq-product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    margin-top: 11px;
}

.dq-product-gallery__thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 3px;
    border: 1px solid var(--dq-product-line);
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
}

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

.dq-product-gallery__thumb.is-active {
    border-color: var(--dq-product-accent);
    box-shadow: 0 0 0 1px var(--dq-product-accent);
}

.dq-product-summary {
    min-width: 0;
    padding: 2px 0 0;
}

.dq-product-summary__terms {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.dq-product-summary__terms a {
    padding: 5px 9px;
    border-radius: 999px;
    background: #f3e7da;
    color: var(--dq-product-accent-dark);
    font-size: 12px;
    font-weight: 700;
}

.dq-product-summary h1 {
    margin: 0 0 14px;
    color: var(--dq-product-ink);
    font-family: var(--dq-font), Arial, sans-serif;
    font-size: clamp(25px, 2.1vw, 32px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: 0;
    word-break: normal;
    overflow-wrap: break-word;
}

.dq-product-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 0 0 17px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--dq-product-line);
    font-size: 16px;
}

.dq-product-price strong {
    color: var(--dq-product-accent);
    font-size: 20px;
    font-weight: 750;
}

.dq-product-short {
    margin-bottom: 18px;
    padding: 18px 20px;
    border: 1px solid #ead7c6;
    border-left: 4px solid var(--dq-product-accent);
    border-radius: 12px;
    background: linear-gradient(135deg, #fbf4ec, #fffaf5);
    box-shadow: 0 7px 20px rgba(87, 55, 40, .06);
}

.dq-product-short p {
    margin: 0;
    color: #4e4037;
    font-size: 16px;
    line-height: 1.7;
}

.dq-product-specs {
    overflow: hidden;
    margin: 0 0 18px;
    border: 1px solid var(--dq-product-line);
    border-radius: 12px;
    background: #fff;
}

.dq-product-specs > div {
    display: grid;
    grid-template-columns: minmax(120px, 39%) 1fr;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--dq-product-line);
    font-size: 15px;
    line-height: 1.45;
}

.dq-product-specs > div:last-child {
    border-bottom: 0;
}

.dq-product-specs dt {
    color: var(--dq-product-muted);
}

.dq-product-specs dd {
    margin: 0;
    color: var(--dq-product-ink);
    font-weight: 700;
}

.dq-product-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 16px;
}

.dq-product-action {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 14px;
    border: 1px solid var(--dq-product-accent);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.dq-product-action svg,
.dq-product-assurances svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dq-product-action--zalo {
    background: #fff;
    color: var(--dq-product-accent-dark);
}

.dq-product-action--phone {
    background: var(--dq-product-accent);
    color: #fff;
    box-shadow: 0 8px 18px rgba(168, 79, 50, .2);
}

.dq-product-action:hover,
.dq-product-action:focus-visible {
    background: var(--dq-product-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.dq-product-assurances {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #4f4239;
    font-size: 14px;
    line-height: 1.4;
}

.dq-product-assurances li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    min-width: 0;
    min-height: 68px;
    align-items: center;
    gap: 8px;
    padding: 11px 10px;
    border: 1px solid #eadfd4;
    border-radius: 9px;
    background: #fffaf5;
}

.dq-product-assurances svg {
    width: 18px;
    height: 18px;
    display: block;
    justify-self: center;
    flex: none;
    color: var(--dq-product-accent);
}

.dq-product-assurances span {
    display: block;
    min-width: 0;
}

.dq-product-meta {
    margin-top: 14px;
    padding: 0;
    color: var(--dq-product-muted);
    font-size: 14px;
}

.dq-product-meta p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.dq-product-meta a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 11px;
    border: 1px solid #e6d5c4;
    border-radius: 999px;
    background: #fff;
    color: var(--dq-product-accent-dark);
    font-weight: 700;
}

.dq-product-description,
.dq-product-related {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--dq-product-line);
}

.dq-product-description > h2,
.dq-product-related h2 {
    margin: 0 0 22px;
    color: var(--dq-product-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 2vw, 31px);
    line-height: 1.25;
}

.dq-product-description .dq-richtext {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    color: #4b4038;
    font-size: 18px;
    line-height: 1.8;
}

.dq-product-description .dq-richtext :is(h2, h3, h4) {
    color: var(--dq-product-ink);
    text-align: left;
    text-wrap: wrap;
}

.dq-product-description .dq-richtext p {
    text-align: justify;
    text-justify: inter-word;
}

.dq-product-content-media {
    width: 100%;
    margin: 38px auto 44px;
    text-align: center;
}

.dq-product-content-media img,
.dq-product-description .dq-richtext .dq-product-content-media img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(52, 37, 29, .12);
    cursor: zoom-in;
}

html.dq-product-lightbox-open {
    overflow: hidden;
}

.dq-product-lightbox {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 24px;
    border: 0;
    background: rgba(20, 15, 12, .94);
    overflow: auto;
}

.dq-product-lightbox[open] {
    display: grid;
    place-items: center;
}

.dq-product-lightbox::backdrop {
    background: rgba(20, 15, 12, .94);
}

.dq-product-lightbox__stage {
    display: grid;
    min-width: 0;
    min-height: 0;
    place-items: center;
}

.dq-product-lightbox__image {
    display: block;
    width: auto;
    max-width: calc(100vw - 48px);
    height: auto;
    max-height: calc(100dvh - 48px);
    object-fit: contain;
}

.dq-product-lightbox__close {
    position: fixed;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font: 400 32px/1 Arial, sans-serif;
    cursor: pointer;
}

.dq-product-lightbox__close:hover,
.dq-product-lightbox__close:focus-visible {
    background: var(--dq-product-accent);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.dq-product-description .dq-richtext img {
    height: auto;
    border-radius: 6px;
}

.dq-product-related__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dq-product-related__heading > a {
    color: var(--dq-product-accent);
    font-size: 14px;
    font-weight: 700;
}

.dq-product-related__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dq-product-card {
    overflow: hidden;
    border: 1px solid var(--dq-product-line);
    border-radius: 7px;
    background: #fff;
}

.dq-product-card__image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5efe7;
}

.dq-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.dq-product-card:hover .dq-product-card__image img {
    transform: scale(1.025);
}

.dq-product-card__body {
    padding: 14px 15px 16px;
}

.dq-product-card h3 {
    margin: 0 0 9px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.42;
}

.dq-product-card h3 a {
    color: var(--dq-product-ink);
}

.dq-product-card p {
    margin: 0;
    color: var(--dq-product-accent);
    font-size: 14px;
    font-weight: 750;
}

.dq-product-card p span {
    color: var(--dq-product-muted);
    font-weight: 500;
}

@media (max-width: 1099px) {
    .dq-product-detail__main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .dq-product-sidebar {
        grid-column: 1 / -1;
    }

    .dq-product-sidebar__list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .dq-product-sidebar__list > li {
        border-top: 0;
        border-right: 1px solid #eee6dd;
    }

    .dq-product-sidebar li ul {
        display: none;
    }

    .dq-product-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 759px) {
    .single-dq_product .dq-breadcrumb {
        padding-top: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dq-product-detail {
        padding-top: 4px;
        padding-bottom: 44px;
    }

    .dq-product-detail__main {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dq-product-sidebar {
        grid-column: auto;
        order: 3;
    }

    .dq-product-gallery {
        order: 1;
    }

    .dq-product-summary {
        order: 2;
    }

    .dq-product-sidebar__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dq-product-sidebar h2 {
        font-size: 15px;
    }

    .dq-product-sidebar a {
        min-height: 43px;
        padding-inline: 12px;
        font-size: 13px;
    }

    .dq-product-summary h1 {
        font-size: clamp(24px, 7.1vw, 29px);
    }

    .dq-product-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .dq-product-action {
        min-height: 48px;
        gap: 6px;
        padding: 9px 7px;
        font-size: 13px;
    }

    .dq-product-action svg {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .dq-product-action:only-child {
        grid-column: 1 / -1;
    }

    .dq-product-assurances {
        grid-template-columns: 1fr;
    }

    .dq-product-short {
        padding: 16px;
    }

    .dq-product-description,
    .dq-product-related {
        margin-top: 38px;
        padding-top: 23px;
    }
}

@media (max-width: 480px) {
    .dq-product-sidebar__list,
    .dq-product-related__grid {
        grid-template-columns: 1fr;
    }

    .dq-product-sidebar__list > li {
        border-right: 0;
        border-top: 1px solid #eee6dd;
    }

    .dq-product-sidebar__list > li:first-child {
        border-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dq-product-detail * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
