/*
Theme Name: Devanti Direct US
Theme URI: https://devantidirectus.top
Author: Devanti Direct US
Description: WooCommerce theme reconstructed from the Devanti Direct US Shopify Craft storefront.
Version: 1.0.0
Text Domain: devanti-direct-us
*/

:root {
  --dd-bg: #f7f5f0;
  --dd-header: #efecec;
  --dd-surface: #fff;
  --dd-text: #17201d;
  --dd-muted: #65706c;
  --dd-accent: #b65f3d;
  --dd-border: #dedbd3;
  --dd-dark: #2c332f;
  --dd-radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--dd-text);
  background: var(--dd-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.dd-container { width: min(100% - 40px, 1320px); margin-inline: auto; }

.dd-announcement {
  padding: 9px 20px;
  color: #efecec;
  background: var(--dd-dark);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .025em;
  text-align: center;
}
.dd-site-header { position: relative; z-index: 50; border-bottom: 1px solid #d7d3d3; background: var(--dd-header); }
.dd-header-inner { display: grid; grid-template-columns: 210px 1fr 210px; align-items: center; min-height: 76px; gap: 28px; }
.dd-brand { color: #252525; text-decoration: none; }
.dd-brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 22px; letter-spacing: -.02em; }
.dd-brand span { display: block; color: var(--dd-muted); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.dd-nav > ul, .dd-nav .menu { display: flex; align-items: center; justify-content: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.dd-nav li { position: relative; }
.dd-nav a { display: block; padding: 26px 0; color: #252525; font-size: 14px; font-weight: 650; text-decoration: none; }
.dd-nav .sub-menu { position: absolute; top: calc(100% - 1px); left: -22px; display: none; min-width: 245px; margin: 0; padding: 12px; border: 1px solid var(--dd-border); border-radius: 14px; background: #fff; box-shadow: 0 20px 50px rgba(23,32,29,.13); list-style: none; }
.dd-nav li:hover > .sub-menu, .dd-nav li:focus-within > .sub-menu { display: block; }
.dd-nav .sub-menu a { padding: 10px 12px; border-radius: 8px; }
.dd-nav .sub-menu a:hover { background: var(--dd-bg); }
.dd-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.dd-icon-link { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; color: #252525; text-decoration: none; }
.dd-icon-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.dd-cart-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: -8px; border-radius: 50%; color: #fff; background: var(--dd-accent); font-size: 10px; font-weight: 800; }
.dd-mobile-menu { display: none; }

.dd-home-hero { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; min-height: 650px; padding-block: 64px; gap: clamp(40px,7vw,110px); }
.dd-eyebrow { margin: 0 0 18px; color: var(--dd-accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.dd-home-hero h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px,6vw,82px); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.dd-home-intro { max-width: 640px; margin-top: 28px; color: var(--dd-muted); font-size: 18px; line-height: 1.65; }
.dd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.dd-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 1px solid var(--dd-text); border-radius: 999px; color: var(--dd-text); text-decoration: none; font-weight: 750; transition: transform .16s ease, background .16s ease, color .16s ease; }
.dd-button:hover { transform: translateY(-2px); }
.dd-button--primary { color: var(--dd-bg); background: var(--dd-text); }
.dd-hero-media { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 560px; padding: clamp(28px,5vw,70px); border-radius: 28px; background: var(--dd-surface); }
.dd-hero-media > a { display: flex; align-items: center; justify-content: center; }
.dd-hero-media img { width: 100%; height: 440px; object-fit: contain; mix-blend-mode: multiply; }
.dd-hero-product { position: absolute; right: 22px; bottom: 22px; left: 22px; display: flex; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 1px solid rgba(222,219,211,.8); border-radius: 16px; background: rgba(247,245,240,.92); backdrop-filter: blur(12px); font-size: 14px; }
.dd-hero-product span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dd-benefits { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--dd-border); background: var(--dd-surface); }
.dd-benefit { display: grid; gap: 4px; padding: 24px clamp(20px,4vw,56px); text-align: center; }
.dd-benefit + .dd-benefit { border-left: 1px solid var(--dd-border); }
.dd-benefit strong { font-size: 14px; }
.dd-benefit span { color: var(--dd-muted); font-size: 13px; }
.dd-home-section { padding-block: 96px; }
.dd-home-section--products { border-top: 1px solid var(--dd-border); }
.dd-section-heading { margin-bottom: 34px; }
.dd-section-heading--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.dd-section-heading h2, .dd-story h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px,4vw,50px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.dd-section-heading p { max-width: 620px; margin: 12px 0 0; color: var(--dd-muted); }
.dd-text-link { flex: none; border-bottom: 1px solid currentColor; text-decoration: none; font-weight: 750; }
.dd-card-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.dd-card { overflow: hidden; border: 1px solid var(--dd-border); border-radius: var(--dd-radius); background: var(--dd-surface); color: var(--dd-text); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.dd-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(23,32,29,.10); }
.dd-card-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; padding: 26px; background: var(--dd-bg); }
.dd-card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.dd-card-copy { padding: 20px; }
.dd-card-copy h3 { margin: 0; font-size: 16px; line-height: 1.35; }
.dd-card-copy p { margin: 8px 0 0; color: var(--dd-muted); font-size: 14px; }
.dd-card-copy del { opacity: .6; margin-right: 5px; }
.dd-card-copy ins { text-decoration: none; }
.dd-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px,8vw,120px); padding-block: 100px; border-top: 1px solid var(--dd-border); }
.dd-story-text { color: var(--dd-muted); font-size: clamp(18px,2vw,24px); line-height: 1.55; }

.dd-main { min-height: 45vh; }
.dd-content { width: min(100% - 40px, 900px); margin: 0 auto; padding: 70px 0 100px; }
.dd-content h1 { margin: 0 0 36px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px,5vw,68px); font-weight: 500; line-height: 1; }
.dd-content h2 { margin: 42px 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 500; }
.dd-content h3 { margin: 28px 0 10px; }
.dd-content p { color: #4f5a56; }
.dd-content a { color: var(--dd-accent); }

.dd-newsletter { padding: 54px 0; color: #efecec; background: var(--dd-dark); text-align: center; }
.dd-newsletter h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px,4vw,48px); font-weight: 500; }
.dd-newsletter p { margin: 12px 0 0; color: #ccd0cd; }
.dd-newsletter .dd-button { margin-top: 18px; color: #efecec; border-color: #efecec; }
.dd-newsletter-form { display: flex; max-width: 520px; margin: 28px auto 0; }
.dd-newsletter-form input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1px solid #808783; border-radius: 999px 0 0 999px; color: #fff; background: transparent; }
.dd-newsletter-form button { height: 52px; padding: 0 24px; border: 1px solid #efecec; border-radius: 0 999px 999px 0; color: var(--dd-dark); background: #efecec; font-weight: 750; }
.dd-footer { padding: 44px 0 26px; color: #efecec; background: var(--dd-dark); border-top: 1px solid #555e59; }
.dd-footer-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 70px; }
.dd-footer-brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 24px; }
.dd-footer-brand p { max-width: 360px; color: #bac0bc; }
.dd-footer-nav ul, .dd-footer-nav .menu { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.dd-footer-nav a { color: #e2e5e3; font-size: 14px; text-decoration: none; }
.dd-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid #555e59; color: #aeb5b1; font-size: 12px; }

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { margin: 0 0 30px; color: var(--dd-muted); }
.woocommerce .products ul, .woocommerce ul.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 0 0 18px; overflow: hidden; border: 1px solid var(--dd-border); border-radius: var(--dd-radius); background: #fff; }
.woocommerce ul.products li.product a img { aspect-ratio: 1/1; margin: 0 0 18px; padding: 22px; object-fit: contain; background: var(--dd-bg); mix-blend-mode: multiply; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price { padding-inline: 18px; color: var(--dd-text); }
.woocommerce ul.products li.product .button { margin: 12px 18px 0; border-radius: 999px; color: #fff; background: var(--dd-dark); }
.woocommerce span.onsale { min-width: auto; min-height: auto; padding: 5px 10px; border-radius: 999px; background: var(--dd-accent); line-height: 1.3; }
.woocommerce div.product { padding-block: 60px 90px; }
.woocommerce div.product div.images img { border-radius: 18px; background: #fff; }
.woocommerce div.product .product_title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px,4vw,58px); font-weight: 500; line-height: 1.05; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--dd-accent); }
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce #respond input#submit.alt { border-radius: 999px; background: var(--dd-dark); }
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: #17201d; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--dd-accent); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--dd-accent); }

@media (max-width: 989px) {
  .dd-header-inner { grid-template-columns: 1fr auto; }
  .dd-nav { display: none; }
  .dd-mobile-menu { display: block; }
  .dd-mobile-menu summary { cursor: pointer; list-style: none; font-weight: 750; }
  .dd-mobile-menu ul { position: absolute; top: 100%; right: 0; left: 0; margin: 0; padding: 18px 24px 26px; border-top: 1px solid var(--dd-border); background: var(--dd-header); list-style: none; }
  .dd-mobile-menu li { margin: 8px 0; }
  .dd-mobile-menu a { text-decoration: none; }
  .dd-header-actions .dd-account { display: none; }
  .dd-home-hero { grid-template-columns: 1fr; min-height: 0; padding-block: 48px; gap: 42px; }
  .dd-home-hero h1 { font-size: clamp(42px,12vw,68px); }
  .dd-hero-media { min-height: 460px; }
  .dd-hero-media img { height: 350px; }
  .dd-card-grid, .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dd-story { grid-template-columns: 1fr; gap: 30px; }
  .dd-footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 749px) {
  .dd-container { width: min(100% - 28px,1320px); }
  .dd-header-inner { min-height: 68px; }
  .dd-brand strong { font-size: 19px; }
  .dd-benefits { grid-template-columns: 1fr; }
  .dd-benefit + .dd-benefit { border-top: 1px solid var(--dd-border); border-left: 0; }
  .dd-home-section { padding-block: 68px; }
  .dd-section-heading--row { align-items: start; flex-direction: column; }
  .dd-card-grid { gap: 12px; }
  .dd-card-media { padding: 16px; }
  .dd-card-copy { padding: 15px; }
  .dd-card-copy h3 { font-size: 14px; }
  .dd-footer-nav ul, .dd-footer-nav .menu { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dd-footer-bottom { flex-direction: column; }
}


/* Devanti mobile navigation refinements */
@media (max-width: 989px) {
  .dd-header-actions .dd-account { display: inline-flex; }
  .dd-mobile-menu ul.sub-menu {
    position: static;
    display: block;
    min-width: 0;
    margin: 8px 0 0 12px;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 1px solid var(--dd-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .dd-mobile-menu ul.sub-menu a { display: block; padding: 6px 0; }
}
@media (max-width: 480px) {
  .dd-header-actions { gap: 8px; }
  .dd-icon-link { min-width: 34px; height: 34px; }
}
