.site-branding .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-branding .custom-logo {
    width: auto;
    max-width: 180px;
    max-height: 56px;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .site-branding .custom-logo {
        max-width: 140px;
        max-height: 44px;
    }
}

.apt-products-grid {
    display: grid;
    gap: 24px;
    margin: 36px 0;
}

.apt-products-grid.columns-1 {
    grid-template-columns: 1fr;
}

.apt-products-grid.columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apt-products-grid.columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.apt-products-grid.columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.apt-product-box {
    --apt-surface: #ffffff;
    --apt-border: #e8e1db;
    --apt-shadow: none;
    --apt-text: #2d2926;
    --apt-muted: #756b63;
    --apt-accent: #5c4438;
    --apt-accent-dark: #5c4438;
    --apt-accent-soft: #faf5f1;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--apt-border);
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: var(--apt-surface);
    box-shadow: var(--apt-shadow);
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.apt-product-image {
    display: block;
    text-decoration: none;
    color: inherit;
}

.apt-product-image-frame {
    aspect-ratio: 1 / 0.86;
    background: #f5f2ee;
    overflow: hidden;
}

.apt-product-thumbnail,
.apt-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    box-shadow: none;
    background: #f6f0ea;
}

.apt-product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 18px 16px;
    min-width: 0;
}

.apt-product-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    font-family: 'Fraunces', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.apt-product-title a {
    color: var(--apt-text);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 400;
}

.apt-product-price {
    order: 4;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--apt-accent-dark);
    margin: 2px 0 14px;
    letter-spacing: -0.02em;
    font-family: 'Fraunces', serif;
}

.apt-product-price .woocommerce-Price-amount {
    font-size: 2.05rem;
}

.apt-product-price del {
    color: #9b9189;
    font-size: 1rem;
    margin-right: 0.45rem;
}

.apt-product-newsletter {
    order: 5;
    margin: 0 0 12px;
    padding: 10px 12px;
    background: #faf3ee;
    border: 1px solid #eaded4;
    border-radius: 6px;
}

.apt-product-newsletter .flex {
    align-items: flex-start;
    gap: 8px;
}

.apt-product-newsletter-icon {
    width: 14px;
    height: 14px;
    margin-top: 2px;
    opacity: 0.72;
}

.apt-product-newsletter-text,
.apt-product-newsletter-text p,
.apt-product-newsletter-text a,
.apt-product-newsletter-text strong {
    color: #6a564b;
    font-size: 0.76rem;
    line-height: 1.45;
    font-weight: 600;
    text-decoration: none;
}

.apt-product-newsletter-text .openNewsletterPopup,
.ysto-product-newsletter-text .openNewsletterPopup {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    color: #6a564b;
    font-size: 0.82rem;
    line-height: 1.45;
    font-weight: 600;
    display: inline;
    text-transform: none !important;
    text-decoration: none !important;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
    cursor: pointer;
}

.apt-product-newsletter-text .openNewsletterPopup:hover,
.apt-product-newsletter-text .openNewsletterPopup:focus,
.ysto-product-newsletter-text .openNewsletterPopup:hover,
.ysto-product-newsletter-text .openNewsletterPopup:focus {
    text-decoration: none !important;
    border-bottom-color: currentColor;
}

.ysto-product-discount-badge {
    background: #f4e6dc !important;
    color: #6a564b !important;
}

.ysto-product-price-wrapper {
    color: #5c4438;
}

.ysto-product-price-current {
    color: #5c4438 !important;
    font-family: 'Fraunces', serif;
}

.single-product .ysto-product-price-current,
.single-product .ysto-product-price-current .woocommerce-Price-amount,
.single-product .ysto-product-price-current .woocommerce-Price-currencySymbol,
.single-product .ysto-product-price-current bdi {
    color: #5c4438 !important;
}

.ysto-product-price-old {
    color: #9b9189 !important;
}

.single-product .ysto-product-price-old,
.single-product .ysto-product-price-old .woocommerce-Price-amount,
.single-product .ysto-product-price-old .woocommerce-Price-currencySymbol,
.single-product .ysto-product-price-old bdi {
    color: #9b9189 !important;
}

.ysto-product-newsletter {
    background: #faf3ee !important;
    border-color: #eaded4 !important;
}

.ysto-product-newsletter .flex {
    align-items: flex-start;
    gap: 8px;
}

.ysto-product-newsletter-icon {
    width: 14px !important;
    height: 14px !important;
    margin-top: 3px;
    opacity: 0.72;
}

.ysto-product-newsletter-text,
.ysto-product-newsletter-text p,
.ysto-product-newsletter-text a,
.ysto-product-newsletter-text strong {
    color: #6a564b !important;
    font-size: 0.82rem;
    line-height: 1.45;
    font-weight: 600;
    text-decoration: none;
}

.apt-product-sku {
    font-size: 14px;
    color: var(--apt-muted);
    margin-bottom: 8px;
}

.apt-product-description {
    order: 3;
    margin: 0 0 14px;
    font-size: 0.86rem;
    line-height: 1.55;
    color: #000;
    max-width: none;
}

.apt-product-description p {
    margin: 0 0 0.35em;
}

.apt-product-actions {
    order: 6;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    margin-top: auto;
}

.apt-product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 13px 18px;
    background: var(--apt-accent-dark);
    color: #fff;
    border: 1px solid var(--apt-accent-dark);
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
    box-shadow: none;
}

.apt-product-button:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

.apt-product-button-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 999px;
    margin-left: 0.5rem;
    animation: apt-spin 0.8s linear infinite;
}

.apt-product-button-spinner.hidden {
    display: none;
}

.apt-product-button:hover {
    color: #fff;
    background: #4b362d;
    border-color: #4b362d;
    text-decoration: none;
}

.apt-product-button-secondary {
    background: var(--apt-accent-soft);
    color: var(--apt-accent-dark);
    border-color: #e8e1db;
    box-shadow: none;
}

.apt-product-button-secondary:hover {
    background: #f2e4d8;
    color: #855937;
    border-color: rgba(157, 109, 71, 0.28);
    box-shadow: none;
}

@keyframes apt-spin {
    to {
        transform: rotate(360deg);
    }
}

.apt-product-trustmate {
    order: 2;
    margin: 6px 0 12px;
    padding-bottom: 0;
    border-bottom: 0;
}

.apt-product-trustmate-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.apt-product-review-count {
    color: var(--apt-muted);
    font-size: 0.85rem;
    line-height: 1;
    white-space: nowrap;
}

.appinet-trustmate-review-count {
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1;
    white-space: nowrap;
}

ul.products li.product .product-info h2,
ul.products li.product .woocommerce-loop-product__title {
    font-size: 2.2rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .apt-products-grid,
    .apt-products-grid.columns-2,
    .apt-products-grid.columns-3,
    .apt-products-grid.columns-4 {
        grid-template-columns: 1fr;
    }

    .apt-product-box {
        min-height: 0;
    }

    .apt-product-content {
        padding: 16px 14px 14px;
    }

    .apt-product-title a {
        font-size: 1rem;
    }

    .apt-product-price {
        margin-bottom: 12px;
    }

    .apt-product-price .woocommerce-Price-amount {
        font-size: 1.8rem;
    }

    .apt-product-description {
        font-size: 0.82rem;
    }
}

@media (min-width: 768px) {
    .product-template-default h1.product_title.entry-title {
        font-size: 2.2rem;
    }
    .product-template-default .product-category{
        color: #000000;
    }
}
.wc-block-components-express-payment-continue-rule.wc-block-components-express-payment-continue-rule--checkout {
	display: none;
}
button.openNewsletterPopup{
    text-decoration: underline;
    text-underline-offset: 2px;
}