/* =========================================================
   KINGSTON GROOM SUITS
   PRODUCT DETAIL PAGE
   BLACK / GOLD LUXURY THEME
   ========================================================= */

.kgs-product-page {
    width: 100%;
    min-height: 70vh;
    padding: 55px 0 100px;

    background: var(--kgs-page-bg, #050505);
    color: var(--kgs-text, #f5f5f5);
}

.kgs-product-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.kgs-product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    margin-bottom: 42px;

    color: var(--kgs-text-muted, #888);

    font-size: 12px;
}

.kgs-product-breadcrumb a {
    color: var(--kgs-text-muted, #aaa);
    text-decoration: none;
}

.kgs-product-breadcrumb a:hover {
    color: var(--kgs-gold, #d8af32);
}


/* =========================================================
   MAIN PRODUCT
   ========================================================= */

.kgs-product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 65px;
    align-items: start;
}


/* =========================================================
   GALLERY
   ========================================================= */

.kgs-product-gallery {
    min-width: 0;
}

.kgs-product-main-image {
    position: relative;

    width: 100%;
    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: #0d0d0d;

    border: 1px solid var(--kgs-border, rgba(255,255,255,.12));
}

.kgs-product-main-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.kgs-product-image-empty {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #777;

    font-size: 14px;
}


/* =========================================================
   FEATURED BADGE
   ========================================================= */

.kgs-product-featured {
    position: absolute;

    top: 18px;
    left: 18px;

    display: inline-flex;

    align-items: center;

    padding: 9px 13px;

    color: #050505;

    background: var(--kgs-gold, #d8af32);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =========================================================
   INFORMATION
   ========================================================= */

.kgs-product-information {
    padding-top: 8px;
}

.kgs-product-eyebrow {
    display: block;

    margin-bottom: 14px;

    color: var(--kgs-gold, #d8af32);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.kgs-product-information h1 {
    margin: 0 0 17px;

    color: var(--kgs-text, #f5f5f5);

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -1px;
}

.kgs-product-brand {
    margin-bottom: 20px;

    color: var(--kgs-gold, #d8af32);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.kgs-product-short-description {
    max-width: 600px;

    margin: 0 0 25px;

    color: var(--kgs-text-muted, #aaa);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   PRICE
   ========================================================= */

.kgs-product-detail-price {
    display: flex;

    flex-wrap: wrap;
    align-items: baseline;
    gap: 13px;

    padding: 20px 0;

    border-top: 1px solid var(--kgs-border, rgba(255,255,255,.12));
    border-bottom: 1px solid var(--kgs-border, rgba(255,255,255,.12));
}

.kgs-product-detail-price strong {
    color: var(--kgs-gold, #d8af32);

    font-size: 27px;
    font-weight: 700;
}

.kgs-detail-old-price {
    color: var(--kgs-text-muted, #777);

    font-size: 15px;

    text-decoration: line-through;
}


/* =========================================================
   STOCK
   ========================================================= */

.kgs-product-stock {
    display: flex;

    align-items: center;
    gap: 12px;

    margin: 20px 0;
}

.kgs-stock-available {
    color: #65d48b;

    font-size: 13px;
    font-weight: 700;
}

.kgs-stock-out {
    color: #e26b6b;

    font-size: 13px;
    font-weight: 700;
}

.kgs-product-stock small {
    color: var(--kgs-text-muted, #888);

    font-size: 12px;
}


/* =========================================================
   ATTRIBUTES
   ========================================================= */

.kgs-product-attributes {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    margin: 25px 0;

    border-top: 1px solid var(--kgs-border, rgba(255,255,255,.12));
    border-left: 1px solid var(--kgs-border, rgba(255,255,255,.12));
}

.kgs-product-attribute {
    display: flex;

    flex-direction: column;

    gap: 7px;

    min-height: 75px;

    padding: 15px;

    border-right: 1px solid var(--kgs-border, rgba(255,255,255,.12));
    border-bottom: 1px solid var(--kgs-border, rgba(255,255,255,.12));
}

.kgs-product-attribute span {
    color: var(--kgs-text-muted, #777);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.kgs-product-attribute strong {
    color: var(--kgs-text, #eee);

    font-size: 13px;
    font-weight: 500;
}


/* =========================================================
   CART FORM
   ========================================================= */

.kgs-product-cart-form {
    display: flex;

    align-items: end;
    gap: 12px;

    margin-top: 25px;
}

.kgs-quantity {
    width: 95px;
}

.kgs-quantity label {
    display: block;

    margin-bottom: 8px;

    color: var(--kgs-text-muted, #888);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.kgs-quantity input {
    width: 100%;
    height: 48px;

    padding: 0 12px;

    color: var(--kgs-text, #fff);

    background: var(--kgs-card-bg, #111);

    border: 1px solid var(--kgs-border, rgba(255,255,255,.18));

    border-radius: 2px;

    font: inherit;
}

.kgs-quantity input:focus {
    outline: none;

    border-color: var(--kgs-gold, #d8af32);
}

.kgs-add-cart {
    flex: 1;

    min-height: 48px;

    padding: 13px 20px;

    color: #050505;

    background: var(--kgs-gold, #d8af32);

    border: 1px solid var(--kgs-gold, #d8af32);

    border-radius: 2px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}

.kgs-add-cart:hover {
    color: var(--kgs-gold, #d8af32);

    background: transparent;
}

.kgs-add-cart.kgs-disabled {
    opacity: .5;
    cursor: not-allowed;
}


/* =========================================================
   APPOINTMENT
   ========================================================= */

.kgs-product-appointment {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 48px;

    margin-top: 12px;

    color: var(--kgs-gold, #d8af32);

    border: 1px solid var(--kgs-gold, #d8af32);

    border-radius: 2px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        background .2s ease,
        color .2s ease;
}

.kgs-product-appointment:hover {
    color: #050505;
    background: var(--kgs-gold, #d8af32);
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.kgs-product-description {
    margin-top: 95px;

    padding-top: 55px;

    border-top: 1px solid var(--kgs-border, rgba(255,255,255,.12));
}

.kgs-product-description h2 {
    margin: 0 0 25px;

    color: var(--kgs-text, #f5f5f5);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 38px;
    font-weight: 600;
}

.kgs-product-description-content {
    max-width: 850px;

    color: var(--kgs-text-muted, #aaa);

    font-size: 15px;
    line-height: 1.9;
}


/* =========================================================
   BACK
   ========================================================= */

.kgs-product-back {
    margin-top: 55px;
}

.kgs-product-back a {
    color: var(--kgs-gold, #d8af32);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;

    text-decoration: none;
    text-transform: uppercase;
}

.kgs-product-back a:hover {
    text-decoration: underline;
}


/* =========================================================
   LIGHT THEME
   ========================================================= */

html[data-kgs-theme="light"] .kgs-product-page {
    background: var(--kgs-page-bg);
    color: var(--kgs-text);
}

html[data-kgs-theme="light"] .kgs-product-main-image {
    background: #f2f2f2;
}

html[data-kgs-theme="light"] .kgs-quantity input {
    background: var(--kgs-card-bg);
    color: var(--kgs-text);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .kgs-product-page {
        padding-top: 40px;
    }

    .kgs-product-detail {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .kgs-product-main-image {
        max-width: 650px;
        margin: 0 auto;
    }

    .kgs-product-information {
        max-width: 750px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .kgs-product-container {
        width: calc(100% - 28px);
    }

    .kgs-product-breadcrumb {
        margin-bottom: 25px;
    }

    .kgs-product-information h1 {
        font-size: 39px;
    }

    .kgs-product-attributes {
        grid-template-columns: 1fr;
    }

    .kgs-product-cart-form {
        align-items: stretch;
        flex-direction: column;
    }

    .kgs-quantity {
        width: 100%;
    }

    .kgs-product-description {
        margin-top: 65px;
        padding-top: 40px;
    }

    .kgs-product-description h2 {
        font-size: 32px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .kgs-product-information h1 {
        font-size: 34px;
    }

    .kgs-product-detail-price strong {
        font-size: 23px;
    }

}