/*
Theme Name: Sidra
Theme URI: https://sidrabitkisel.net
Author: Sidra Bitkisel
Description: Sidra Bitkisel için hafif WooCommerce teması. Tasarım ve mağaza özellikleri Sidra Modern eklentisinden gelir; tema yalnızca iskelet, şablonlar ve temel stilleri sağlar.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sidra
*/

/* Base: the plugin's design tokens (body.sidra-modern) drive colours. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15px/1.6 "Poppins", "Noto Sans", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif; color: #1d1c1a; background: #f4f3f0; }
img, svg, video { max-width: 100%; height: auto; }
a { color: #8a5d0f; text-decoration: none; }
a:hover { color: #1d1c1a; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(22px, 2.2vw, 30px); }
h2 { font-size: clamp(19px, 1.7vw, 24px); }
h3 { font-size: 17px; }
p, ul, ol { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto; clip: auto; background: #fff; padding: 8px 12px; border-radius: 8px; }

.sd-main { padding-block: 20px 48px; min-height: 50vh; }
.sd-container { max-width: 1240px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.sd-narrow { max-width: 820px; }
.sd-card { background: #fff; border: 1px solid #e5e2dc; border-radius: 16px; padding: clamp(16px, 3vw, 32px); }
.sd-page-title { margin-bottom: 16px; }
.sd-entry > :last-child { margin-bottom: 0; }
.sd-entry img { border-radius: 10px; }
.sd-entry table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.sd-entry th, .sd-entry td { border: 1px solid #e5e2dc; padding: 8px 10px; text-align: start; }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="url"], select, textarea {
	width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #e5e2dc; border-radius: 10px; background: #fff; box-shadow: none; outline: 0; transition: border-color .15s;
}
textarea { min-height: 90px; }
input:focus, select:focus, textarea:focus { border-color: #dda642; }
input[type="checkbox"], input[type="radio"] { width: auto; min-height: 0; accent-color: #8a5d0f; }
label { display: block; font-size: 13px; font-weight: 500; color: #5d5a55; margin-bottom: 4px; }
.button, button[type="submit"], input[type="submit"], .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px;
	background: #dda642; color: #1d1c1a; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; line-height: 1.2;
}
.button:hover, button[type="submit"]:hover, input[type="submit"]:hover { background: #c8912c; color: #1d1c1a; }
.button.alt { background: #dda642; }
.button:disabled, .button.disabled { opacity: .6; cursor: not-allowed; }

/* WooCommerce notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 16px; padding: 12px 16px; border-radius: 10px; background: #fff; border: 1px solid #e5e2dc; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.woocommerce-message { border-color: #cfe2bf; background: #e9f4ea; }
.woocommerce-error { border-color: #f1c4c0; background: #fdecea; color: #8c1d17; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 36px; padding: 0 14px; font-size: 13px; }

/* Breadcrumb, archive header */
.woocommerce-breadcrumb { font-size: 12.5px; color: #8f8b84; margin-bottom: 12px; }
.woocommerce-breadcrumb a { color: #8f8b84; }
.sd-archive-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }
.sd-archive-head h1 { margin: 0; }
.woocommerce-result-count { margin: 0; font-size: 13px; color: #5d5a55; }
.woocommerce-ordering select { width: auto; min-height: 40px; }
.sd-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
.sd-chips a { flex: none; height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 17px; border: 1px solid #e5e2dc; background: #fff; color: #1d1c1a; font-size: 13px; font-weight: 500; white-space: nowrap; }
.sd-chips a.is-on { background: #1d1c1a; border-color: #1d1c1a; color: #fff; }
.term-description { background: #fff; border: 1px solid #e5e2dc; border-radius: 16px; padding: 16px; margin-top: 24px; font-size: 14px; color: #5d5a55; }
.woocommerce-pagination ul { list-style: none; display: flex; gap: 6px; padding: 0; margin: 24px 0 0; justify-content: center; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid #e5e2dc; color: #1d1c1a; }
.woocommerce-pagination .current { background: #dda642; border-color: #dda642; }
.sd-grid-products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sd-grid-products > .sm-col { padding: 0; width: auto; max-width: none; flex: none; }

/* Cart & checkout (layout; look comes from the plugin) */
.shop_table { width: 100%; border-collapse: collapse; }
.shop_table th, .shop_table td { padding: 12px 8px; border-bottom: 1px solid #e5e2dc; text-align: start; vertical-align: middle; }
.shop_table img { width: 72px; height: 72px; object-fit: contain; }
.woocommerce-cart-form .actions .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-cart-form .actions .coupon input { width: auto; flex: 1; min-width: 140px; }
.shop_table .quantity .qty { width: 72px; text-align: center; }
.woocommerce-cart-form button[name="update_cart"] { background: #fff; border: 1px solid #e5e2dc; }
.cart-collaterals .cart_totals { position: sticky; top: 140px; }
.cart_totals h2 { font-size: 16px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 52px; font-size: 16px; }
a.remove { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #8f8b84 !important; font-size: 20px; line-height: 1; }
a.remove:hover { background: #fdecea; color: #cf2f27 !important; }
form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
#customer_details { grid-column: 1; }
#order_review_heading { display: none; }
#order_review { grid-column: 2; grid-row: 1 / span 4; position: sticky; top: 140px; background: #fff; border: 1px solid #e5e2dc; border-radius: 16px; padding: 18px; }
.col2-set .col-1, .col2-set .col-2 { width: 100%; float: none; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form-row { margin: 0 0 12px; }
.form-row-wide, .form-row.notes, #billing_country_field, #billing_address_1_field, #shipping_address_1_field { grid-column: 1 / -1; }
.form-row .required { color: #cf2f27; text-decoration: none; }
.woocommerce-checkout-payment ul { list-style: none; padding: 0; margin: 0 0 10px; }
#ship-to-different-address label { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.woocommerce-terms-and-conditions-wrapper label { display: flex; gap: 8px; align-items: flex-start; }
.woocommerce-order-overview { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.woocommerce-order-overview li { background: #fff; border: 1px solid #e5e2dc; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.woocommerce-order-overview li strong { display: block; font-size: 15px; }

/* Blog */
.sd-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sd-post { background: #fff; border: 1px solid #e5e2dc; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; color: #1d1c1a; }
.sd-post__img { aspect-ratio: 16 / 9; background: #f4f3f0; }
.sd-post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-post__body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.sd-post__body time { font-size: 12px; color: #8f8b84; }
.sd-post__body strong { line-height: 1.35; }
.sd-meta { color: #8f8b84; font-size: 13px; margin-bottom: 16px; }

/* Footer */
.sd-footer { background: #3b2314; color: #e9d7b6; margin-top: 40px; font-size: 13.5px; }
.sd-footer a { color: #e9d7b6; }
.sd-footer a:hover { color: #dda642; }
.sd-footer__assure { border-bottom: 1px solid rgba(233, 215, 182, .14); }
.sd-footer__assure .sd-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 22px; }
.sd-footer__assure div { display: flex; gap: 12px; align-items: center; line-height: 1.35; }
.sd-footer__assure .sm-ic { width: 30px; height: 30px; flex: none; color: #dda642; }
.sd-footer__assure strong { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.sd-footer__assure span span { font-size: 12px; color: #bfa983; }
.sd-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-block: 32px; }
.sd-footer .sd-footer__h { color: #fff; font-size: 14px; font-weight: 600; margin: 0 0 12px; letter-spacing: 0; }
.sd-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.sd-footer__logo img { height: 46px; width: auto; display: block; margin-bottom: 12px; filter: brightness(1.15); }
.sd-footer__brand p { margin: 0 0 12px; color: #bfa983; max-width: 34ch; }
.sd-footer__tel { display: inline-flex; flex-direction: column; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(233, 215, 182, .18); }
.sd-footer__tel small { font-size: 11.5px; color: #bfa983; }
.sd-footer__tel strong { font-size: 18px; color: #fff; letter-spacing: .01em; }
.sd-footer__wa { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; color: #8fe3a8 !important; }
.sd-footer__bottom { border-top: 1px solid rgba(233, 215, 182, .14); }
.sd-footer__bottom .sd-container { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; padding-block: 16px; font-size: 12px; color: #bfa983; }
.sd-footer__pay { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sd-footer__pay span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #f3e4c6; }
.sd-footer__pay .sm-ic { width: 16px; height: 16px; color: #dda642; }
.sd-footer__langs { display: flex; gap: 10px; }
.sd-footer__langs a[aria-current="true"] { color: #fff; font-weight: 600; }

/* Content pages: title band, side navigation, readable text */
.sd-page-head { padding-block: 4px 16px; }
.sd-page-head .woocommerce-breadcrumb { margin-bottom: 6px; }
.sd-page-head h1 { margin: 0; }
.sd-page-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.sd-page-nav { position: sticky; top: 124px; display: grid; gap: 12px; }
.sd-page-nav nav { background: #fff; border: 1px solid #e5e2dc; border-radius: 16px; padding: 8px; }
.sd-page-nav h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #8f8b84; margin: 10px 10px 6px; }
.sd-page-nav a { display: block; padding: 9px 10px; border-radius: 10px; color: #1d1c1a; font-size: 13.5px; }
.sd-page-nav a:hover { background: #f4f3f0; }
.sd-page-nav a[aria-current="page"] { background: #fdf4e2; color: #8a5d0f; font-weight: 600; }
.sd-help { background: #3b2314; color: #e9d7b6; border-radius: 16px; padding: 16px; font-size: 13px; }
.sd-help strong { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.sd-help a { display: inline-block; margin-top: 8px; color: #fff; font-weight: 700; font-size: 16px; }
.sd-entry { font-size: 15px; line-height: 1.75; color: #3a3835; }
.sd-entry > * { max-width: 78ch; }
.sd-entry h2, .sd-entry h3, .sd-entry h4 { color: #1d1c1a; margin: 1.6em 0 .5em; font-size: 18px; }
.sd-entry h3, .sd-entry h4 { font-size: 16px; }
.sd-entry > :first-child { margin-top: 0; }
.sd-entry strong, .sd-entry b { color: #1d1c1a; }
.sd-entry ul, .sd-entry ol { padding-inline-start: 1.3em; }
.sd-entry li { margin-bottom: .35em; }
.sd-entry a { text-decoration: underline; text-underline-offset: 3px; }
.sd-entry hr { border: 0; border-top: 1px solid #e5e2dc; margin: 24px 0; }

/* Contact page */
.sd-contact-hero { padding: 4px 0 18px; }
.sd-contact-hero h1 { margin: 0 0 4px; font-size: clamp(26px, 3vw, 36px); }
.sd-contact-hero p { margin: 0; color: #5d5a55; max-width: 60ch; }
.sd-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 16px; }
.sd-cc { display: flex; gap: 14px; align-items: center; padding: 18px; background: #fff; border: 1px solid #e5e2dc; border-radius: 16px; color: #1d1c1a; transition: box-shadow .2s, border-color .2s; }
.sd-cc:hover { color: #1d1c1a; border-color: #dda642; box-shadow: 0 8px 24px rgba(59, 35, 20, .08); }
.sd-cc__i { flex: none; width: 52px; height: 52px; border-radius: 14px; background: #fdf4e2; color: #8a5d0f; display: grid; place-items: center; }
.sd-cc__i.is-wa { background: #e7f8ee; color: #1b9e4b; }
.sd-cc__i .sm-ic { width: 24px; height: 24px; }
.sd-cc small { display: block; font-size: 12px; color: #8f8b84; }
.sd-cc strong { display: block; font-size: 17px; word-break: break-all; }
.sd-cc em { display: block; font-style: normal; font-size: 12.5px; color: #5d5a55; }
.sd-cc--main { background: #3b2314; border-color: #3b2314; color: #fff; }
.sd-cc--main:hover { color: #fff; }
.sd-cc--main small, .sd-cc--main em { color: #e9d7b6; }
.sd-cc--main strong { font-size: 22px; }
.sd-cc--main .sd-cc__i { background: #dda642; color: #1d1c1a; }
.sd-contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.sd-contact-form h2, .sd-contact-faq h2 { font-size: 19px; margin: 0 0 4px; }
.sd-muted { color: #5d5a55; font-size: 14px; margin-bottom: 14px; }
.sd-contact-faq { display: grid; gap: 8px; }
.sd-contact-faq h2 { margin-bottom: 4px; }
.sd-contact-faq details { background: #fff; border: 1px solid #e5e2dc; border-radius: 12px; padding: 0 14px; }
.sd-contact-faq summary { cursor: pointer; padding: 13px 0; font-weight: 600; font-size: 14px; }
.sd-contact-faq details p { margin: 0 0 12px; font-size: 13.5px; color: #5d5a55; }
/* Quform inside our card */
.sd-contact-form .quform-element { margin-bottom: 12px; }
.sd-contact-form .quform-label label, .sd-contact-form .quform-label { font-size: 13px; font-weight: 500; color: #5d5a55; }
.sd-contact-form .quform-field { width: 100% !important; min-height: 46px; padding: 10px 12px !important; border: 1.5px solid #e5e2dc !important; border-radius: 10px !important; background: #fff !important; box-shadow: none !important; font: inherit !important; }
.sd-contact-form textarea.quform-field { min-height: 120px; }
.sd-contact-form .quform-field:focus { border-color: #dda642 !important; }
.sd-contact-form .quform-submit, .sd-contact-form .quform-button-submit button { min-height: 48px !important; padding: 0 28px !important; border: 0 !important; border-radius: 10px !important; background: #dda642 !important; color: #1d1c1a !important; font-weight: 600 !important; box-shadow: none !important; text-shadow: none !important; }
.sd-contact-form .quform-element-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; margin: 0 !important; }
.sd-contact-form .quform-element-row::before, .sd-contact-form .quform-element-row::after { display: none !important; }
.sd-contact-form .quform-element-column, .sd-contact-form .quform-element-row > div { width: auto !important; float: none !important; padding: 0 !important; margin: 0 !important; }
.sd-contact-form .quform-spacer { padding: 0 !important; margin: 0 !important; }
.sd-contact-form .quform-input, .sd-contact-form .quform-inner { width: 100% !important; max-width: none !important; position: relative; }
.sd-contact-form .quform-has-field-icon-left .quform-field { padding-left: 40px !important; }
.sd-contact-form .quform-field-icon-left { position: absolute; left: 14px !important; top: 50% !important; transform: translateY(-50%); color: #8f8b84 !important; line-height: 1; }
.sd-contact-form .quform-element-submit { margin-top: 4px; }
.sd-contact-form .quform-button-submit, .sd-contact-form .quform-element-submit .quform-button-submit-default { width: auto !important; }

/* Flatsome leftovers rendered by the shortcode fallback */
.ux-row { display: flex; flex-wrap: wrap; gap: 16px; }
.ux-col { flex: 1 1 260px; min-width: 0; }
.ux-section { margin-bottom: 24px; }
details.ux-acc { background: #fff; border: 1px solid #e5e2dc; border-radius: 10px; margin-bottom: 8px; padding: 0 14px; }
details.ux-acc summary { cursor: pointer; padding: 12px 0; font-weight: 600; }

@media (max-width: 1100px) {
	.sd-grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 849px) {
	.sd-grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	form.checkout { grid-template-columns: 1fr; }
	#order_review { grid-column: 1; grid-row: auto; position: static; }
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { gap: 0 10px; }
	.woocommerce-billing-fields__field-wrapper > .form-row:not(.form-row-first):not(.form-row-last), .woocommerce-shipping-fields__field-wrapper > .form-row:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
	.sd-archive-head { flex-wrap: nowrap; align-items: center; margin-bottom: 10px; }
	.sd-archive-head h1 { font-size: 20px; }
	.sd-archive-head .woocommerce-result-count { font-size: 12px; }
	.woocommerce-ordering select { min-height: 36px; height: 36px; padding: 0 28px 0 10px; font-size: 13px; max-width: 46vw; border-radius: 18px; }
	.sd-chips { margin: 0 -16px 12px; padding: 0 16px 2px; }
	.sd-chips a { height: 32px; font-size: 12.5px; padding: 0 12px; }
	.woocommerce-checkout .sd-page-title { font-size: 22px; margin-bottom: 8px; }
	.sd-posts { grid-template-columns: 1fr; }
	.sd-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-block: 24px; }
	.sd-footer__brand { grid-column: 1 / -1; }
	.sd-footer__assure .sd-container { grid-template-columns: 1fr 1fr; gap: 14px; }
	.sd-page-grid { grid-template-columns: 1fr; }
	.sd-contact-grid { grid-template-columns: 1fr; }
	.sd-contact-form .quform-element-row { grid-template-columns: 1fr; }
	.sd-page-nav { position: static; order: 2; }
	.sd-card.sd-entry { padding: 18px 16px; }
	.sd-footer__bottom .sd-container { justify-content: center; text-align: center; }
}
