
/* =====================================================
   GIFTDALA PRODUCT DETAILS — REFERENCE DESIGN
   Compact typography / Sticky gallery / Responsive
===================================================== */

:root {
    --gdr-primary: #970034;
    --gdr-primary-dark: #80002c;
    --gdr-ink: #20283b;
    --gdr-muted: #817987;
    --gdr-border: #e7dce5;
    --gdr-bg: #fcf9fc;
    --gdr-lavender: #f0f2fc;
    --gdr-white: #ffffff;
}

.gd-ref-page,
.gd-ref-page * {
    box-sizing: border-box;
}

.gd-ref-page {
    width: 100%;
    padding: 10px 0 55px;
    background: var(--gdr-bg);
    color: var(--gdr-ink);
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.gd-ref-container {
    width: min(100% - 32px, 1160px);
    margin: 0 auto;
}

/* BREADCRUMB */

.gd-ref-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 5px 0 18px;
    font-size: 10px;
    font-weight: 400;
    color: #968a95;
}

.gd-ref-breadcrumb a {
    color: #93848e;
    text-decoration: none;
}

.gd-ref-breadcrumb strong {
    font-weight: 600;
    color: #2d3448;
}

/* MAIN TWO COLUMN */

.gd-ref-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
    align-items: stretch;
}

.gd-ref-gallery-column,
.gd-ref-details {
    min-width: 0;
}

.gd-ref-gallery-column {
    position: relative;
    align-self: stretch;
}

.gd-ref-gallery-sticky {
    position: sticky;
    top: calc(var(--gd-sticky-header-height, 0px) + 18px);
    z-index: 1;
}

/* GALLERY */

.gd-ref-main-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1.23;
    background: #fff;
    border: 1px solid #ece5eb;
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(35, 21, 37, .045);
}

.gd-ref-gallery-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.gd-ref-gallery-image.is-active {
    display: block;
}

.gd-ref-no-image {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #8b8490;
}

.gd-ref-no-image .material-symbols-rounded {
    font-size: 40px;
    color: var(--gdr-primary);
}

.gd-ref-no-image strong {
    font-size: 16px;
    font-weight: 700;
}

.gd-ref-no-image small {
    font-size: 10px;
}

.gd-ref-photo-top {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 20px);
    padding: 6px 9px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid #eee5e9;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 600;
    color: #4c4651;
    z-index: 2;
}

.gd-ref-photo-top .material-symbols-rounded {
    color: var(--gdr-primary);
    font-size: 14px;
}

.gd-ref-photo-bottom {
    position: absolute;
    bottom: 9px;
    left: 9px;
    right: 9px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #263348;
    border-radius: 6px;
    color: #fff;
    z-index: 2;
}

.gd-ref-photo-bottom > .material-symbols-rounded {
    font-size: 21px;
}

.gd-ref-photo-bottom strong,
.gd-ref-photo-bottom small {
    display: block;
}

.gd-ref-photo-bottom strong {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.gd-ref-photo-bottom small {
    margin-top: 2px;
    font-size: 9px;
    font-weight: 400;
    color: #e5e8ee;
    line-height: 1.3;
}

/* THUMBNAILS */

.gd-ref-thumbnails {
    display: flex;
    gap: 9px;
    margin-top: 10px;
    padding: 2px 1px 5px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.gd-ref-thumb {
    flex: 0 0 calc((100% - 27px) / 4);
    min-width: 0;
    aspect-ratio: 1.06;
    padding: 3px;
    border: 1px solid #e8dfe7;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}

.gd-ref-thumb.is-active {
    border: 2px solid var(--gdr-primary);
}

.gd-ref-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* GALLERY TRUST */

.gd-ref-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.gd-ref-trust-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 74px;
    padding: 10px 5px;
    background: #f0f2fb;
    border: 1px solid #e7e4ee;
    border-radius: 8px;
    text-align: center;
}

.gd-ref-trust-card .material-symbols-rounded {
    font-size: 20px;
    color: var(--gdr-primary);
    margin-bottom: 4px;
}

.gd-ref-trust-card strong {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.gd-ref-trust-card small {
    margin-top: 3px;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--gdr-muted);
}

/* RIGHT PRODUCT INFORMATION */

.gd-ref-details {
    padding: 0;
}

.gd-ref-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 9px;
}

.gd-ref-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 6px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
}

.gd-ref-badge .material-symbols-rounded {
    font-size: 12px;
}

.gd-ref-badge.pink {
    background: #ffe1e8;
    color: #a02d51;
}

.gd-ref-badge.peach {
    background: #ffeadc;
    color: #84502d;
}

.gd-ref-badge.blue {
    background: #e8effb;
    color: #48637c;
}

.gd-ref-brand {
    display: block;
    margin: 0 0 4px;
    color: #a04d6b;
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
}

.gd-ref-title {
    margin: 0 0 6px;
    color: #1f283b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -.15px;
}

.gd-ref-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 0 0 11px;
    color: #89818b;
    font-size: 10px;
    font-weight: 400;
}

.gd-ref-meta strong {
    color: #424052;
    font-weight: 600;
}

/* PRICE BOX */

.gd-ref-price-box {
    margin: 0 0 17px;
    padding: 13px 15px;
    border: 1px solid #e4dce9;
    border-radius: 9px;
    background: linear-gradient(110deg, #fbf2f8, #eef2fd);
}

.gd-ref-price-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.gd-ref-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--gdr-primary);
    font-size: 27px;
    font-weight: 750;
    letter-spacing: -.5px;
    line-height: 1.2;
}

.gd-ref-price del {
    color: #918894;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
}

.gd-ref-stock {
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 20px;
    background: #fbe3d5;
    color: #855139;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
}

.gd-ref-stock.out {
    background: #ffe4e8;
    color: #a22446;
}

.gd-ref-price-note {
    margin-top: 4px;
    color: #867b88;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.5;
}

.gd-ref-availability,
.gd-ref-weight {
    margin-top: 3px;
    font-size: 9px;
    color: #237953;
}

/* VARIANTS */

.gd-ref-variant-section {
    margin-bottom: 16px;
}

.gd-ref-variant-section h2,
.gd-ref-schedule h2 {
    margin: 0 0 7px;
    color: var(--gdr-ink);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.gd-ref-variant-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.gd-ref-variant {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 69px;
    padding: 9px 8px;
    border: 1px solid #e7dce5;
    border-radius: 7px;
    background: transparent;
    color: #303344;
    text-align: left;
    cursor: pointer;
}

.gd-ref-variant.is-active {
    border: 1.5px solid var(--gdr-primary);
    background: #fff5f8;
}

.gd-ref-variant:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.gd-ref-variant strong {
    font-size: 10px;
    font-weight: 650;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.gd-ref-variant small {
    margin-top: 3px;
    color: #867e89;
    font-size: 9px;
    font-weight: 400;
}

.gd-ref-variant b {
    margin-top: 5px;
    color: var(--gdr-primary);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.gd-ref-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ERRORS */

.gd-ref-errors {
    margin: 10px 0;
    padding: 10px 12px;
    background: #fff1f3;
    border: 1px solid #efc9d1;
    border-radius: 7px;
    color: #a32142;
    font-size: 11px;
}

.gd-ref-errors p {
    margin: 3px 0;
}

/* DELIVERY LOCATION */

.gd-ref-purchase-form {
    margin: 0;
}

.gd-ref-location-panel {
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #e4dfed;
    border-radius: 9px;
    background: linear-gradient(110deg, #f2f2fc, #f0f4fc);
}

.gd-ref-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
}

.gd-ref-panel-heading strong {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #963650;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.gd-ref-panel-heading strong .material-symbols-rounded {
    font-size: 14px;
}

.gd-ref-panel-heading > small {
    color: #26815d;
    font-size: 9px;
    font-weight: 500;
}

.gd-ref-location-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.gd-ref-location-fields label,
.gd-ref-custom-date label,
.gd-ref-slot-wrap label {
    display: block;
    margin: 0 0 4px;
    color: #716b78;
    font-size: 10px;
    font-weight: 500;
}

.gd-ref-location-fields input,
.gd-ref-custom-date input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 35px;
    padding: 8px 9px;
    border: 1px solid #e1d5e0;
    border-radius: 6px;
    background: #fff;
    color: #30364a;
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
}

.gd-ref-location-fields input::placeholder {
    color: #a39aa5;
}

.gd-ref-location-notice {
    margin: 7px 0 0;
    color: #827a86;
    font-size: 9px;
    line-height: 1.4;
}

/* DELIVERY DATE */

.gd-ref-schedule {
    margin-bottom: 17px;
}

.gd-ref-date-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.gd-ref-date-button {
    min-width: 0;
    min-height: 51px;
    padding: 8px 4px;
    border: 1px solid #e4d6e0;
    border-radius: 7px;
    background: transparent;
    color: #303446;
    text-align: center;
    cursor: pointer;
}

.gd-ref-date-button.is-active {
    border: 1.5px solid var(--gdr-primary);
    background: #fff5f8;
}

.gd-ref-date-button strong {
    display: block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.gd-ref-date-button small {
    display: block;
    margin-top: 3px;
    color: #8c818c;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.2;
}

.gd-ref-custom-date {
    margin-top: 10px;
}

.gd-ref-custom-date[hidden] {
    display: none !important;
}

.gd-ref-slot-wrap {
    margin-top: 10px;
}

.gd-ref-slot-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 35px;
    padding: 8px 10px;
    border: 1px solid #e2d8e2;
    border-radius: 6px;
    background: #fff;
    color: #817985;
    font-size: 10px;
    font-weight: 400;
}

.gd-ref-slot-notice .material-symbols-rounded {
    font-size: 17px;
}

/* PERSONALIZATION */

.gd-ref-personalization {
    margin: 0 0 15px;
    padding: 13px 12px;
    border: 1px solid #e7dce4;
    border-radius: 9px;
    background: #fff;
}

.gd-ref-personalization h2 {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 12px;
    color: #92344f;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .1px;
}

.gd-ref-personalization h2 .material-symbols-rounded {
    font-size: 15px;
}

.gd-ref-field {
    margin: 0 0 10px;
}

.gd-ref-field label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
    color: #36394a;
    font-size: 10px;
    font-weight: 600;
}

.gd-ref-field label span {
    color: #938995;
    font-size: 9px;
    font-weight: 400;
}

.gd-ref-field input,
.gd-ref-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 35px;
    padding: 9px 10px;
    border: 1px solid #e6d8e2;
    border-radius: 6px;
    background: #fff;
    color: #34384a;
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

.gd-ref-field textarea {
    min-height: 60px;
    resize: vertical;
}

.gd-ref-field input::placeholder,
.gd-ref-field textarea::placeholder {
    color: #a69ca6;
}

.gd-ref-field input:focus,
.gd-ref-field textarea:focus,
.gd-ref-location-fields input:focus {
    outline: 2px solid #9700341c;
    border-color: var(--gdr-primary);
}

.gd-ref-personalization-note {
    margin: 0;
    color: #938995;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.4;
}

/* PURCHASE ACTIONS */

.gd-ref-actions {
    margin-top: 1px;
}

.gd-ref-buy-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid var(--gdr-primary);
    border-radius: 8px;
    background: var(--gdr-primary);
    box-shadow: 0 4px 9px #9700341a;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.gd-ref-buy-now .material-symbols-rounded {
    font-size: 17px;
}

.gd-ref-buy-now:hover {
    background: var(--gdr-primary-dark);
}

.gd-ref-secondary-actions {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.gd-ref-quantity {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    min-width: 0;
    min-height: 37px;
    border: 1px solid #e4d5df;
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
}

.gd-ref-quantity button {
    border: 0;
    background: #fff;
    color: #333a4b;
    font-size: 17px;
    cursor: pointer;
}

.gd-ref-quantity input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: #fff;
    color: #2d3548;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    appearance: textfield;
}

.gd-ref-quantity input::-webkit-inner-spin-button,
.gd-ref-quantity input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gd-ref-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 37px;
    padding: 8px 12px;
    border: 1px solid #e4d3df;
    border-radius: 7px;
    background: #fff;
    color: #283044;
    font-family: inherit;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
}

.gd-ref-add-cart .material-symbols-rounded {
    font-size: 16px;
}

.gd-ref-buy-now:disabled,
.gd-ref-add-cart:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.gd-ref-bottom-assurance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.gd-ref-bottom-assurance > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #7c7683;
    font-size: 9px;
    font-weight: 500;
}

.gd-ref-bottom-assurance .material-symbols-rounded {
    color: #257f5b;
    font-size: 14px;
}

/* LOWER INFORMATION */

.gd-ref-information {
    margin-top: 38px;
    border-top: 1px solid var(--gdr-border);
}

.gd-ref-tabs {
    display: flex;
    align-items: center;
    gap: 22px;
    overflow-x: auto;
    border-bottom: 1px solid var(--gdr-border);
}

.gd-ref-tabs button {
    flex-shrink: 0;
    padding: 15px 0 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #8a7e89;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
}

.gd-ref-tabs button.is-active {
    color: var(--gdr-primary);
    border-bottom-color: var(--gdr-primary);
    font-weight: 700;
}

.gd-ref-tab-panel {
    padding: 20px 0 10px;
}

.gd-ref-tab-panel[hidden] {
    display: none !important;
}

.gd-ref-description-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 30px;
    align-items: start;
}

.gd-ref-description-content,
.gd-ref-description-aside {
    min-width: 0;
}

.gd-ref-description-content h2,
.gd-ref-tab-panel > h2 {
    margin: 0 0 11px;
    color: #293046;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.gd-ref-short-description,
.gd-ref-description-text,
.gd-ref-tab-panel > p {
    color: #716977;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.gd-ref-short-description {
    margin: 0 0 12px;
}

.gd-ref-description-aside {
    padding: 16px;
    border: 1px solid #e3dfee;
    border-radius: 9px;
    background: linear-gradient(110deg, #f0f2fc, #f7f1f8);
}

.gd-ref-description-aside h3 {
    margin: 0 0 9px;
    color: #933451;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15px;
}

.gd-ref-description-aside p,
.gd-ref-aside-note {
    color: #77717e;
    font-size: 10px;
    line-height: 1.7;
}

.gd-ref-aside-note {
    margin-top: 11px;
    padding: 10px;
    border-radius: 6px;
    background: #fff;
}

.gd-ref-aside-note strong,
.gd-ref-aside-note span {
    display: block;
}

.gd-ref-aside-note strong {
    color: #31374b;
    font-weight: 700;
}

/* THREE PRODUCT CAROUSELS */

.gd-ref-products-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--gdr-border);
}

.gd-ref-products-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}

.gd-ref-products-heading h2 {
    margin: 0;
    color: #252e42;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.gd-ref-products-heading p {
    margin: 4px 0 0;
    color: #8b808a;
    font-size: 11px;
    font-weight: 400;
}

.gd-ref-carousel-controls {
    display: flex;
    gap: 7px;
    flex-shrink: 0;
}

.gd-ref-carousel-controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    padding: 0;
    border: 1px solid #e9dce5;
    border-radius: 7px;
    background: #fff;
    color: var(--gdr-primary);
    cursor: pointer;
}

.gd-ref-carousel-controls button .material-symbols-rounded {
    font-size: 19px;
}

.gd-ref-carousel-controls button:disabled {
    opacity: .35;
    cursor: default;
}

.gd-pdp-carousel-viewport {
    --gdr-visible: 4;
    --gdr-gap: 13px;

    display: flex;
    gap: var(--gdr-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 4px 2px 15px;
}

.gd-pdp-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.gd-pdp-carousel-item {
    flex: 0 0 calc(
        (100% - (var(--gdr-visible) - 1) * var(--gdr-gap))
        / var(--gdr-visible)
    );
    min-width: 0;
    scroll-snap-align: start;
}

.gd-pdp-carousel-item > * {
    height: 100%;
}

/* QUICK LINKS */

.gd-ref-quicklinks {
    margin-top: 32px;
}

.gd-ref-quicklinks > h2 {
    margin: 0 0 12px;
    color: #252e42;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 600;
}

.gd-ref-quicklinks-box {
    padding: 18px;
    border: 1px solid #eee5ec;
    border-radius: 9px;
    background: #fff;
}

.gd-ref-quicklink-group + .gd-ref-quicklink-group {
    margin-top: 14px;
}

.gd-ref-quicklink-group > strong {
    display: block;
    margin-bottom: 6px;
    color: #303548;
    font-size: 10px;
    font-weight: 700;
}

.gd-ref-quicklink-group > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 13px;
}

.gd-ref-quicklink-group a {
    color: #83425c;
    font-size: 10px;
    text-decoration: none;
}

.gd-ref-quicklink-group a:hover {
    text-decoration: underline;
}

/* TABLET */

@media (max-width: 1024px) {
    .gd-ref-main {
        gap: 22px;
    }

    .gd-pdp-carousel-viewport {
        --gdr-visible: 3;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .gd-ref-page {
        padding-top: 8px;
    }

    .gd-ref-container {
        width: calc(100% - 24px);
    }

    .gd-ref-main {
        display: block;
    }

    .gd-ref-gallery-sticky {
        position: static;
    }

    .gd-ref-details {
        margin-top: 22px;
    }

    .gd-ref-main-photo {
        aspect-ratio: 1.18;
    }

    .gd-ref-information {
        margin-top: 28px;
    }

    .gd-ref-description-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gd-pdp-carousel-viewport {
        --gdr-visible: 2;
    }
}

@media (max-width: 480px) {
    .gd-ref-container {
        width: calc(100% - 20px);
    }

    .gd-ref-breadcrumb {
        font-size: 9px;
    }

    .gd-ref-title {
        font-size: 17px;
    }

    .gd-ref-price {
        font-size: 25px;
    }

    .gd-ref-variant-grid {
        gap: 5px;
    }

    .gd-ref-variant {
        min-height: 69px;
        padding: 8px 6px;
    }

    .gd-ref-variant strong {
        font-size: 9px;
    }

    .gd-ref-variant small {
        font-size: 8px;
    }

    .gd-ref-variant b {
        font-size: 11px;
    }

    .gd-ref-date-options {
        gap: 5px;
    }

    .gd-ref-date-button strong {
        font-size: 10px;
    }

    .gd-ref-date-button small {
        font-size: 8px;
    }

    .gd-ref-secondary-actions {
        grid-template-columns: 95px minmax(0, 1fr);
    }

    .gd-ref-trust-card strong {
        font-size: 9px;
    }

    .gd-ref-trust-card small {
        font-size: 8px;
    }

    .gd-ref-products-heading h2 {
        font-size: 17px;
    }

    .gd-pdp-carousel-viewport {
        --gdr-visible: 1.5;
        --gdr-gap: 10px;
    }

    .gd-ref-tabs {
        gap: 15px;
    }

    .gd-ref-tabs button {
        font-size: 10px;
    }
}

/* ACCESSIBILITY */

.gd-ref-page button:focus-visible,
.gd-ref-page a:focus-visible,
.gd-ref-page input:focus-visible,
.gd-ref-page textarea:focus-visible {
    outline: 2px solid var(--gdr-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .gd-pdp-carousel-viewport {
        scroll-behavior: auto;
    }
}


/* ==========================================
   GIFTDALA - PRODUCT DELIVERY FIELD FIX
   ========================================== */

.gd-ref-location-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.gd-ref-location-fields > div {
    min-width: 0;
}

.gd-ref-location-fields label,
.gd-ref-slot-wrap label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #44475a;
}

.gd-ref-location-fields select,
.gd-ref-slot-wrap select,
#gd-preferred-date {
    display: block;
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 38px 0 14px;
    border: 1px solid #e6dce5;
    border-radius: 9px;
    background-color: #fff;
    color: #242638;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.gd-ref-location-fields select,
.gd-ref-slot-wrap select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 15px;
}

.gd-ref-location-fields select:focus,
.gd-ref-slot-wrap select:focus,
#gd-preferred-date:focus {
    border-color: #b00042;
    box-shadow: 0 0 0 3px rgba(176, 0, 66, .08);
}

.gd-ref-location-fields select:disabled,
.gd-ref-slot-wrap select:disabled {
    background-color: #f7f7fa;
    color: #999;
    cursor: not-allowed;
}

.gd-ref-slot-wrap {
    width: 100%;
    margin-top: 15px;
}

.gd-ref-slot-wrap select {
    width: 100%;
}

@media (max-width: 575px) {
    .gd-ref-location-fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gd-ref-location-fields select,
    .gd-ref-slot-wrap select {
        height: 46px;
        font-size: 14px;
    }
}


.gd-product-feedback {
    margin: 12px 0;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.gd-product-feedback.error {
    background: #fff0f2;
    color: #b00036;
    border: 1px solid #f5c7d2;
}

.gd-product-feedback.success {
    background: #effaf2;
    color: #16743a;
    border: 1px solid #bce6c8;
}

.gd-product-feedback.info {
    background: #eef4ff;
    color: #2455a4;
    border: 1px solid #cbdcf9;
}

.gd-is-loading {
    opacity: .7;
    cursor: wait;
    pointer-events: none;
}


/* ============================================
   GIFTDALA - SEARCHABLE DISTRICT & THANA
   ============================================ */

.gd-ref-location-fields .gd-pdp-search-select {
    position: relative;
    width: 100%;
}

.gd-ref-location-fields .gd-search-select-input {
    display: block;
    width: 100%;
    height: 44px;
    padding: 0 38px 0 13px;
    border: 1px solid #e6dce5;
    border-radius: 9px;
    background: #fff;
    box-sizing: border-box;
    font: inherit;
    font-size: 13px;
    outline: none;
}

.gd-ref-location-fields .gd-search-select-input:focus {
    border-color: #b00042;
    box-shadow: 0 0 0 3px rgba(176, 0, 66, .08);
}

.gd-ref-location-fields .gd-search-select-input:disabled {
    background: #f7f7fa;
    cursor: not-allowed;
}

.gd-ref-location-fields .gd-search-select-arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 38px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #555;
}

.gd-ref-location-fields .gd-search-select-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 230px;
    overflow-y: auto;
    z-index: 110;
    border: 1px solid #e6dce5;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .10);
}

.gd-ref-location-fields .gd-search-select-menu[hidden] {
    display: none !important;
}

.gd-ref-location-fields .gd-pdp-search-option {
    display: block;
    width: 100%;
    padding: 10px 13px;
    text-align: left;
    background: #fff;
    border: 0;
    color: #242638;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.gd-ref-location-fields .gd-pdp-search-option:hover,
.gd-ref-location-fields .gd-pdp-search-option:focus {
    background: #fff0f5;
    color: #a50034;
}

.gd-ref-location-fields .gd-search-select-empty {
    padding: 12px;
    font-size: 12px;
    color: #777;
}
