/**
 * Saklıdağ WooCommerce Stylesheet
 *
 * @package Saklidag
 */

/* ==========================================================================
   Product Grid & Card System
   ========================================================================== */
.saklidag-products-grid,
ul.products {
    display: grid !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.saklidag-products-grid.products-cols-5,
ul.products.columns-5 {
    grid-template-columns: repeat(5, 1fr) !important;
}

.saklidag-products-grid.products-cols-4,
ul.products.columns-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

ul.products::before, ul.products::after {
    display: none !important;
}

li.product,
div.product.type-product {
    margin: 0 !important;
    width: auto !important;
    float: none !important;
}

/* Product Card Structure */
.saklidag-product-card-inner {
    background: #ffffff;
    border: 1px solid #edebe4;
    border-radius: var(--st-card-radius, 14px);
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.saklidag-product-card-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    border-color: #dfdbd2;
}

/* Card Thumbnail */
.saklidag-card-thumb-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #faf8f5;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.saklidag-card-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.saklidag-product-image,
.saklidag-card-thumb-wrap img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.saklidag-card-thumb-wrap:hover .saklidag-product-image,
.saklidag-card-thumb-wrap:hover img {
    transform: scale(1.04);
}

/* Sample illustration artwork fallback */
.sample-product-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f7f3ee 0%, #ebe4d8 100%);
}

.sample-emoji {
    font-size: 54px;
}

/* Badges */
.saklidag-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.badge-bestseller {
    background-color: #2b2b2b;
    color: #ffffff;
}

.badge-natural {
    background-color: var(--st-accent-green, #3d8a43);
    color: #ffffff;
}

.badge-sale {
    background-color: var(--st-brand, #9e1b22);
    color: #ffffff;
}

/* Top-Right Wishlist Button */
.saklidag-wishlist-toggle-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
    padding: 0;
}

.saklidag-wishlist-toggle-btn:hover {
    color: var(--st-brand, #9e1b22);
    transform: scale(1.1);
}

.saklidag-wishlist-toggle-btn.in-wishlist {
    color: var(--st-brand, #9e1b22);
    background: #ffffff;
}

.saklidag-wishlist-toggle-btn.in-wishlist svg {
    fill: var(--st-brand, #9e1b22);
}

/* Card Content */
.saklidag-card-info {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.saklidag-card-category {
    font-size: 11px;
    color: #9ca3af;
    display: block;
    margin-bottom: 2px;
}

.saklidag-card-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px 0;
    color: var(--st-primary, #1a1a1a);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 35px;
}

.saklidag-card-title a {
    color: inherit;
}

.saklidag-card-title a:hover {
    color: var(--st-brand, #9e1b22);
}

/* Star Rating */
.saklidag-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 1.5px;
}

.rating-stars svg {
    display: block;
}

.rating-text {
    font-size: 11.5px;
    font-weight: 700;
    color: #374151;
}

.rating-count {
    font-weight: normal;
    color: #9ca3af;
    font-size: 11px;
}

/* Card Footer (Price & Add to cart button) */
.saklidag-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f8f6f2;
}

.saklidag-card-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--st-primary, #1a1a1a);
}

.saklidag-card-price del {
    font-size: 11px;
    font-weight: normal;
    color: #9ca3af;
    margin-right: 4px;
}

.saklidag-card-price ins {
    text-decoration: none;
    color: var(--st-brand, #9e1b22);
}

.saklidag-card-btn-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.saklidag-card-add-btn {
    background-color: var(--st-brand, #9e1b22);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s, transform 0.1s;
    white-space: nowrap;
    text-decoration: none;
}

.saklidag-card-add-btn:hover {
    background-color: var(--st-brand-hover, #7f1319);
    color: #ffffff;
}

.saklidag-card-btn-select {
    background-color: #2b2b2b;
}

/* Suppress WooCommerce default inserted "Sepeti görüntüle" link that breaks product card layout */
.added_to_cart,
a.added_to_cart,
a.added_to_cart.wc-forward,
.saklidag-card-btn-wrap .added_to_cart {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

/* Add to cart button loading and success states */
.saklidag-card-add-btn.loading,
.saklidag-card-add-btn.is-loading,
.single_add_to_cart_button.is-loading {
    opacity: 0.8 !important;
    pointer-events: none !important;
    position: relative !important;
    padding-right: 28px !important;
}

.saklidag-card-add-btn.loading::after,
.saklidag-card-add-btn.is-loading::after,
.single_add_to_cart_button.is-loading::after {
    content: "";
    position: absolute;
    right: 8px;
    top: calc(50% - 6px);
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: saklidagBtnSpin 0.6s linear infinite;
}

.saklidag-card-add-btn.is-added,
.single_add_to_cart_button.is-added {
    background-color: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

@keyframes saklidagBtnSpin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Single Product Page Layout
   ========================================================================== */
.woocommerce div.product,
.woocommerce-page div.product,
.single-product div.product {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    align-items: start !important;
    background: #ffffff;
    border-radius: var(--st-card-radius, 14px);
    padding: 36px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0eee9;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .woocommerce div.product,
    .woocommerce-page div.product,
    .single-product div.product {
        grid-template-columns: 1fr !important;
        padding: 20px;
        gap: 28px !important;
    }
}

/* Force 100% width on left & right columns to override WooCommerce core's default 48% float rule */
.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images,
.single-product div.product .woocommerce-product-gallery {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    position: relative;
    box-sizing: border-box !important;
}

.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary,
.single-product div.product .summary {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* FlexSlider Viewport & Single Image Frame */
.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #edebe4;
    overflow: hidden !important;
    position: relative;
    width: 100% !important;
    box-sizing: border-box;
}

/* Do NOT apply display:flex to wrapper - FlexSlider requires standard block / float calculation */
.woocommerce-product-gallery__wrapper {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Gallery Slides:
   - When no slider is active (single product image), ensure width is 100%.
   - When FlexSlider IS active, do NOT use width !important so FlexSlider can set dynamic slide widths (e.g. style="width: 536px;").
*/
.woocommerce-product-gallery:not(.woocommerce-product-gallery--with-images) .woocommerce-product-gallery__image,
.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
    width: 100%;
}

.woocommerce-product-gallery__image {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    text-align: center;
}

.woocommerce-product-gallery__image a {
    display: block;
    width: 100%;
    text-align: center;
    background: #ffffff;
    line-height: 0;
}

.woocommerce-product-gallery__image img {
    max-height: 520px;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* Lightbox / Zoom Trigger Icon */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    text-decoration: none;
    color: #374151;
}

.woocommerce-product-gallery__trigger:hover {
    background: var(--st-brand, #9e1b22);
    border-color: var(--st-brand, #9e1b22);
    color: #ffffff;
    transform: scale(1.08);
}

/* Modern Gallery Thumbnails Strip */
.woocommerce-product-gallery .flex-control-thumbs {
    list-style: none !important;
    margin: 14px 0 0 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: 72px !important;
    height: 72px !important;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid #edebe4;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    flex-shrink: 0;
}

.woocommerce-product-gallery .flex-control-thumbs li:hover {
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs li:hover img {
    opacity: 1;
}

.woocommerce-product-gallery .flex-control-thumbs li:has(img.flex-active),
.woocommerce-product-gallery .flex-control-thumbs li.active {
    border-color: var(--st-brand, #9e1b22) !important;
    box-shadow: 0 0 0 2px rgba(158, 27, 34, 0.15);
}

.single-product div.product .summary {
    width: 100%;
    max-width: 100%;
}

.woocommerce-tabs,
.related.products,
.upsells.products {
    grid-column: 1 / -1;
    width: 100%;
}

.summary .product_title {
    font-size: 28px;
    font-weight: 800;
    color: var(--st-primary, #1a1a1a);
    margin: 0 0 12px 0;
    line-height: 1.25;
}

.summary .woocommerce-product-rating {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary .price {
    font-size: 24px;
    font-weight: 800;
    color: var(--st-brand, #9e1b22);
    margin-bottom: 20px;
}

.summary .woocommerce-product-details__short-description {
    font-size: 14.5px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 24px;
}

.summary form.cart {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0eee9;
}

.summary form.cart .quantity input.qty {
    width: 60px;
    height: 48px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.summary form.cart button.single_add_to_cart_button {
    background-color: var(--st-brand, #9e1b22);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    height: 48px;
}

.summary form.cart button.single_add_to_cart_button:hover {
    background-color: var(--st-brand-hover, #7f1319);
}

/* WhatsApp Inquiry Button - Modern, tasteful & compact secondary action */
.saklidag-whatsapp-inquiry-box {
    margin-top: 10px;
    margin-bottom: 22px;
}

.saklidag-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    background: #f0fdf4;
    border: 1.5px solid #22c55e;
    color: #15803d;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(34, 197, 94, 0.1);
    max-width: fit-content;
}

.saklidag-whatsapp-btn:hover {
    background-color: #22c55e;
    border-color: #22c55e;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.25);
    transform: translateY(-1px);
}

.saklidag-whatsapp-btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ==========================================================================
   Single Product Meta Information Card (SKU, Categories, Tags)
   ========================================================================== */
.single-product div.product .product_meta,
.saklidag-product-meta-card {
    background: #fbfaf8;
    border: 1px solid #edebe4;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.saklidag-product-meta-card .meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e9e7df;
}

.saklidag-product-meta-card .meta-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.saklidag-product-meta-card .meta-row-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.saklidag-product-meta-card .meta-row-label svg {
    color: #9ca3af;
}

.saklidag-product-meta-card .sku-badge {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    padding: 3px 10px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.saklidag-product-meta-card .meta-pills-list {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.saklidag-product-meta-card .meta-pills-list a {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e0ded7;
    color: #374151;
    font-size: 12.5px;
    font-weight: 600;
    padding: 3px 11px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.saklidag-product-meta-card .meta-pills-list a:hover {
    background: var(--st-brand, #9e1b22);
    border-color: var(--st-brand, #9e1b22);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(158, 27, 34, 0.25);
}

.saklidag-product-meta-card .meta-badges-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.saklidag-product-meta-card .meta-pill-tag {
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}

.saklidag-product-meta-card .meta-pill-tag.tag-green {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.saklidag-product-meta-card .meta-pill-tag.tag-blue {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Single Product Trust Badges */
.saklidag-product-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    background: #fbf9f6;
    border: 1px solid #edebe4;
    border-radius: 10px;
    padding: 16px 14px;
    margin-top: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-icon {
    display: flex;
    align-items: center;
}

.trust-text strong {
    display: block;
    font-size: 12px;
    color: #1f2937;
}

.trust-text small {
    display: block;
    font-size: 10.5px;
    color: #6b7280;
}

/* ==========================================================================
   Product Tabs - Modern Card & Tabs Design
   ========================================================================== */
.woocommerce-tabs {
    width: 100%;
    margin-top: 36px;
    padding: 0 !important;
    border: 1px solid #edebe4 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.woocommerce-tabs ul.tabs {
    list-style: none !important;
    margin: 0 !important;
    padding: 12px 20px 0 20px !important;
    display: flex !important;
    align-items: center;
    gap: 8px !important;
    background: #faf8f5 !important;
    border-bottom: 1px solid #edebe4 !important;
}

.woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-tabs ul.tabs li a {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    text-decoration: none !important;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border: 1px solid transparent !important;
    border-bottom: none !important;
    margin-bottom: -1px !important;
    transition: all 0.15s ease;
    background: transparent;
}

.woocommerce-tabs ul.tabs li:hover a {
    color: var(--st-primary, #1a1a1a) !important;
}

.woocommerce-tabs ul.tabs li.active a {
    background: #ffffff !important;
    color: var(--st-brand, #9e1b22) !important;
    border: 1px solid #edebe4 !important;
    border-bottom: 1px solid #ffffff !important;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.02);
}

.woocommerce-Tabs-panel {
    padding: 28px 30px !important;
    font-size: 14.5px !important;
    color: #374151 !important;
    line-height: 1.75 !important;
}

.woocommerce-Tabs-panel > h2:first-child {
    display: none !important;
}

/* Reviews section styling */
#reviews #comments ol.commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

#reviews #comments ol.commentlist li.review {
    padding: 16px 20px;
    background: #faf8f5;
    border-radius: 10px;
    border: 1px solid #f0eee9;
    margin-bottom: 14px;
}

#reviews #comments ol.commentlist li.review .comment-text {
    border: none !important;
    padding: 0 !important;
}

#reviews #review_form_wrapper {
    background: #faf8f5;
    border-radius: 10px;
    border: 1px solid #f0eee9;
    padding: 24px;
    margin-top: 24px;
}

#reviews #review_form_wrapper .comment-reply-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    display: block;
}

#reviews input[type="text"],
#reviews input[type="email"],
#reviews textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    background: #ffffff;
    box-sizing: border-box;
    margin-top: 6px;
}

#reviews input[type="submit"] {
    background: var(--st-brand, #9e1b22);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.15s;
    margin-top: 10px;
}

#reviews input[type="submit"]:hover {
    background: var(--st-brand-hover, #7f1319);
}

/* ==========================================================================
   AJAX Add to Cart Modal Popup
   ========================================================================== */
.saklidag-cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

body.admin-bar .saklidag-cart-modal {
    top: 32px;
    height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .saklidag-cart-modal {
        top: 46px;
        height: calc(100% - 46px);
    }
}

.saklidag-cart-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.saklidag-cart-modal-dialog {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 24px;
    transform: scale(0.92) translateY(10px);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    overflow: hidden;
}

.saklidag-cart-modal.is-visible .saklidag-cart-modal-backdrop {
    opacity: 1;
}

.saklidag-cart-modal.is-visible .saklidag-cart-modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.saklidag-cart-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
    padding: 0;
}

.saklidag-cart-modal-close:hover {
    background: #e5e7eb;
    color: #111827;
}

.saklidag-cart-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-right: 36px;
}

.saklidag-cart-modal-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.saklidag-cart-modal-title {
    font-size: 16px;
    font-weight: 800;
    color: #065f46;
    margin: 0;
    line-height: 1.3;
}

.saklidag-cart-modal-product {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: #fafaf9;
    border: 1px solid #f0eee9;
    border-radius: 12px;
    margin-bottom: 14px;
}

.saklidag-cart-modal-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.saklidag-cart-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.saklidag-cart-modal-info {
    flex: 1;
    min-width: 0;
}

.saklidag-cart-modal-prod-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.saklidag-cart-modal-prod-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--st-brand, #9e1b22);
}

.saklidag-cart-modal-prod-price del {
    font-size: 11px;
    color: #9ca3af;
    margin-right: 4px;
    font-weight: normal;
}

.saklidag-cart-modal-prod-price ins {
    text-decoration: none;
}

.saklidag-cart-modal-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 20px;
    padding: 0 4px;
}

.saklidag-cart-modal-meta-icon {
    display: inline-flex;
    color: #9ca3af;
}

.saklidag-cart-modal-footer {
    display: flex;
    gap: 10px;
}

.saklidag-btn-modal-continue,
.saklidag-btn-modal-checkout {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    text-align: center;
    box-sizing: border-box;
}

.saklidag-btn-modal-continue {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
}

.saklidag-btn-modal-continue:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
}

.saklidag-btn-modal-checkout {
    background: var(--st-brand, #9e1b22);
    border: 1px solid var(--st-brand, #9e1b22);
    color: #ffffff;
}

.saklidag-btn-modal-checkout:hover {
    background: var(--st-brand-hover, #7f1319);
    border-color: var(--st-brand-hover, #7f1319);
    color: #ffffff;
}

.saklidag-cart-modal-timer-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--st-brand, #9e1b22);
    width: 100%;
    transition: width linear;
}

@media (max-width: 480px) {
    .saklidag-cart-modal-dialog {
        padding: 18px 16px;
        max-width: 94%;
    }
    .saklidag-cart-modal-footer {
        flex-direction: column-reverse;
        gap: 8px;
    }
    .saklidag-btn-modal-continue,
    .saklidag-btn-modal-checkout {
        width: 100%;
        padding: 12px;
    }
}

/* Sticky Mobile Buy Bar */
.saklidag-sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    padding: 10px 16px;
    z-index: 999;
    display: none;
}

.sticky-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--st-container-width, 1340px);
    margin: 0 auto;
}

.sticky-bar-product {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-bar-thumb img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
}

.sticky-bar-info {
    display: flex;
    flex-direction: column;
}

.sticky-bar-title {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
}

.sticky-bar-price {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--st-brand, #9e1b22);
}

/* ==========================================================================
   Shop Breadcrumbs
   ========================================================================== */
.saklidag-wc-breadcrumbs-bar {
    padding: 16px 0;
    font-size: 12.5px;
    color: #6b7280;
}

.saklidag-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.crumb-sep {
    color: #d1d5db;
}

.saklidag-breadcrumbs a {
    color: #4b5563;
}

.saklidag-breadcrumbs a:hover {
    color: var(--st-brand, #9e1b22);
}

/* ==========================================================================
   Wishlist Item in Drawer
   ========================================================================== */
.saklidag-wishlist-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    align-items: center;
}

.wishlist-item-img img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    background: #f8fafc;
}

.wishlist-item-details {
    flex: 1;
}

.wishlist-item-title {
    margin: 0 0 4px 0;
    font-size: 13px;
    font-weight: 700;
}

.wishlist-item-price {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--st-brand, #9e1b22);
    margin-bottom: 6px;
}

.wishlist-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.saklidag-wishlist-remove-btn {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.saklidag-wishlist-remove-btn:hover {
    color: #ef4444;
}


/* ==========================================================================
   Mini Cart Styles (Side Slider Drawer)
   ========================================================================== */
.saklidag-mini-cart-drawer {
    width: 380px !important;
    max-width: 90vw !important;
    z-index: 99999 !important;
}

.saklidag-mini-cart-drawer .drawer-header {
    background: #fdfcf9;
    padding: 16px 20px;
    border-bottom: 1px solid #edebe4;
}

.saklidag-mini-cart-drawer .drawer-header h3 {
    font-size: 16px;
    font-weight: 800;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.saklidag-mini-cart-drawer .drawer-header h3 svg {
    color: var(--st-brand, #9e1b22);
}

.drawer-cart-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--st-brand, #9e1b22);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    line-height: 1;
}

.woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-mini-cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f0e8;
    position: relative;
}

.woocommerce-mini-cart-item:last-child {
    border-bottom: none;
}

.mini-cart-item-thumb {
    flex-shrink: 0;
}

.mini-cart-item-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    background: #faf8f5;
    border: 1px solid #edebe4;
    display: block;
}

.mini-cart-item-details {
    flex: 1;
    min-width: 0;
}

.mini-cart-item-name {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-cart-item-name a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.15s ease;
}

.mini-cart-item-name a:hover {
    color: var(--st-brand, #9e1b22);
}

.mini-cart-item-qty-price {
    font-size: 13px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mini-cart-item-qty-price .quantity {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mini-cart-item-remove {
    flex-shrink: 0;
}

.mini-cart-item-remove a.remove {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af !important;
    font-size: 16px !important;
    line-height: 1 !important;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
}

.mini-cart-item-remove a.remove:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    transform: scale(1.08);
}

.woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 14px;
    border-top: 2px solid #edebe4;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin-top: 10px;
}

.woocommerce-mini-cart__total strong {
    font-size: 18px;
    font-weight: 800;
    color: var(--st-brand, #9e1b22);
}

.woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.woocommerce-mini-cart__buttons a.button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    padding: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-mini-cart__buttons a.button.checkout {
    background: var(--st-brand, #9e1b22) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(158, 27, 34, 0.25);
    order: 1;
}

.woocommerce-mini-cart__buttons a.button.checkout:hover {
    background: var(--st-brand-hover, #7f1319) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(158, 27, 34, 0.35);
}

.woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout) {
    background: #ffffff !important;
    color: #4b5563 !important;
    border: 1.5px solid #dedbd2 !important;
    order: 2;
}

.woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout):hover {
    border-color: var(--st-brand, #9e1b22) !important;
    color: var(--st-brand, #9e1b22) !important;
    background: #fffcfc !important;
}

.woocommerce-mini-cart__empty-message {
    text-align: center;
    padding: 40px 10px;
    color: #6b7280;
}

.woocommerce-mini-cart__empty-message p {
    font-size: 14px;
    color: #6b7280;
    margin: 10px 0 16px;
}

/* ==========================================================================
   Order Received / Thank You Page Styling
   ========================================================================== */
.saklidag-thankyou-page-wrap {
    padding: 40px 0 60px;
    background: #fbfaf8;
    min-height: 70vh;
}

.thankyou-card {
    background: #ffffff;
    border: 1px solid #edebe4;
    border-radius: 16px;
    padding: 44px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    text-align: center;
    max-width: 820px;
    margin: 0 auto 32px;
}

.thankyou-status-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.thankyou-status-icon.success {
    background: #ecfdf5;
    border: 2px solid #a7f3d0;
}

.thankyou-status-icon.failed {
    background: #fef2f2;
    border: 2px solid #fecaca;
}

.thankyou-badge {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 12px;
}

.thankyou-title {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.thankyou-desc {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 28px;
}

/* Meta Pills Grid */
.thankyou-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.meta-pill-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 4px 8px;
}

.meta-pill-item .meta-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.meta-pill-item .meta-val {
    font-size: 14.5px;
    font-weight: 700;
    color: #1f2937;
}

.meta-pill-item .meta-val.highlight {
    color: var(--st-brand, #9e1b22);
}

.meta-pill-item .meta-val.total {
    color: #059669;
    font-size: 16px;
}

/* WhatsApp Support Banner */
.thankyou-wa-support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 14px 20px;
    text-align: left;
    margin-top: 10px;
}

.wa-support-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-support-info .wa-icon {
    width: 36px;
    height: 36px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-support-info strong {
    display: block;
    font-size: 13.5px;
    color: #065f46;
}

.wa-support-info small {
    font-size: 12px;
    color: #047857;
}

.thankyou-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25d366;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.thankyou-wa-btn:hover {
    background: #1eb956;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

/* Order Details Card */
.thankyou-order-details-card {
    background: #ffffff;
    border: 1px solid #edebe4;
    border-radius: 16px;
    padding: 36px 44px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    max-width: 820px;
    margin: 0 auto 32px;
}

.thankyou-order-details-card .woocommerce-order-details__title,
.thankyou-order-details-card .woocommerce-column__title {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 16px 0;
}

.thankyou-order-details-card table.shop_table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.thankyou-order-details-card table.shop_table th,
.thankyou-order-details-card table.shop_table td {
    padding: 12px 18px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.thankyou-order-details-card table.shop_table thead th {
    background: #f9fafb;
    font-weight: 700;
    color: #374151;
    font-size: 13px;
}

.thankyou-order-details-card table.shop_table tfoot th {
    font-weight: 700;
    color: #4b5563;
    border-top: 1px solid #e5e7eb;
}

.thankyou-order-details-card table.shop_table tfoot td {
    border-top: 1px solid #e5e7eb;
    font-weight: 700;
    color: #111827;
}

.thankyou-bottom-cta {
    text-align: center;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .thankyou-card,
    .thankyou-order-details-card {
        padding: 24px 18px;
        border-radius: 12px;
    }
    .thankyou-title {
        font-size: 22px;
    }
    .thankyou-meta-grid {
        grid-template-columns: 1fr 1fr;
    }
    .thankyou-wa-support {
        flex-direction: column;
        align-items: stretch;
    }
    .thankyou-wa-btn {
        justify-content: center;
    }
}

/* ==========================================================================
   WooCommerce System Pages & Checkout Flow (Cart, Checkout, Account)
   ========================================================================== */
.saklidag-single-page-wrapper.is-wc-system-page {
    padding-top: 36px;
    padding-bottom: 80px;
    background: #fbfaf8;
    min-height: 75vh;
}

/* Flow Header & Visual Progress Step Bar */
.saklidag-wc-flow-header {
    text-align: center;
    margin-bottom: 36px;
}

.wc-flow-page-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--st-primary, #1a1a1a);
    margin: 0 0 18px 0;
    letter-spacing: -0.5px;
}

.saklidag-wc-steps-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #edebe4;
    border-radius: 40px;
    padding: 10px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
}

.wc-step-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.wc-step-item.completed {
    color: #059669;
}

.wc-step-item.active {
    color: var(--st-brand, #9e1b22);
}

.wc-step-item .step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: #f3f4f6;
    color: #6b7280;
}

.wc-step-item.completed .step-num {
    background: #d1fae5;
    color: #059669;
}

.wc-step-item.active .step-num {
    background: var(--st-brand, #9e1b22);
    color: #ffffff;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin: 0 14px;
    min-width: 20px;
}

.step-connector.active {
    background: var(--st-brand, #9e1b22);
}

/* ==========================================================================
   Redesigned 2-Column Cart Page Layout
   ========================================================================== */
.woocommerce-cart .woocommerce {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.woocommerce-cart .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
    margin-bottom: 8px;
}

/* Cart Items Form Card */
.woocommerce-cart .woocommerce-cart-form {
    background: #ffffff;
    border: 1px solid #edebe4;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
}

/* Cart Table Styling */
table.shop_table.cart {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none !important;
    margin-bottom: 20px;
}

table.shop_table.cart thead th {
    background: #f9f8f5;
    color: #4b5563;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 14px;
    border: none;
    border-top: 1px solid #edebe4;
    border-bottom: 1px solid #edebe4;
}

table.shop_table.cart thead th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-left: 1px solid #edebe4;
}

table.shop_table.cart thead th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-right: 1px solid #edebe4;
}

table.shop_table.cart tbody td {
    padding: 18px 14px;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

/* Remove button */
table.shop_table.cart .product-remove a.remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #ef4444 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    transition: all 0.2s ease;
}

table.shop_table.cart .product-remove a.remove:hover {
    background: #fee2e2;
    color: #dc2626 !important;
    transform: scale(1.1);
}

/* Product thumbnail */
table.shop_table.cart .product-thumbnail {
    width: 80px;
}

table.shop_table.cart .product-thumbnail img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #edebe4;
    display: block;
}

/* Product Name */
table.shop_table.cart .product-name a {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
    line-height: 1.4;
    display: inline-block;
    transition: color 0.15s ease;
}

table.shop_table.cart .product-name a:hover {
    color: var(--st-brand, #9e1b22);
}

/* Product Price & Subtotal */
table.shop_table.cart .product-price {
    font-size: 14.5px;
    font-weight: 600;
    color: #4b5563;
}

table.shop_table.cart .product-subtotal {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--st-brand, #9e1b22);
}

/* Quantity input */
table.shop_table.cart .product-quantity .quantity input.qty {
    width: 65px;
    height: 38px;
    padding: 0 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2937;
}

table.shop_table.cart .product-quantity .quantity input.qty:focus {
    border-color: var(--st-brand, #9e1b22);
    outline: none;
}

/* Actions Row: Coupon & Update Buttons */
table.shop_table.cart td.actions {
    padding-top: 22px;
    border-bottom: none;
}

table.shop_table.cart td.actions .coupon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

table.shop_table.cart td.actions .coupon input#coupon_code {
    height: 42px;
    padding: 0 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13.5px;
    width: 170px;
}

table.shop_table.cart td.actions .coupon input#coupon_code:focus {
    border-color: var(--st-brand, #9e1b22);
    outline: none;
}

table.shop_table.cart td.actions .coupon button.button {
    height: 42px;
    padding: 0 18px;
    background: #1f2937;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

table.shop_table.cart td.actions .coupon button.button:hover {
    background: #111827;
}

table.shop_table.cart td.actions button[name="update_cart"] {
    height: 42px;
    padding: 0 20px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    float: right;
}

table.shop_table.cart td.actions button[name="update_cart"]:hover {
    background: #e5e7eb;
    color: #111827;
}

/* ==========================================================================
   Cart Totals Sidebar (.cart_totals)
   ========================================================================== */
.woocommerce-cart .cart-collaterals {
    grid-column: 2;
}

.woocommerce-cart .cart_totals {
    background: #ffffff;
    border: 1px solid #edebe4;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 110px;
}

.woocommerce-cart .cart_totals h2 {
    font-size: 18px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.woocommerce-cart .cart_totals h2::before {
    content: "🧾";
    font-size: 18px;
}

.woocommerce-cart .cart_totals table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.woocommerce-cart .cart_totals table.shop_table th {
    color: #6b7280;
    font-weight: 600;
    text-align: left;
}

.woocommerce-cart .cart_totals table.shop_table td {
    color: #1f2937;
    font-weight: 700;
    text-align: right;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total th {
    font-size: 16px;
    font-weight: 800;
    color: #1f2937;
    border-bottom: none;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
    font-size: 22px;
    font-weight: 800;
    color: var(--st-brand, #9e1b22);
    border-bottom: none;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
    margin-top: 10px;
}

.woocommerce-cart .cart_totals a.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 24px;
    background: var(--st-brand, #9e1b22);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 10px;
    box-sizing: border-box;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(158, 27, 34, 0.25);
}

.woocommerce-cart .cart_totals a.checkout-button::before {
    content: "🔒";
    font-size: 15px;
}

.woocommerce-cart .cart_totals a.checkout-button:hover {
    background: var(--st-brand-hover, #7f1319);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(158, 27, 34, 0.35);
}

/* Trust Badges inside Cart Totals */
.cart-trust-badges-box {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #4b5563;
    font-weight: 600;
}

.cart-trust-item span.icon {
    font-size: 14px;
}

/* ==========================================================================
   Empty Cart State (.cart-empty)
   ========================================================================== */
.woocommerce-cart .cart-empty {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px solid #edebe4;
    border-radius: 16px;
    padding: 60px 32px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 auto;
    max-width: 600px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
}

.woocommerce-cart .cart-empty::before {
    content: "🛒";
    display: block;
    font-size: 52px;
    margin-bottom: 16px;
}

.woocommerce-cart p.return-to-shop {
    grid-column: 1 / -1;
    text-align: center;
    margin: -16px 0 0 0;
}

.woocommerce-cart p.return-to-shop a.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: var(--st-brand, #9e1b22);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.woocommerce-cart p.return-to-shop a.button:hover {
    background: var(--st-brand-hover, #7f1319);
    transform: translateY(-2px);
}

/* ==========================================================================
   Cart Responsive Layout
   ========================================================================== */
@media (max-width: 1024px) {
    .woocommerce-cart .woocommerce {
        grid-template-columns: 1fr;
    }
    .woocommerce-cart .cart-collaterals {
        grid-column: 1;
    }
    .woocommerce-cart .cart_totals {
        position: static;
    }
}

@media (max-width: 640px) {
    .saklidag-wc-steps-bar {
        padding: 8px 14px;
    }
    .wc-step-item {
        font-size: 12px;
    }
    .wc-step-item .step-label {
        display: none;
    }
    .wc-step-item.active .step-label {
        display: inline;
    }
    .woocommerce-cart .woocommerce-cart-form {
        padding: 16px 12px;
    }
    table.shop_table.cart thead {
        display: none;
    }
    table.shop_table.cart tbody tr {
        display: grid;
        grid-template-columns: 70px 1fr auto;
        gap: 10px;
        align-items: center;
        padding: 14px 0;
        border-bottom: 1px solid #f3f4f6;
    }
    table.shop_table.cart tbody td {
        padding: 0;
        border: none;
    }
    table.shop_table.cart .product-remove {
        order: 3;
    }
    table.shop_table.cart .product-thumbnail {
        order: 1;
        width: 70px;
    }
    table.shop_table.cart .product-name {
        order: 2;
        grid-column: 2;
    }
    table.shop_table.cart .product-price {
        display: none;
    }
    table.shop_table.cart .product-quantity {
        order: 4;
        grid-column: 2;
        margin-top: 6px;
    }
    table.shop_table.cart .product-subtotal {
        order: 5;
        grid-column: 3;
        font-size: 14px;
    }
    table.shop_table.cart td.actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    table.shop_table.cart td.actions .coupon {
        width: 100%;
    }
    table.shop_table.cart td.actions .coupon input#coupon_code {
        flex: 1;
        width: auto;
    }
    table.shop_table.cart td.actions button[name="update_cart"] {
        width: 100%;
        float: none;
    }
}


/* ==========================================================================
   Category & Shop Archive Modern Layout & Hero Banner
   ========================================================================== */
.saklidag-shop-page-wrapper {
    padding: 24px 0 60px 0;
    background: #ffffff;
}

/* Category Hero Card */
.saklidag-cat-hero-card {
    background: linear-gradient(135deg, #fdfcf9 0%, #f7f4ed 100%);
    border: 1px solid #eae6db;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.saklidag-cat-hero-card::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(158, 27, 34, 0.04) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.cat-hero-inner {
    position: relative;
    z-index: 2;
}

/* Breadcrumbs */
.cat-hero-breadcrumbs {
    margin-bottom: 10px;
}

.cat-hero-breadcrumbs .saklidag-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #71717a;
    font-weight: 500;
}

.cat-hero-breadcrumbs .saklidag-breadcrumbs a {
    color: #71717a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cat-hero-breadcrumbs .saklidag-breadcrumbs a:hover {
    color: var(--st-brand, #9e1b22);
}

.cat-hero-breadcrumbs .crumb-sep {
    color: #d4d4d8;
    font-size: 12px;
}

.cat-hero-breadcrumbs .crumb-item:last-child {
    color: #18181b;
    font-weight: 600;
}

/* Title & Count */
.cat-hero-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.cat-hero-title {
    font-size: 28px;
    font-weight: 800;
    color: #18181b;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.4px;
}

.cat-hero-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2ddd3;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--st-brand, #9e1b22);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.cat-hero-count-badge svg {
    color: var(--st-brand, #9e1b22);
}

.cat-hero-desc {
    font-size: 14px;
    color: #52525b;
    line-height: 1.6;
    max-width: 820px;
    margin-top: 6px;
}

/* Category Navigation Pills */
.cat-hero-pills-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed #e3ddd1;
}

.cat-hero-pills-bar .pills-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #78716c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.cat-hero-pills-bar .pills-scroll-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #ded9cd;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.cat-pill-item:hover {
    border-color: var(--st-brand, #9e1b22);
    color: var(--st-brand, #9e1b22);
    background: #fffafa;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(158, 27, 34, 0.12);
}

.cat-pill-item.active {
    background: var(--st-brand, #9e1b22) !important;
    border-color: var(--st-brand, #9e1b22) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(158, 27, 34, 0.28) !important;
}

.cat-pill-item .pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--st-brand, #9e1b22);
    transition: background 0.2s ease;
}

.cat-pill-item.active .pill-dot {
    background: #ffffff;
}

.cat-pill-item .pill-badge {
    font-size: 11px;
    font-weight: 700;
    background: #f3f4f6;
    color: #4b5563;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 2px;
}

.cat-pill-item.active .pill-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Fallback Simple Header */
.saklidag-simple-shop-header {
    margin-bottom: 24px;
}

.saklidag-simple-shop-header .page-title {
    font-size: 26px;
    font-weight: 800;
    color: #1f2937;
    margin: 8px 0 0 0;
}

/* Shop Layout Container */
.saklidag-shop-layout {
    width: 100%;
}

.saklidag-shop-layout.no-sidebar,
.saklidag-shop-layout.layout-fullwidth {
    display: block;
}

.saklidag-shop-layout.has-sidebar {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* Sidebar Styling */
.saklidag-shop-sidebar {
    position: sticky;
    top: 90px;
}

.saklidag-shop-sidebar .sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-header-box {
    margin-bottom: -4px;
}

.sidebar-header-box .sidebar-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.sidebar-header-box .sidebar-title svg {
    color: var(--st-brand, #9e1b22);
}

.saklidag-shop-sidebar .saklidag-widget {
    background: #ffffff;
    border: 1px solid #edebe4;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.saklidag-shop-sidebar .widget-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f0e8;
    position: relative;
}

.saklidag-shop-sidebar .widget-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--st-brand, #9e1b22);
}

/* Hide dummy blog widgets if any slip through */
.saklidag-shop-sidebar .widget_search,
.saklidag-shop-sidebar .widget_recent_entries,
.saklidag-shop-sidebar .widget_recent_comments,
.saklidag-shop-sidebar .widget_archive,
.saklidag-shop-sidebar .widget_meta {
    display: none !important;
}

/* Shop Toolbar */
.saklidag-shop-toolbar {
    background: #ffffff;
    border: 1px solid #edebe4;
    border-radius: 12px;
    padding: 10px 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.saklidag-shop-toolbar .toolbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.saklidag-shop-toolbar .toolbar-count-icon {
    display: inline-flex;
    color: var(--st-brand, #9e1b22);
}

.saklidag-shop-toolbar .woocommerce-result-count {
    margin: 0 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #4b5563 !important;
    line-height: 1 !important;
}

.saklidag-shop-toolbar .toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.saklidag-sort-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.saklidag-sort-select-wrap .sort-icon {
    position: absolute;
    left: 12px;
    pointer-events: none;
    color: #6b7280;
    display: inline-flex;
    z-index: 2;
}

.saklidag-sort-select-wrap .select-chevron {
    position: absolute;
    right: 12px;
    pointer-events: none;
    color: #6b7280;
    display: inline-flex;
    z-index: 2;
}

.saklidag-sort-select-wrap .woocommerce-ordering {
    margin: 0 !important;
    float: none !important;
}

.saklidag-sort-select-wrap .woocommerce-ordering select.orderby {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background: #fbfaf8 !important;
    border: 1px solid #dedbd2 !important;
    border-radius: 8px !important;
    padding: 7px 34px 7px 32px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    height: auto !important;
    line-height: 1.4 !important;
}

.saklidag-sort-select-wrap .woocommerce-ordering select.orderby:hover,
.saklidag-sort-select-wrap .woocommerce-ordering select.orderby:focus {
    border-color: var(--st-brand, #9e1b22) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(158, 27, 34, 0.08) !important;
}

/* Empty State Card */
.saklidag-no-products-card {
    background: #fbf9f5;
    border: 1.5px dashed #dedbd2;
    border-radius: 16px;
    padding: 60px 24px;
    text-align: center;
    margin: 30px 0;
}

.saklidag-no-products-card .no-products-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: #ffffff;
    border-radius: 50%;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.saklidag-no-products-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.saklidag-no-products-card p {
    font-size: 14px;
    color: #6b7280;
    max-width: 480px;
    margin: 0 auto 20px auto;
    line-height: 1.5;
}

.saklidag-btn-back-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--st-brand, #9e1b22);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(158, 27, 34, 0.25);
}

.saklidag-btn-back-shop:hover {
    background: var(--st-brand-hover, #7f1319);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(158, 27, 34, 0.35);
}

/* Mobile & Tablet Responsiveness for Archive */
@media (max-width: 991px) {
    .saklidag-shop-layout.has-sidebar {
        grid-template-columns: 1fr;
    }
    .saklidag-cat-hero-card {
        padding: 20px 18px;
    }
    .cat-hero-title {
        font-size: 22px;
    }
    .cat-hero-pills-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .cat-hero-pills-bar .pills-scroll-wrap {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        scrollbar-width: none;
    }
    .cat-hero-pills-bar .pills-scroll-wrap::-webkit-scrollbar {
        display: none;
    }
    .cat-pill-item {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 640px) {
    .saklidag-shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 14px;
    }
    .saklidag-shop-toolbar .toolbar-right {
        width: 100%;
    }
    .saklidag-sort-select-wrap {
        width: 100%;
    }
    .saklidag-sort-select-wrap .woocommerce-ordering {
        width: 100%;
    }
    .saklidag-sort-select-wrap .woocommerce-ordering select.orderby {
        width: 100% !important;
    }
}


/* ==========================================================================
   Saklıdağ My Account Portal (Master Styling)
   ========================================================================== */
.saklidag-myaccount-page-wrap {
    padding: 20px 0 60px 0;
    background: transparent;
}

/* Force override WooCommerce core floats and widths */
.woocommerce-account .woocommerce-MyAccount-navigation,
nav.woocommerce-MyAccount-navigation.saklidag-account-sidebar {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content,
div.woocommerce-MyAccount-content.saklidag-myaccount-content {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.saklidag-myaccount-grid {
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 32px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 15px 0 60px 0 !important;
    box-sizing: border-box !important;
}

/* 1. Account Navigation Sidebar */
.saklidag-account-sidebar {
    background: #ffffff;
    border: 1px solid #edebe4;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 90px;
    width: 100% !important;
    box-sizing: border-box !important;
}

.saklidag-account-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e5e2d8;
}

.saklidag-account-user-card .avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.saklidag-account-avatar-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #edebe4;
    display: block;
    background: #fbf9f5;
}

.online-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.user-meta-info {
    min-width: 0;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-bottom: 4px;
}

.role-badge.is-customer {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.role-badge.is-admin {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.user-meta-info .user-name {
    font-size: 15px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-meta-info .user-email {
    display: block;
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sidebar Menu List */
.saklidag-account-menu-list {
    list-style: none !important;
    margin: 16px 0 0 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100% !important;
    box-sizing: border-box !important;
}

.saklidag-account-menu-list li {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.saklidag-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100% !important;
    box-sizing: border-box !important;
}

.saklidag-menu-link .item-icon {
    display: inline-flex;
    color: #6b7280;
    transition: color 0.2s ease;
}

.saklidag-menu-link .item-label {
    flex: 1;
}

.saklidag-menu-link .item-arrow {
    display: inline-flex;
    color: #9ca3af;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.saklidag-menu-link:hover {
    background: #fbf9f5;
    color: var(--st-brand, #9e1b22);
    transform: translateX(2px);
}

.saklidag-menu-link:hover .item-icon {
    color: var(--st-brand, #9e1b22);
}

.saklidag-account-menu-list li.is-active .saklidag-menu-link {
    background: var(--st-brand, #9e1b22) !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(158, 27, 34, 0.25);
}

.saklidag-account-menu-list li.is-active .saklidag-menu-link .item-icon,
.saklidag-account-menu-list li.is-active .saklidag-menu-link .item-arrow {
    color: #ffffff !important;
    opacity: 1;
}

.menu-order-badge {
    background: #f3f4f6;
    color: #374151;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-right: 4px;
}

.saklidag-account-menu-list li.is-active .menu-order-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.saklidag-account-menu-list li.is-logout-item .saklidag-menu-link {
    color: #dc2626;
    margin-top: 10px;
    border-top: 1px dashed #edebe4;
    padding-top: 14px;
    border-radius: 0 0 10px 10px;
}

.saklidag-account-menu-list li.is-logout-item .saklidag-menu-link .item-icon {
    color: #dc2626;
}

.saklidag-account-menu-list li.is-logout-item .saklidag-menu-link:hover {
    background: #fef2f2;
}

/* 2. Account Content Main Panel */
.saklidag-myaccount-content {
    background: #ffffff;
    border: 1px solid #edebe4;
    border-radius: 16px;
    padding: 30px 34px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    min-width: 0;
}

/* Dashboard Hero - Light Organic Warm Theme */
.saklidag-dashboard-hero {
    background: linear-gradient(135deg, #fdfbf7 0%, #f7f3ec 100%) !important;
    border: 1px solid #e8e3d8 !important;
    border-left: 5px solid var(--st-brand, #9e1b22) !important;
    border-radius: 16px !important;
    padding: 26px 30px !important;
    color: #1c1917 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 24px !important;
    margin-bottom: 26px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
}

.saklidag-dashboard-hero::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(158, 27, 34, 0.06) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.saklidag-dashboard-hero .hero-left {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff !important;
    border: 1px solid #e2ddd3 !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--st-brand, #9e1b22) !important;
    margin-bottom: 10px;
    letter-spacing: 0.4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.hero-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #1c1917 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
}

.hero-title strong {
    color: var(--st-brand, #9e1b22) !important;
}

.hero-desc {
    font-size: 13.5px !important;
    color: #57534e !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.saklidag-btn-logout-hero {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff !important;
    border: 1.5px solid #ded9cb !important;
    color: #44403c !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 9px 18px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
    position: relative;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.saklidag-btn-logout-hero:hover {
    background: #fef2f2 !important;
    border-color: #dc2626 !important;
    color: #dc2626 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.12);
}

/* Dashboard Quick Stats Grid */
.saklidag-dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 34px;
}

.saklidag-stat-card {
    background: #fbfaf8;
    border: 1px solid #edebe4;
    border-radius: 14px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.saklidag-stat-card:hover {
    background: #ffffff;
    border-color: var(--st-brand, #9e1b22);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-orders {
    background: #eff6ff;
    color: #2563eb;
}

.icon-address {
    background: #f0fdf4;
    color: #16a34a;
}

.icon-security {
    background: #fef3c7;
    color: #d97706;
}

.icon-whatsapp {
    background: #ecfdf5;
    color: #059669;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-value {
    font-size: 16px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.25;
}

.stat-value small {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
}

.stat-arrow-hint {
    font-size: 12px;
    font-weight: 700;
    color: var(--st-brand, #9e1b22);
    margin-top: 6px;
}

/* Dashboard Section & Tables */
.saklidag-dashboard-section,
.saklidag-account-orders-section,
.saklidag-addresses-section {
    margin-top: 10px;
}

.section-header-row,
.saklidag-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 800;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
}

.section-title svg {
    color: var(--st-brand, #9e1b22);
}

.section-desc {
    font-size: 13.5px;
    color: #6b7280;
    margin: 4px 0 0 0;
}

.view-all-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-brand, #9e1b22);
    text-decoration: none;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Orders Table Card */
.saklidag-table-card {
    background: #ffffff;
    border: 1px solid #edebe4;
    border-radius: 12px;
    overflow: hidden;
}

.saklidag-custom-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
}

.saklidag-custom-orders-table th {
    background: #fbfaf8;
    padding: 13px 18px;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 1px solid #edebe4;
}

.saklidag-custom-orders-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #f3f0e8;
    color: #374151;
    vertical-align: middle;
}

.saklidag-custom-orders-table tr:last-child td {
    border-bottom: none;
}

.order-id a,
.order-num-link {
    color: var(--st-brand, #9e1b22);
    font-weight: 700;
    text-decoration: none;
}

.order-date-text {
    color: #6b7280;
    font-size: 13px;
}

.order-total strong {
    color: #1f2937;
    font-weight: 800;
}

.order-total small {
    display: block;
    color: #9ca3af;
    font-size: 11.5px;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.status-completed {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-processing {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.status-on-hold,
.status-pending {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-cancelled,
.status-failed {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.saklidag-btn-view-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1.5px solid #dedbd2;
    color: #374151;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.saklidag-btn-view-order:hover {
    background: var(--st-brand, #9e1b22);
    border-color: var(--st-brand, #9e1b22);
    color: #ffffff;
}

.order-actions-wrap {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Empty State Box */
.saklidag-empty-orders-box {
    background: #fbfaf8;
    border: 1.5px dashed #dedbd2;
    border-radius: 14px;
    padding: 44px 24px;
    text-align: center;
}

.saklidag-empty-orders-box .empty-icon {
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 14px;
}

.saklidag-empty-orders-box h4 {
    font-size: 17px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 6px 0;
}

.saklidag-empty-orders-box p {
    font-size: 13.5px;
    color: #6b7280;
    max-width: 440px;
    margin: 0 auto 18px auto;
    line-height: 1.5;
}

.saklidag-btn-start-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--st-brand, #9e1b22);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(158, 27, 34, 0.25);
    transition: all 0.2s ease;
}

.saklidag-btn-start-shopping:hover {
    background: var(--st-brand-hover, #7f1319);
    transform: translateY(-1px);
}

/* 3. Address Cards Grid */
.saklidag-addresses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.saklidag-address-card {
    background: #fbfaf8;
    border: 1px solid #edebe4;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.saklidag-address-card:hover {
    border-color: #d1d5db;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.address-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e5e2d8;
    margin-bottom: 16px;
}

.address-card-header .address-icon {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #edebe4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-brand, #9e1b22);
    flex-shrink: 0;
}

.address-card-header .address-title {
    font-size: 16px;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
}

.address-card-header .address-subtitle {
    font-size: 12px;
    color: #6b7280;
}

.address-card-body address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 20px;
}

.empty-address-hint {
    color: #9ca3af;
    font-style: italic;
}

.saklidag-btn-edit-addr {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    border: 1.5px solid #dedbd2;
    color: #374151;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.saklidag-btn-edit-addr:hover {
    background: var(--st-brand, #9e1b22);
    border-color: var(--st-brand, #9e1b22);
    color: #ffffff;
}

/* 4. Login / Registration Auth Card */
.saklidag-auth-page-wrap {
    padding: 40px 0 70px;
    background: #faf8f5;
    min-height: 75vh;
}

.saklidag-auth-card {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #edebe4;
    border-radius: 18px;
    padding: 36px 38px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.saklidag-auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo-box {
    margin-bottom: 12px;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fbf9f5;
    border: 1px solid #edebe4;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #78716c;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.auth-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--st-brand, #9e1b22);
}

.auth-title {
    font-size: 24px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

.auth-desc {
    font-size: 13.5px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Auth Tabs */
.saklidag-auth-tabs-nav {
    display: flex;
    background: #f3f0e8;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 24px;
    gap: 4px;
}

.auth-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab-btn.active {
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Auth Form Fields */
.saklidag-auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-form-row label {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.label-with-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lost-password-link {
    font-size: 12px;
    color: var(--st-brand, #9e1b22);
    text-decoration: none;
    font-weight: 600;
}

.lost-password-link:hover {
    text-decoration: underline;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrap .field-icon {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    display: inline-flex;
    pointer-events: none;
}

.input-icon-wrap input.input-text {
    width: 100% !important;
    background: #fdfcf9 !important;
    border: 1.5px solid #e0ded7 !important;
    border-radius: 9px !important;
    padding: 11px 14px 11px 42px !important;
    font-size: 14px !important;
    color: #1f2937 !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

.input-icon-wrap input.input-text:focus {
    border-color: var(--st-brand, #9e1b22) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(158, 27, 34, 0.08) !important;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
}

.saklidag-btn-auth {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: var(--st-brand, #9e1b22) !important;
    color: #ffffff !important;
    padding: 13px 20px !important;
    border-radius: 9px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 3px 12px rgba(158, 27, 34, 0.25) !important;
    margin-top: 6px;
}

.saklidag-btn-auth:hover {
    background: var(--st-brand-hover, #7f1319) !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(158, 27, 34, 0.35) !important;
}

.auth-trust-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px dashed #e5e2d8;
}

.trust-badge-item {
    font-size: 11.5px;
    font-weight: 600;
    color: #6b7280;
}

/* 5. Generic Account Forms (Edit Account, Edit Address) */
.woocommerce-EditAccountForm fieldset {
    border: 1px solid #edebe4;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0 20px 0;
    background: #fbfaf8;
}

.woocommerce-EditAccountForm legend {
    font-size: 14px;
    font-weight: 800;
    color: #1f2937;
    padding: 0 8px;
}

.woocommerce-EditAccountForm p.form-row,
.woocommerce-address-fields p.form-row {
    margin-bottom: 16px;
}

.woocommerce-EditAccountForm label,
.woocommerce-address-fields label {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.woocommerce-EditAccountForm input.input-text,
.woocommerce-address-fields input.input-text,
.woocommerce-address-fields select {
    width: 100%;
    background: #fdfcf9;
    border: 1.5px solid #dedbd2;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13.5px;
    color: #1f2937;
    transition: all 0.2s ease;
}

.woocommerce-EditAccountForm input.input-text:focus,
.woocommerce-address-fields input.input-text:focus,
.woocommerce-address-fields select:focus {
    border-color: var(--st-brand, #9e1b22);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(158, 27, 34, 0.08);
    outline: none;
}

.woocommerce-EditAccountForm button.button,
.woocommerce-address-fields button.button {
    background: var(--st-brand, #9e1b22) !important;
    color: #ffffff !important;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(158, 27, 34, 0.25);
    border: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.woocommerce-EditAccountForm button.button:hover,
.woocommerce-address-fields button.button:hover {
    background: var(--st-brand-hover, #7f1319) !important;
    transform: translateY(-1px);
}

/* 6. Responsive Mobile Tweaks for My Account */
@media (max-width: 991px) {
    .saklidag-myaccount-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .saklidag-account-sidebar {
        position: static;
    }
    .saklidag-dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .saklidag-addresses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .saklidag-myaccount-content {
        padding: 20px 16px;
    }
    .saklidag-dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 18px;
    }
    .saklidag-dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
    .saklidag-custom-orders-table {
        display: block;
        overflow-x: auto;
    }
    .saklidag-auth-card {
        padding: 26px 20px;
    }
}
