body.product-template-default.single.single-product {
--ew-bg: #f5f7fa;
--ew-card-bg: #ffffff;
--ew-primary: #1f7a8c;
--ew-primary-dark: #145062;
--ew-accent: #f4a259;
--ew-text: #1f2933;
--ew-muted: #6b7280;
--ew-border: #e5e7eb;
--ew-radius-lg: 18px;
--ew-radius-sm: 10px;
--ew-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.14);
--ew-shadow-light: 0 10px 25px rgba(15, 23, 42, 0.10);
background: radial-gradient(circle at top left, #eef7ff, #f5f7fa 40%, #edf2f7 100%);
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
color: var(--ew-text);
}
body.product-template-default.single.single-product #main{margin: 25px auto;}
body.product-template-default.single.single-product #main .woocommerce-breadcrumb{}
body.product-template-default.single.single-product #main .woocommerce-breadcrumb a{color:#577822;} body.product-template-default.single.single-product div.product {
max-width: 1160px;
margin: 40px auto 80px;
padding: 32px;
background: linear-gradient(145deg, #ffffff, #f9fafb);
border-radius: 26px;
box-shadow: var(--ew-shadow-soft);
display: grid;
grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
gap: 40px;
} body.product-template-default.single.single-product .woocommerce-product-gallery {
position: relative;
border-radius: var(--ew-radius-lg);
overflow: hidden;
background: #577822;
background: linear-gradient(180deg, rgba(87, 120, 34, 1) 0%, rgba(255, 255, 255, 1) 70%);
}
body.product-template-default.single.single-product 
.woocommerce-product-gallery__wrapper {
border-radius: inherit;
}
body.product-template-default.single.single-product 
.woocommerce-product-gallery__image img {
width: 100%;
height: 100%;
object-fit: cover;
transform: scale(1.01);
transition: transform 0.6s ease, filter 0.4s ease;
filter: saturate(1.1) contrast(1.03);
}
body.product-template-default.single.single-product 
.woocommerce-product-gallery:hover .woocommerce-product-gallery__image img {
transform: scale(1.05);
filter: saturate(1.2) contrast(1.08);
} body.product-template-default.single.single-product 
.woocommerce-product-gallery .flex-control-thumbs {
display: flex;
gap: 10px;
padding: 14px 16px 16px;
background: linear-gradient(to top, #020617, #020617f2 60%, transparent);
}
body.product-template-default.single.single-product 
.woocommerce-product-gallery .flex-control-thumbs li {
flex: 1 1 auto;
border-radius: var(--ew-radius-sm);
overflow: hidden;
cursor: pointer;
border: 1px solid rgba(255, 255, 255, 0.12);
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
body.product-template-default.single.single-product 
.woocommerce-product-gallery .flex-control-thumbs img {
width: 100%;
height: 64px;
object-fit: cover;
}
body.product-template-default.single.single-product 
.woocommerce-product-gallery .flex-control-thumbs li:hover,
body.product-template-default.single.single-product 
.woocommerce-product-gallery .flex-control-thumbs li.flex-active-slide {
transform: translateY(-3px);
border-color: var(--ew-accent);
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.45);
} body.product-template-default.single.single-product .summary {
padding: 4px 4px 0;
display: flex;
flex-direction: column;
gap: 18px;
}
body.product-template-default.single.single-product ul.products li.product, .woocommerce-page ul.products li.product{width:100%;} body.product-template-default.single.single-product .product_title.entry-title {
font-size: 1.9rem;
line-height: 1.25;
font-weight: 700;
letter-spacing: 0.02em;
margin-bottom: 4px;
color: #020617;
} body.product-template-default.single.single-product p.price,
body.product-template-default.single.single-product span.price {
font-size: 1.6rem;
font-weight: 700;
color: var(--ew-primary);
display: inline-flex;
align-items: baseline;
gap: 6px;
}
body.product-template-default.single.single-product .price del {
font-size: 0.9rem;
color: var(--ew-muted);
opacity: 0.7;
}
body.product-template-default.single.single-product .price ins {
text-decoration: none;
} body.product-template-default.single.single-product .product_meta {
font-size: 0.86rem;
color: var(--ew-muted);
padding: 12px 16px;
margin-top: 10px;
border-radius: var(--ew-radius-sm);
background: rgba(15, 23, 42, 0.025);
border: 1px solid var(--ew-border);
}
body.product-template-default.single.single-product .product_meta span {
display: block;
margin-bottom: 4px;
}
body.product-template-default.single.single-product .product_meta a {
color: var(--ew-primary);
text-decoration: none;
}
body.product-template-default.single.single-product .product_meta a:hover {
text-decoration: underline;
} body.product-template-default.single.single-product .woocommerce-product-details__short-description {
margin-top: 6px;
padding-top: 10px;
border-top: 1px dashed rgba(148, 163, 184, 0.6);
font-size: 0.98rem;
line-height: 1.6;
color: #111827;
} body.product-template-default.single.single-product form.cart {
margin-top: 14px;
padding: 16px 18px;
border-radius: var(--ew-radius-sm);
background: rgba(255, 255, 255, 0.9);
border: 1px solid var(--ew-border);
box-shadow: var(--ew-shadow-light);
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 14px;
} body.product-template-default.single.single-product .quantity {
display: inline-flex;
align-items: center;
border-radius: 999px;
overflow: hidden;
border: 1px solid var(--ew-border);
background: #f9fafb;
}
body.product-template-default.single.single-product .quantity input.qty {
width: 64px;
text-align: center;
border: none;
background: transparent;
padding: 10px 4px;
font-size: 0.98rem;
} body.product-template-default.single.single-product button.single_add_to_cart_button.button {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 12px 26px;
border-radius: 999px;
background: linear-gradient(135deg, var(--ew-primary), var(--ew-primary-dark));
color: #ffffff;
font-weight: 600;
font-size: 0.98rem;
text-transform: uppercase;
letter-spacing: 0.08em;
border: none;
box-shadow: 0 14px 28px rgba(15, 23, 42, 0.35);
cursor: pointer;
transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.18s ease;
}
body.product-template-default.single.single-product 
button.single_add_to_cart_button.button::after {
content: "→";
font-size: 1.05em;
transform: translateX(0);
transition: transform 0.18s ease;
}
body.product-template-default.single.single-product 
button.single_add_to_cart_button.button:hover {
transform: translateY(-2px);
box-shadow: 0 18px 32px rgba(15, 23, 42, 0.45);
background: linear-gradient(135deg, var(--ew-primary-dark), #0f172a);
}
body.product-template-default.single.single-product 
button.single_add_to_cart_button.button:hover::after {
transform: translateX(3px);
}
body.product-template-default.single.single-product 
button.single_add_to_cart_button.button:active {
transform: translateY(0);
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
} body.product-template-default.single.single-product .woocommerce-message,
body.product-template-default.single.single-product .woocommerce-info,
body.product-template-default.single.single-product .woocommerce-error {
max-width: 1160px;
margin: 20px auto 0;
border-radius: 999px;
padding: 10px 18px 10px 50px;
border-width: 0;
display: flex;
align-items: center;
gap: 10px;
font-size: 0.94rem;
box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}
body.product-template-default.single.single-product .woocommerce-message {
background: linear-gradient(135deg, #ecfdf3, #def7ec);
color: #03543f;
}
body.product-template-default.single.single-product .woocommerce-info {
background: linear-gradient(135deg, #eff6ff, #e0f2fe);
color: #1d4ed8;
}
body.product-template-default.single.single-product .woocommerce-error {
background: linear-gradient(135deg, #fef2f2, #fee2e2);
color: #b91c1c;
} body.product-template-default.single.single-product .woocommerce-tabs {
margin-top: 40px;
padding-top: 24px;
border-top: 1px solid var(--ew-border);
}
body.product-template-default.single.single-product .woocommerce-tabs ul.tabs {
display: inline-flex;
gap: 8px;
border-bottom: none;
margin: 0 0 12px;
padding: 4px;
background: #e5e7eb;
border-radius: 999px;
}
body.product-template-default.single.single-product .woocommerce-tabs ul.tabs li {
border: none;
margin: 0;
padding: 0;
}
body.product-template-default.single.single-product .woocommerce-tabs ul.tabs li a {
display: inline-block;
padding: 8px 16px;
border-radius: 999px;
font-size: 0.9rem;
text-decoration: none;
color: #4b5563;
transition: background 0.18s ease, color 0.18s ease;
}
body.product-template-default.single.single-product .woocommerce-tabs ul.tabs li.active a {
background: #ffffff;
color: var(--ew-primary-dark);
box-shadow: 0 8px 16px rgba(15, 23, 42, 0.15);
} body.product-template-default.single.single-product .woocommerce-Tabs-panel {
background: #ffffff;
border-radius: var(--ew-radius-lg);
padding: 24px 24px 28px;
border: 1px solid var(--ew-border);
box-shadow: var(--ew-shadow-light);
font-size: 0.96rem;
line-height: 1.7;
} body.product-template-default.single.single-product .related {
max-width: 1160px;
margin: 60px auto 40px;
}
body.product-template-default.single.single-product .related > h2 {
font-size: 1.5rem;
margin-bottom: 18px;
}
body.product-template-default.single.single-product .related ul.products {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
gap: 20px;
}
body.product-template-default.single.single-product .related ul.products li.product {
background: #ffffff;
border-radius: 22px;
padding: 14px 14px 18px;
border: 1px solid var(--ew-border);
box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
body.product-template-default.single.single-product .related ul.products li.product:hover {
transform: translateY(-4px);
border-color: rgba(31, 122, 140, 0.3);
box-shadow: 0 18px 32px rgba(15, 23, 42, 0.20);
}
body.product-template-default.single.single-product .related ul.products li.product img {
border-radius: 16px;
} @media (max-width: 980px) {
body.product-template-default.single.single-product div.product {
grid-template-columns: minmax(0, 1fr);
padding: 22px;
gap: 28px;
}
body.product-template-default.single.single-product .woocommerce-product-gallery {
max-height: 520px;
}
}
@media (max-width: 640px) {
body.product-template-default.single.single-product div.product {
margin: 24px 12px 54px;
padding: 18px;
border-radius: 20px;
}
body.product-template-default.single.single-product .product_title.entry-title {
font-size: 1.5rem;
}
body.product-template-default.single.single-product form.cart {
flex-direction: column;
align-items: stretch;
}
body.product-template-default.single.single-product button.single_add_to_cart_button.button {
width: 100%;
justify-content: center;
}
body.product-template-default.single.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
padding: 18px 16px 20px;
}
} body.product-template-default.single.single-product div.product { width: min(1280px, calc(100% - 4rem));
max-width: 100%;
margin: 40px auto 80px; display: grid;
grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr); column-gap: 56px;
} body.product-template-default.single.single-product .woocommerce-product-gallery,
body.product-template-default.single.single-product .summary {
width: 100%;
} @media (max-width: 1100px) {
body.product-template-default.single.single-product div.product {
grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr); column-gap: 40px;
}
} @media (max-width: 768px) {
body.product-template-default.single.single-product div.product {
grid-template-columns: minmax(0, 1fr);
width: calc(100% - 2rem);
margin: 24px auto 54px;
}
}   body.product-template-default.single.single-product .woocommerce-tabs {
margin-top: 40px;
border-top: none;
} body.product-template-default.single.single-product .woocommerce-tabs ul.tabs {
display: flex;
gap: 12px;
padding: 0;
margin: 0 0 24px 0;
list-style: none;
background: transparent;
border: none;
}
body.product-template-default.single.single-product .woocommerce-tabs ul.tabs li {
margin: 0;
padding: 0;
border: none;
background: none;
} body.product-template-default.single.single-product .woocommerce-tabs ul.tabs::before,
body.product-template-default.single.single-product .woocommerce-tabs ul.tabs li::before,
body.product-template-default.single.single-product .woocommerce-tabs ul.tabs li::after {
display: none !important;
} body.product-template-default.single.single-product .woocommerce-tabs ul.tabs li a {
display: inline-block;
padding: 10px 22px;
border-radius: 999px;
font-size: 0.95rem;
font-weight: 600;
text-decoration: none;
color: #334155;
background: #f1f5f9;
border: 1px solid #e2e8f0;
transition: all 0.2s ease;
} body.product-template-default.single.single-product .woocommerce-tabs ul.tabs li a:hover {
background: #e2e8f0;
transform: translateY(-1px);
} body.product-template-default.single.single-product .woocommerce-tabs ul.tabs li.active a {
background: linear-gradient(135deg, #1f7a8c, #145062);
color: #ffffff;
border: none;
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
transform: translateY(-2px);
} body.product-template-default.single.single-product .woocommerce-Tabs-panel {
background: #ffffff;
padding: 28px;
border-radius: 18px;
border: 1px solid #e5e7eb;
box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}