* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
html, body { min-height: 100%; }
body { font-family: 'Poppins', sans-serif; background: radial-gradient(circle at top left, #fff8f2 0%, #f5e8dc 35%, #e9d7c8 100%); color: #2b2118; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; }
header { position: fixed; top: 0; left: 0; width: 100%; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); z-index: 999; border-bottom: 1px solid #e9ddd2; transform: translateY(0); transition: transform 0.28s ease; will-change: transform; }
header.site-header-hidden { transform: translateY(-100%); }
.navbar { max-width: 1300px; margin: auto; padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; }
.logo { display: inline-flex; align-items: baseline; gap: 10px; font-size: 30px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; }
.logo-sub { font-size: 14px; font-weight: 500; letter-spacing: 2px; color: #9c7d67; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { color: #2b2118; font-size: 16px; transition: 0.3s; }
nav a:hover { color: #9c7d67; }
.nav-dropdown { position: relative; }
.nav-dropdown-btn, .nav-cart-btn { background: transparent; border: none; color: #2b2118; cursor: pointer; font: inherit; font-size: 16px; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 12px); left: 50%; min-width: 150px; padding: 10px; background: white; border: 1px solid #e9ddd2; border-radius: 12px; box-shadow: 0 12px 28px rgba(43,33,24,0.12); transform: translateX(-50%); opacity: 0; pointer-events: none; transition: 0.2s; z-index: 1000; }
.nav-dropdown.active .nav-dropdown-menu { opacity: 1; pointer-events: auto; }
.nav-dropdown-menu a { display: block; padding: 10px 12px; border-radius: 8px; white-space: nowrap; }
.nav-dropdown-menu a:hover { background: #f7f1ed; }
.hero { padding-top: 120px; background: #f5eee8; overflow: hidden; }
.hero-section { max-width: 1300px; margin: auto; padding: 80px 40px; text-align: center; }
.hero-section h1 { font-size: 55px; font-weight: 300; color: #2b2118; margin-bottom: 20px; }
.hero-section p { font-size: 18px; color: #9c7d67; letter-spacing: 6px; }
.products { padding: 80px 40px; background: white; }
.products-title { text-align: center; margin-bottom: 70px; }
.products-title p { letter-spacing: 6px; color: #9c7d67; margin-bottom: 15px; font-size: 14px; }
.products-title h2 { font-size: 55px; font-weight: 300; }
.products-grid { max-width: 1400px; margin: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,0.08); transition: 0.3s; cursor: pointer; }
.card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.card img { width: 100%; height: 380px; object-fit: cover; }
.card-content { padding: 25px; }
.card h3 { font-size: 22px; margin-bottom: 12px; color: #2b2118; font-weight: 500; }
.card p { color: #6e6258; line-height: 1.6; margin-bottom: 20px; font-size: 16px; }
.btn { display: inline-block; padding: 14px 30px; background: #9c7d67; color: white; text-decoration: none; border-radius: 12px; transition: 0.3s; border: none; cursor: pointer; font-size: 16px; }
.btn:hover { background: #7d6254; }
.card-link { display: block; color: inherit; text-decoration: none; }
.cart-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: white; color: #2b2118; border-radius: 50%; font-size: 18px; cursor: pointer; position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.15); transition: transform 0.2s; }
.cart-float { position: fixed; bottom: 20px; right: 20px; z-index: 1001; }
.cart-float .cart-icon { width: 56px; height: 56px; font-size: 20px; }
.cart-float .cart-icon:hover { transform: translateY(-2px); }
.cart-count-badge { position: absolute; top: -8px; right: -8px; background: #b67d74; color: white; font-size: 12px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.cart-box { position: fixed; right: -430px; top: 0; width: min(390px, 100vw); height: 100vh; background: #fffaf6; box-shadow: -12px 0 34px rgba(43,33,24,0.18); padding: 0 0 96px; transition: 0.4s; z-index: 3000; overflow-y: auto; border-left: 1px solid #e9ddd2; }
.cart-box.active { right: 0; }
.cart-header { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; background: rgba(255,250,246,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid #e9ddd2; z-index: 1; }
.close-cart { background: #2b2118; color: white; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; }
.cart-box h2 { margin: 0; color: #2b2118; font-size: 22px; font-weight: 600; }
#cart-items { padding: 20px 24px 4px; }
.cart-empty { padding: 18px; border: 1px dashed #d8c8ba; border-radius: 14px; color: #7a6a5e; line-height: 1.6; text-align: center; background: white; }
.remove-btn { background: #f5e8e3; color: #8d4f47; border: 1px solid #e4c9c0; padding: 7px 10px; border-radius: 999px; cursor: pointer; font-size: 12px; margin-left: 12px; flex: 0 0 auto; }
.remove-btn:hover { background: #b67d74; color: white; border-color: #b67d74; }
.cart-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; padding: 14px; border: 1px solid #efe3da; border-radius: 16px; background: white; box-shadow: 0 8px 20px rgba(43,33,24,0.05); }
.cart-item-image { flex: 0 0 64px; width: 64px; height: 78px; border-radius: 12px; object-fit: cover; background: #f2e7de; border: 1px solid #eadbd0; }
.cart-item-image-placeholder { display: block; }
.cart-item-body { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; min-width: 0; flex: 1; }
.cart-item-info { min-width: 0; flex: 1; }
.cart-item-name { color: #2b2118; font-size: 14px; font-weight: 600; line-height: 1.4; }
.cart-item-meta { margin-top: 6px; color: #7a6a5e; font-size: 13px; }
.cart-item-subtotal { margin-top: 8px; color: #2b2118; font-size: 14px; font-weight: 700; }
.cart-qty-control { display: inline-grid; grid-template-columns: 34px 54px 34px; align-items: center; margin-top: 10px; border: 1px solid #e4d6cc; border-radius: 12px; overflow: hidden; background: #fffdfb; }
.cart-qty-control button { width: 34px; height: 34px; border: none; background: #f7f1ed; color: #2b2118; cursor: pointer; font-size: 18px; line-height: 1; }
.cart-qty-control button:hover { background: #eadbd0; }
.cart-qty-control input { width: 54px; height: 34px; border: 0; border-left: 1px solid #e4d6cc; border-right: 1px solid #e4d6cc; color: #2b2118; background: white; text-align: center; font-size: 14px; font-weight: 600; outline: none; }
.cart-notice { position: fixed; top: 50%; left: 50%; z-index: 6000; width: min(320px, calc(100vw - 36px)); padding: 20px 22px; background: rgba(255,250,246,0.98); border: 1px solid #e9ddd2; border-radius: 18px; box-shadow: 0 24px 70px rgba(43,33,24,0.22); color: #2b2118; text-align: center; transform: translate(-50%, -50%) scale(0.94); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.cart-notice.active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cart-notice strong { display: block; margin-bottom: 6px; font-size: 18px; font-weight: 700; }
.cart-notice span { display: block; color: #6e6258; font-size: 14px; line-height: 1.5; }
.cart-form { margin: 12px 24px 0; padding: 18px; background: white; border: 1px solid #efe3da; border-radius: 18px; box-shadow: 0 8px 20px rgba(43,33,24,0.05); }
.cart-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cart-form label { display: block; color: #5d513f; font-size: 13px; font-weight: 500; margin-bottom: 12px; }
.cart-form label:last-child { margin-bottom: 0; }
.cart-form input, .cart-form textarea { width: 100%; margin-top: 7px; border: 1px solid #e4d6cc; border-radius: 12px; padding: 11px 12px; color: #2b2118; background: #fffdfb; font-size: 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.cart-form textarea { min-height: 82px; resize: vertical; }
.cart-form input:focus, .cart-form textarea:focus { border-color: #9c7d67; box-shadow: 0 0 0 3px rgba(156,125,103,0.14); }
.cart-fee { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 24px 0; padding: 16px 0 0; border-top: 1px solid #e9ddd2; color: #6e6258; font-size: 14px; font-weight: 500; }
.cart-fee span { color: #2b2118; font-size: 16px; font-weight: 600; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 24px 0; padding: 0; font-size: 15px; font-weight: 500; color: #5d513f; }
.cart-total span { color: #2b2118; font-size: 26px; font-weight: 700; }
.checkout-btn { width: calc(100% - 48px); padding: 15px; margin: 18px 24px 96px; background: #9c7d67; color: white; border: none; border-radius: 14px; font-size: 16px; cursor: pointer; font-weight: 600; box-shadow: 0 12px 26px rgba(156,125,103,0.26); }
.checkout-btn:hover { background: #7d6254; }
.product-detail { padding: 140px 40px 80px; max-width: 1300px; margin: auto; }
.product-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: start; }
.product-gallery { background: white; border-radius: 28px; padding: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.product-gallery img { width: 100%; border-radius: 24px; object-fit: cover; }
.thumbnails { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.thumbnails img { width: calc((100% - 36px)/4); cursor: pointer; border-radius: 16px; border: 2px solid transparent; object-fit: cover; height: 88px; }
.thumbnails img.active { border-color: #9c7d67; }
.details-section { display: flex; flex-direction: column; gap: 24px; }
.details-section h1 { font-size: 40px; font-weight: 700; letter-spacing: 1px; }
.details-section p.description { color: #5d513f; line-height: 1.9; font-size: 16px; white-space: pre-line; }
.details-section .product-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.details-section .product-price { font-size: 34px; font-weight: 700; color: #9c7d67; }
.details-section .detail-group { background: white; border-radius: 24px; padding: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.detail-group label { display: block; margin-bottom: 14px; color: #5d513f; font-size: 15px; }
.detail-group select, .detail-group input, .detail-group textarea { width: 100%; border: 1px solid #e9ddd2; border-radius: 14px; padding: 14px 16px; font-size: 15px; margin-top: 8px; color: #2b2118; }
.detail-group textarea { min-height: 100px; resize: vertical; }
.action-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.secondary-btn { background: white; color: #2b2118; border: 1px solid #d7ccc2; }
.secondary-btn:hover { background: #f7f1ed; }
.gurindam-page .product-detail { max-width: 1120px; padding: 120px 28px 56px; }
.collection-intro { max-width: 1120px; margin: 0 auto; padding: 118px 28px 18px; }
.collection-intro p { color: #9c7d67; font-size: 13px; letter-spacing: 5px; margin-bottom: 8px; }
.collection-intro h1 { color: #2b2118; font-size: 34px; line-height: 1.2; font-weight: 500; margin-bottom: 8px; }
.collection-intro span { display: block; color: #6e6258; font-size: 15px; line-height: 1.7; }
.collection-intro + .product-detail { padding-top: 24px; }
.gurindam-page .product-detail.extra-series { padding-top: 24px; }
.gurindam-page .product-detail.white-section { max-width: none; background: white; margin: 0; padding-left: max(28px, calc((100% - 1120px) / 2)); padding-right: max(28px, calc((100% - 1120px) / 2)); }
.gurindam-page .product-grid { grid-template-columns: 360px minmax(0, 1fr); gap: 24px; align-items: start; }
.gurindam-page .product-gallery, .gurindam-page .details-section { min-width: 0; }
.gurindam-page .product-gallery { border-radius: 18px; padding: 14px; }
.gurindam-page .main-image-wrap { position: relative; overflow: hidden; border-radius: 14px; }
.gurindam-page .main-image-wrap > img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; border-radius: 14px; object-fit: cover; cursor: zoom-in; }
.gurindam-page .image-type-name { margin-top: 10px; color: #7a6a5e; font-size: 12px; font-weight: 500; letter-spacing: 1.4px; line-height: 1.4; text-align: center; text-transform: uppercase; }
.gurindam-page .thumbnails { flex-wrap: nowrap; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 0 0 6px; scrollbar-width: thin; }
.gurindam-page .thumbnail-button { flex: 0 0 86px; width: 86px; aspect-ratio: 1 / 1; border: 2px solid transparent; border-radius: 12px; padding: 4px; background: #fffdfb; cursor: pointer; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.gurindam-page .thumbnail-button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(43,33,24,0.12); }
.gurindam-page .thumbnail-button.active { border-color: #9c7d67; }
.gurindam-page .thumbnail-button img { display: block; width: 100%; height: 100%; border-radius: 8px; object-fit: cover; }
.gurindam-page .thumbnails > img { flex: 0 0 86px; width: 86px; height: 86px; border-radius: 10px; }
.gurindam-page .details-section { gap: 14px; }
.gurindam-page .details-section h1 { font-size: 30px; line-height: 1.2; }
.gurindam-page .details-section p.description { font-size: 14px; line-height: 1.6; }
.gurindam-page .details-section .product-price { font-size: 26px; }
.gurindam-page .details-section .detail-group { display: flex; width: max-content; max-width: 100%; gap: 10px; align-items: flex-start; border-radius: 14px; padding: 12px; }
.gurindam-page .detail-group label { display: flex; flex-direction: column; align-items: flex-start; flex: 1; margin-bottom: 0; color: #6e6258; font-size: 11px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; }
.gurindam-page .detail-group .type-label { flex: 0 1 270px; min-width: 220px; }
.gurindam-page .detail-group .quantity-label { flex: 0 0 82px; }
.gurindam-page .detail-group select { display: block; height: 40px; border-radius: 10px; margin-top: 6px; padding: 0 34px 0 12px; font-size: 14px; line-height: 1; background-color: #fffdfb; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #7a6a5e 50%), linear-gradient(135deg, #7a6a5e 50%, transparent 50%); background-position: calc(100% - 15px) 17px, calc(100% - 10px) 17px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.gurindam-page .detail-group select:focus { border-color: #9c7d67; box-shadow: 0 0 0 3px rgba(156,125,103,0.12); outline: none; }
.gurindam-page .detail-group .type-label select { width: max-content; max-width: 100%; min-width: 112px; }
.gurindam-page .detail-group .native-type-select { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.type-picker { position: relative; width: 100%; margin-top: 6px; text-transform: none; letter-spacing: 0; }
.type-picker-toggle, .type-picker-option { display: flex; align-items: center; gap: 10px; width: 100%; border: 1px solid #e9ddd2; background: #fffdfb; color: #2b2118; text-align: left; cursor: pointer; }
.type-picker-toggle { min-height: 40px; border-radius: 10px; padding: 5px 34px 5px 7px; font-size: 13px; font-weight: 500; position: relative; }
.type-picker-toggle::after { content: ""; position: absolute; right: 13px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #7a6a5e; border-bottom: 2px solid #7a6a5e; transform: translateY(-65%) rotate(45deg); }
.type-picker-toggle img, .type-picker-option img { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 7px; object-fit: cover; background: #f2e7de; }
.type-picker-toggle span, .type-picker-option span { min-width: 0; overflow-wrap: anywhere; }
.type-picker-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; display: none; width: min(320px, calc(100vw - 40px)); max-height: 260px; overflow-y: auto; padding: 6px; background: white; border: 1px solid #e9ddd2; border-radius: 12px; box-shadow: 0 18px 40px rgba(43,33,24,0.16); }
.type-picker.open .type-picker-menu { display: block; }
.type-picker-option { min-height: 44px; border: 0; border-radius: 9px; padding: 7px; font-size: 13px; line-height: 1.25; }
.type-picker-option:hover, .type-picker-option.active { background: #f7f1ed; }
.thumbnails:empty { display: none; }
.gurindam-page .action-buttons { align-self: flex-end; flex-wrap: nowrap; gap: 10px; margin-top: 0; }
.gurindam-page .btn { border-radius: 10px; padding: 11px 18px; font-size: 14px; white-space: nowrap; }
.image-popup { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; gap: 18px; padding: 28px 88px; background: rgba(43,33,24,0.82); z-index: 4000; }
.image-popup.active { display: flex; }
.image-popup-frame { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: min(92vw, 980px); max-height: 90vh; margin: 0; }
.image-popup img { max-width: 100%; max-height: calc(90vh - 54px); border-radius: 18px; object-fit: contain; background: white; box-shadow: 0 24px 70px rgba(0,0,0,0.35); }
.image-popup figcaption { max-width: min(92vw, 720px); padding: 10px 18px; border-radius: 999px; background: rgba(255,250,246,0.96); color: #2b2118; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; box-shadow: 0 12px 30px rgba(0,0,0,0.2); }
.image-popup-close { position: fixed; top: 22px; right: 24px; width: 44px; height: 44px; border: none; border-radius: 50%; background: white; color: #2b2118; cursor: pointer; font-size: 28px; line-height: 1; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.image-popup-nav { position: fixed; top: 50%; width: 50px; height: 50px; border: none; border-radius: 50%; background: rgba(255,255,255,0.95); color: #2b2118; cursor: pointer; font-size: 42px; line-height: 1; transform: translateY(-50%); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
.image-popup-nav:hover { background: white; }
.image-popup-prev { left: 24px; }
.image-popup-next { right: 24px; }
.success-banner { padding: 140px 40px; max-width: 700px; margin: auto; text-align: center; }
.success-banner h2 { font-size: 42px; margin-bottom: 20px; }
.success-banner p { color: #5d513f; line-height: 1.8; margin-bottom: 28px; }
.editor-page { background: #f5eee8; }
.collection-editor { display: block; min-height: 100vh; padding-top: 82px; background: #fffaf6; }
.editor-panel { width: min(980px, 100%); min-height: calc(100vh - 82px); margin: 0 auto; overflow: visible; padding: 28px; background: #fffaf6; }
.editor-heading { margin-bottom: 22px; }
.editor-heading p { color: #9c7d67; font-size: 12px; letter-spacing: 4px; margin-bottom: 6px; }
.editor-heading h1 { font-size: 30px; line-height: 1.2; font-weight: 500; }
.editor-form { display: flex; flex-direction: column; gap: 18px; }
.editor-section { border: 1px solid #e9ddd2; border-radius: 16px; padding: 18px; background: white; box-shadow: 0 12px 28px rgba(43,33,24,0.06); }
.editor-section legend { padding: 0 8px; color: #2b2118; font-size: 15px; font-weight: 600; }
.editor-section label { display: block; color: #5d513f; font-size: 13px; font-weight: 500; }
.editor-section textarea, .editor-section input { width: 100%; margin-top: 8px; border: 1px solid #e4d6cc; border-radius: 12px; padding: 11px 12px; color: #2b2118; background: #fffdfb; font-size: 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.editor-section textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.editor-section textarea:focus, .editor-section input:focus { border-color: #9c7d67; box-shadow: 0 0 0 3px rgba(156,125,103,0.14); }
.editor-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.editor-type-list { display: grid; gap: 12px; margin-top: 16px; }
.editor-type-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 12px; border: 1px solid #efe3da; border-radius: 14px; background: #fffdfb; }
.editor-image-wrap { position: relative; width: 150px; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; background: #f2e7de; border: 1px solid #eadbd0; }
.editor-type-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.editor-type-fields { display: grid; gap: 10px; min-width: 0; }
.editor-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.editor-replace-image { position: absolute; left: 50%; top: 50%; width: calc(100% - 12px); padding: 7px 8px; border-radius: 8px; font-size: 11px; line-height: 1.2; white-space: normal; transform: translate(-50%, -50%); box-shadow: 0 10px 22px rgba(43,33,24,0.2); }
.editor-actions { position: sticky; bottom: 0; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding: 16px 0 0; background: linear-gradient(rgba(255,250,246,0), #fffaf6 24%); }
.editor-status { min-height: 22px; margin-top: 12px; color: #6e6258; font-size: 13px; line-height: 1.5; }
.editor-save-state { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid #d8e2d1; border-radius: 999px; background: #f4fbf0; color: #4f7444; font-size: 13px; font-weight: 600; white-space: nowrap; }
.editor-save-state.unsaved { border-color: #ead2a4; background: #fff8e9; color: #916b22; }
.collection-edit-bar { position: fixed; left: 20px; bottom: 20px; z-index: 5000; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 40px); padding: 14px; background: rgba(255,250,246,0.96); border: 1px solid #e9ddd2; border-radius: 16px; box-shadow: 0 18px 45px rgba(43,33,24,0.18); backdrop-filter: blur(10px); }
.collection-edit-bar strong { display: block; color: #2b2118; font-size: 14px; margin-bottom: 2px; }
.collection-edit-bar span { display: block; color: #6e6258; font-size: 12px; line-height: 1.4; }
.collection-edit-bar .btn { padding: 10px 14px; font-size: 13px; white-space: nowrap; }
.inline-description-editor { width: 100%; min-height: 260px; border: 1px solid #d9e2ec; border-radius: 14px; padding: 18px; color: #2b2118; background: white; font: inherit; font-size: 15px; line-height: 1.7; resize: vertical; outline: none; box-shadow: 0 0 0 4px rgba(156,125,103,0.08); }
.inline-description-editor:focus { border-color: #9c7d67; box-shadow: 0 0 0 4px rgba(156,125,103,0.16); }
.inline-price-editor { width: min(240px, 100%); border: 1px solid #e4d6cc; border-radius: 12px; padding: 10px 12px; color: #9c7d67; background: white; font: inherit; font-size: 30px; font-weight: 700; outline: none; }
.inline-price-editor:focus { border-color: #9c7d67; box-shadow: 0 0 0 4px rgba(156,125,103,0.14); }
.inline-stock-editor { width: 82px; height: 40px; border: 1px solid #e4d6cc; border-radius: 10px; padding: 0 10px; color: #2b2118; background: white; font: inherit; font-size: 14px; font-weight: 600; outline: none; }
.inline-stock-editor:focus { border-color: #9c7d67; box-shadow: 0 0 0 3px rgba(156,125,103,0.14); }
footer { background: #6f5849; color: white; text-align: center; padding: 30px; font-size: 16px; }
@media (max-width: 992px) {
  .navbar { flex-direction: column; gap: 20px; }
  nav { width: 100%; justify-content: center; flex-wrap: wrap; gap: 20px; }
  .hero-section { padding: 60px 20px; }
  .hero-section h1 { font-size: 40px; }
  .products { padding: 60px 20px; }
  .products-grid { gap: 25px; }
  .product-detail { padding: 120px 20px 60px; }
  .collection-intro { padding: 118px 20px 16px; }
  .collection-intro h1 { font-size: 30px; }
  .product-grid { grid-template-columns: 1fr; }
  .gurindam-page .product-detail { padding: 120px 20px 56px; }
  .gurindam-page .product-detail.extra-series { padding-top: 24px; }
  .gurindam-page .product-detail.white-section { padding-left: 20px; padding-right: 20px; }
  .gurindam-page .product-grid { grid-template-columns: 1fr; }
  .gurindam-page .main-image-wrap > img { height: auto; }
  .collection-editor { padding-top: 132px; }
  .editor-panel { height: auto; }
}
@media (max-width: 680px) {
  body { overflow-x: hidden; }
  .thumbnails img { width: calc((100% - 24px)/3); }
  .detail-group label, .action-buttons { width: 100%; }
  .action-buttons { flex-direction: column; }
  .gurindam-page .product-detail { padding: 88px 14px 42px; }
  .gurindam-page .product-detail.extra-series { padding-top: 18px; }
  .gurindam-page .product-detail.white-section { padding-left: 14px; padding-right: 14px; }
  .gurindam-page .product-grid { gap: 18px; }
  .gurindam-page .product-gallery { width: min(100%, 320px); margin: 0 auto; border-radius: 18px; padding: 10px; box-shadow: 0 12px 30px rgba(43,33,24,0.08); }
  .gurindam-page .main-image-wrap { background: #f7f1ed; }
  .gurindam-page .main-image-wrap > img { aspect-ratio: 1 / 1; height: auto; object-fit: contain; object-position: center; background: #f7f1ed; }
  .gurindam-page .image-type-name { margin-top: 8px; font-size: 11px; letter-spacing: 1px; }
  .gurindam-page .thumbnails { gap: 8px; margin-top: 10px; padding-bottom: 4px; }
  .gurindam-page .thumbnail-button { flex: 0 0 66px; width: 66px; border-radius: 10px; padding: 3px; }
  .gurindam-page .thumbnail-button img { border-radius: 7px; }
  .gurindam-page .details-section { gap: 12px; }
  .gurindam-page .details-section h1 { max-width: 100%; font-size: 26px; line-height: 1.15; letter-spacing: 0.8px; overflow-wrap: anywhere; }
  .gurindam-page .details-section p:not(.description) { font-size: 17px; line-height: 1.45; }
  .gurindam-page .details-section p.description { font-size: 13px; line-height: 1.55; }
  .gurindam-page .details-section .detail-group { width: 100%; max-width: none; flex-direction: column; align-items: stretch; gap: 14px; border-radius: 16px; padding: 16px; box-shadow: 0 12px 28px rgba(43,33,24,0.05); }
  .gurindam-page .detail-group .type-label, .gurindam-page .detail-group .quantity-label { flex: none; width: 100%; min-width: 0; }
  .type-picker-toggle { min-height: 58px; border-radius: 14px; padding: 8px 44px 8px 10px; font-size: 16px; }
  .type-picker-toggle::after { right: 17px; width: 10px; height: 10px; }
  .type-picker-toggle img, .type-picker-option img { flex-basis: 42px; width: 42px; height: 42px; border-radius: 10px; }
  .type-picker-menu { width: 100%; max-height: 300px; border-radius: 14px; }
  .type-picker-option { min-height: 56px; padding: 8px; font-size: 15px; }
  .gurindam-page .detail-group select { width: 100%; height: 56px; border-radius: 14px; padding-left: 16px; font-size: 16px; background-position: calc(100% - 20px) 24px, calc(100% - 14px) 24px; }
  .gurindam-page .action-buttons { width: 100%; flex-wrap: wrap; }
  .gurindam-page .btn { width: 100%; padding: 14px 18px; border-radius: 14px; text-align: center; font-size: 16px; }
  .editor-panel { padding: 20px; }
  .editor-price-grid { grid-template-columns: 1fr; }
  .editor-type-card { grid-template-columns: 1fr; }
  .editor-image-wrap { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .editor-type-grid { grid-template-columns: 1fr; }
  .collection-edit-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-direction: column; align-items: stretch; }
  .cart-box { height: 100dvh; padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
  .cart-form-grid { grid-template-columns: 1fr; gap: 0; }
  .checkout-btn { margin-bottom: calc(140px + env(safe-area-inset-bottom)); }
  .image-popup { padding: 72px 18px 28px; }
  .image-popup-nav { top: auto; bottom: 24px; width: 44px; height: 44px; font-size: 34px; transform: none; }
  .image-popup-prev { left: 22px; }
  .image-popup-next { right: 22px; }
  .image-popup img { max-height: calc(86vh - 96px); }
}
