/* CATEGORY BANNER */

.category-banner {
    min-height: 260px;
    background-image: url('../images/banners/marble-landscape.png');
    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-banner h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 65px;
    font-weight: 500;
    letter-spacing: 5px;
    color: #354553;
}

.category-line {
    width: 75px;
    height: 4px;
    background: #171717;
    margin-top: 15px;
}


/* MAIN CONTENT */

.category-content {
    max-width: 1450px;
    margin: 0 auto;
    padding: 55px 45px 90px;
    background: white;
}


/* SUBCATEGORY NAVIGATION */

.subcategory-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;

    padding-bottom: 35px;
    border-bottom: 1px solid #eeeeee;
}

.subcategory-nav a {
    text-decoration: none;
    color: #354553;

    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;

    transition: 0.3s;
}

.subcategory-nav a:hover {
    color: #999999;
}


/* PRODUCT SECTIONS */

.product-section {
    padding-top: 55px;
    scroll-margin-top: 30px;
}

.product-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 500;
    color: #354553;

    margin-bottom: 30px;
}


/* PRODUCT GRID */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 22px;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    .category-banner h1 {
        font-size: 45px;
    }

    .category-content {
        padding: 35px 20px 60px;
    }

    .subcategory-nav {
        gap: 18px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

}

@media (max-width: 550px) {

    .product-grid {
        grid-template-columns: 1fr;
    }

}


/* PRODUCT CARD */

.product-card {
    position: relative;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
    display: block;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    color: #354553;
    margin-top: 15px;
}

.product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #354553;
    margin-top: 7px;
}


/* SOLD PRODUCTS */

.product-card.sold .product-image img {
    filter: brightness(55%);
}

.sold-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    letter-spacing: 4px;

    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding: 8px 20px;

    z-index: 2;
}


/* SOLD PRODUCTS CANNOT BE BOUGHT */

.product-card.sold {
    cursor: default;
}

/* =================================
   PRODUCT DETAIL PAGE
================================= */

.product-detail {
    max-width: 1450px;
    margin: 0 auto;
    padding: 35px 45px 100px;
    background: white;
}


/* BREADCRUMB */

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #999999;
}

.product-breadcrumb a {
    color: #354553;
    text-decoration: none;
}

.product-breadcrumb a:hover {
    color: #999999;
}


/* MAIN LAYOUT */

.product-detail-container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.85fr);
    gap: 65px;
    align-items: start;
    max-width: 1150px;
    margin: 0 auto;
}


/* PRODUCT GALLERY */

.product-gallery {
    width: 100%;
}

.main-product-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* THUMBNAILS */

.product-thumbnails {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.product-thumbnail {
    width: 95px;
    height: 115px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.3s;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: #354553;
}


/* PRODUCT INFORMATION */

.product-information {
    padding-top: 15px;
    color: #354553;
}

.product-information h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 43px;
    font-weight: 500;
    margin-bottom: 15px;
}

.detail-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin-bottom: 25px;
}

.product-divider {
    width: 60px;
    height: 1px;
    background: #cccccc;
    margin-bottom: 25px;
}

.detail-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.9;
    color: #666666;
    margin-bottom: 30px;
}


/* SPECIFICATIONS */

.product-specifications {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 20px 0;
    margin-bottom: 30px;
}

.product-specifications p {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    margin: 12px 0;
    line-height: 1.6;
}

.product-specifications strong {
    font-weight: 500;
}


/* ADD TO CART */

.add-to-cart-button {
    width: 100%;
    padding: 17px 20px;

    background: #354553;
    color: white;

    border: 1px solid #354553;
    cursor: pointer;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;

    transition: 0.3s;
}

.add-to-cart-button:hover {
    background: white;
    color: #354553;
}


/* SOLD PRODUCT */

.sold-detail-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    letter-spacing: 3px;
    color: #888888;
    text-align: center;
    padding: 15px;
    border: 1px solid #dddddd;
}


/* BACK TO SHOP */

.back-to-shop {
    display: inline-block;
    margin-top: 30px;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #354553;
    text-decoration: none;
}

.back-to-shop:hover {
    color: #999999;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    .product-detail {
        padding: 30px 20px 70px;
    }

    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-information {
        padding-top: 0;
    }

    .product-information h1 {
        font-size: 36px;
    }

}

@media (max-width: 550px) {

    .product-breadcrumb {
        font-size: 10px;
        flex-wrap: wrap;
    }

    .product-information h1 {
        font-size: 32px;
    }

    .product-thumbnail {
        width: 75px;
        height: 90px;
    }

}

/* ========================================
   SABANE – NÁKUPNÍ KOŠÍK
======================================== */

.cart-page {
    max-width: 1150px;
    margin: 0 auto;
    padding: 55px 30px 100px;
    color: #354553;
}

.cart-page h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 45px;
}

.cart-container {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 65px;
    align-items: start;
}

/* PRODUKTY V KOŠÍKU */

.cart-item {
    display: grid;
    grid-template-columns: 125px 1fr auto;
    gap: 25px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eeeeee;
}

.cart-item:first-child {
    border-top: 1px solid #eeeeee;
}

.cart-item-image {
    width: 125px;
    height: 145px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 10px;
}

.cart-item-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    margin-bottom: 15px;
}

/* MNOŽSTVÍ */

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-quantity button {
    width: 28px;
    height: 28px;
    background: white;
    border: 1px solid #dddddd;
    color: #354553;
    cursor: pointer;
}

.cart-quantity span {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

/* ODEBRÁNÍ PRODUKTU */

.remove-item {
    background: none;
    border: none;
    color: #999999;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    margin-top: 12px;
    padding: 0;
}

.remove-item:hover {
    color: #354553;
}

/* CENA PRODUKTU */

.cart-item-total {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    white-space: nowrap;
}

/* SHRNUTÍ OBJEDNÁVKY */

.cart-summary {
    padding: 30px;
    background: #f8f8f7;
}

.cart-summary h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    font-weight: 500;
    margin: 0 0 30px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

.cart-total strong {
    font-size: 16px;
    font-weight: 500;
}

/* TLAČÍTKO OBJEDNÁVKY */

.checkout-button {
    width: 100%;
    padding: 17px 10px;
    margin-top: 25px;
    background: #354553;
    color: white;
    border: 1px solid #354553;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    transition: 0.3s;
}

.checkout-button:hover {
    background: white;
    color: #354553;
}

/* POKRAČOVAT V NÁKUPU */

.continue-shopping {
    display: block;
    margin-top: 22px;
    text-align: center;
    color: #354553;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
}

.continue-shopping:hover {
    color: #999999;
}

/* PRÁZDNÝ KOŠÍK */

.empty-cart {
    padding: 55px 20px;
    text-align: center;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.empty-cart p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    margin-bottom: 20px;
}

.empty-cart a {
    color: #354553;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}

/* RESPONZIVNÍ ZOBRAZENÍ */

@media (max-width: 850px) {

    .cart-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

@media (max-width: 550px) {

    .cart-page {
        padding: 35px 18px 65px;
    }

    .cart-page h1 {
        font-size: 35px;
    }

    .cart-item {
        grid-template-columns: 85px 1fr;
        gap: 15px;
    }

    .cart-item-image {
        width: 85px;
        height: 105px;
    }

    .cart-item-total {
        grid-column: 2;
    }

}

/* ========================================
   SABANE – OBJEDNÁVKOVÝ FORMULÁŘ
======================================== */

.checkout-page {
    max-width: 1150px;
    margin: 0 auto;
    padding: 55px 30px 100px;
    color: #354553;
}

.checkout-page h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 43px;
    font-weight: 500;
    margin-bottom: 45px;
}

.checkout-section {
    padding: 30px 0;
    border-bottom: 1px solid #eeeeee;
}

.checkout-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 29px;
    font-weight: 500;
    margin-bottom: 25px;
}

/* FORMULÁŘOVÁ POLE */

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #354553;
}

.form-group input,
.checkout-section textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #354553;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.checkout-section textarea:focus {
    border-color: #354553;
}

.form-group input::placeholder,
.checkout-section textarea::placeholder {
    color: #aaaaaa;
}

/* DORUČOVACÍ ADRESA */

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    cursor: pointer;
    margin-bottom: 25px;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: #354553;
    cursor: pointer;
}

/* TEXTOVÉ POLE */

.checkout-section textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.7;
}

/* RESPONZIVNÍ ZOBRAZENÍ */

@media (max-width: 650px) {

    .checkout-page {
        padding: 35px 18px 65px;
    }

    .checkout-page h1 {
        font-size: 35px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .checkout-section h2 {
        font-size: 26px;
    }

}

/* ========================================
   VÝBĚR DOPRAVY
======================================== */

.checkout-section select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #dddddd;
    background: white;
    color: #354553;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s;
}

.checkout-section select:focus {
    border-color: #354553;
}

.shipping-info {
    margin-top: 25px;
    padding: 18px;
    background: #f8f8f7;
    color: #777777;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 1.8;
}

/* ========================================
   SABANE – PLATEBNÍ METODY
======================================== */

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid #e5e5e5;
    background: white;
    cursor: pointer;
    transition: 0.3s;
}

.payment-option:hover {
    border-color: #354553;
    background: #fafafa;
}

.payment-option:has(input:checked) {
    border-color: #354553;
    background: #f8f8f7;
}

.payment-option input {
    width: 17px;
    height: 17px;
    accent-color: #354553;
    cursor: pointer;
    flex-shrink: 0;
}

.payment-option span {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.payment-option strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #354553;
}

.payment-option small {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #888888;
    line-height: 1.5;
}

/* ========================================
   SABANE – SHRNUTÍ OBJEDNÁVKY
======================================== */

.order-summary-section {
    margin-top: 20px;
}

.checkout-product {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eeeeee;
}

.checkout-product-image {
    width: 90px;
    height: 105px;
    overflow: hidden;
}

.checkout-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-product-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 7px;
}

.checkout-product-info p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #888888;
    line-height: 1.7;
}

.checkout-product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    white-space: nowrap;
}

/* CENOVÉ SHRNUTÍ */

.checkout-price-summary {
    max-width: 450px;
    margin: 30px 0 0 auto;
}

.checkout-price-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    border-bottom: 1px solid #eeeeee;
}

.checkout-price-row strong {
    font-weight: 500;
}

.checkout-grand-total {
    font-size: 17px;
    border-bottom: none;
    padding-top: 22px;
}

/* POTVRZENÍ PODMÍNEK */

.checkout-legal {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.checkout-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 1.7;
    cursor: pointer;
}

.checkout-consent input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #354553;
    flex-shrink: 0;
}

/* POTVRZOVACÍ TLAČÍTKO */

.checkout-submit-area {
    max-width: 450px;
    margin: 35px 0 0 auto;
    text-align: center;
}

.checkout-submit-button {
    width: 100%;
    padding: 18px 15px;
    background: #354553;
    color: white;
    border: 1px solid #354553;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: 0.3s;
}

.checkout-submit-button:hover {
    background: white;
    color: #354553;
}

.checkout-submit-area p {
    margin-top: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    color: #999999;
    line-height: 1.7;
}

/* MOBILNÍ ZOBRAZENÍ */

@media (max-width: 550px) {

    .checkout-product {
        grid-template-columns: 70px 1fr;
        gap: 13px;
    }

    .checkout-product-image {
        width: 70px;
        height: 85px;
    }

    .checkout-product-price {
        grid-column: 2;
    }

    .checkout-price-summary,
    .checkout-submit-area {
        max-width: 100%;
    }

}

/* ========================================
   POTVRZENÍ OBJEDNÁVKY
======================================== */

.confirmation-page {
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background-color: #ffffff;
}

.confirmation-container {
    width: 100%;
    max-width: 650px;
    text-align: center;
}

.confirmation-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #354553;
    border-radius: 50%;

    color: #354553;
    font-size: 34px;
    font-weight: 300;
}

.confirmation-container h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #354553;
    margin-bottom: 20px;
}

.confirmation-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.confirmation-details {
    margin: 45px 0;
    padding: 35px 25px;
    background: #f8f7f5;
    border: 1px solid #e9e6e2;
}

.confirmation-details > p:first-child {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #777;
}

.confirmation-details h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    color: #354553;
    margin: 12px 0 25px;
}

.confirmation-message {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 2;
    color: #777;
}

.confirmation-button {
    display: inline-block;
    padding: 16px 42px;

    background-color: #354553;
    color: #ffffff;

    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-decoration: none;

    transition: background-color 0.3s ease;
}

.confirmation-button:hover {
    background-color: #526575;
}

/* MOBILNÍ VERZE */

@media (max-width: 600px) {

    .confirmation-page {
        padding: 60px 20px;
    }

    .confirmation-container h1 {
        font-size: 29px;
    }

    .confirmation-details {
        padding: 30px 18px;
    }

    .confirmation-details h2 {
        font-size: 27px;
    }

}