/* Ficha de Producto Papelería — Alúa Marketing */
body.single-product{background:#fff!important}
body.single-product .site-main>.woocommerce-notices-wrapper{max-width:var(--am-product-width);margin:18px auto 0;padding:0 24px}
body.single-product .woocommerce div.product{max-width:none!important;margin:0!important;float:none!important;width:100%!important}
body.single-product .woocommerce div.product .summary,body.single-product .woocommerce div.product .woocommerce-product-gallery{float:none!important;width:auto!important;margin:0!important}
.am-product-shell{max-width:var(--am-product-width);margin:0 auto;padding:18px 24px 48px;box-sizing:border-box;font-family:inherit;color:#1d1d1f}
.am-product-main{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(370px,.97fr);gap:42px;align-items:start}
.am-product-left,.am-product-right{min-width:0}.am-product-gallery{position:relative}.am-product-badges{position:absolute;left:0;top:0;display:flex;gap:8px;z-index:3}.am-badge{display:inline-flex;align-items:center;border-radius:4px;padding:6px 9px;background:var(--am-purple);color:#fff;font-size:12px;font-weight:800;line-height:1;text-transform:uppercase}.am-badge-sale{background:var(--am-sale)}.am-badge-eco{color:#5f9b42;background:#f5fff0;border:2px solid #82b85d;padding:4px 7px;text-transform:none}.am-main-image{min-height:490px;display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden}.am-main-image img{width:100%;height:auto;max-height:650px;object-fit:contain;display:block}.am-thumbnails{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.am-thumbnail{width:82px;height:82px;border:1px solid #e3e3e3;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:4px;cursor:pointer}.am-thumbnail.is-active{border:2px solid var(--am-purple)}.am-thumbnail img{width:100%;height:100%;object-fit:contain}.am-product-summary{padding:0 0 0 4px}.am-product-title{font-family:inherit!important;font-size:clamp(28px,2.25vw,42px)!important;line-height:1.08!important;letter-spacing:-.025em!important;margin:0 0 7px!important;color:#202024!important;font-weight:800!important;text-transform:none!important}.am-product-ref{font-size:14px;color:#7d7d82;margin-bottom:10px}.am-product-rating{margin:8px 0 12px}.am-product-rating .star-rating{float:none!important;margin:0 10px 0 0!important;color:#f7ad16}.am-product-rating .woocommerce-review-link{font-size:14px;color:#555;text-decoration:none}.am-product-price{padding:16px 0 16px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;margin-top:12px}.am-product-price .price{font-size:29px;font-weight:800;color:var(--am-purple)}.am-product-price del{opacity:.55;color:#8b8b8f;font-size:17px;margin-right:8px}.am-product-price ins{text-decoration:none}.am-product-short-description{font-size:16px;line-height:1.5;color:#515156;margin:18px 0 12px}.am-product-short-description p{margin:0}.am-stock-row{font-size:16px;font-weight:700;margin:16px 0;display:flex;align-items:center;gap:8px}.am-stock-row.is-in-stock{color:#3ba64c}.am-stock-row.is-out-of-stock{color:var(--am-sale)}.am-stock-dot{width:11px;height:11px;background:currentColor;border-radius:50%;display:inline-block}.am-add-to-cart-area form.cart{display:flex!important;gap:10px;align-items:stretch;margin:0!important;flex-wrap:nowrap}.am-add-to-cart-area .quantity{float:none!important;display:inline-flex!important;height:54px;min-width:112px;border:1px solid #e4e1e4;border-radius:9px;overflow:hidden;background:#f8f7f8}.am-add-to-cart-area .quantity .qty{width:100%!important;height:52px!important;border:0!important;background:transparent!important;text-align:center!important;font-size:17px!important;padding:0!important}.am-add-to-cart-area button.single_add_to_cart_button{border:0!important;border-radius:999px!important;background:var(--am-purple)!important;color:#fff!important;flex:1!important;min-height:54px!important;font-size:16px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.01em!important;padding:14px 18px!important}.am-add-to-cart-area button.single_add_to_cart_button:hover{background:var(--am-purple-dark)!important}.am-add-to-cart-area .variations{width:100%;margin:0 0 14px!important}.am-add-to-cart-area .variations select{height:46px;padding:0 11px;border:1px solid #d7d4d8;border-radius:7px;background:#fff}.am-add-to-cart-area .single_variation_wrap{width:100%}.am-product-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:18px}.am-product-actions a,.am-product-actions button{color:#555;border:0;background:transparent;font:inherit;font-size:14px;text-decoration:underline;cursor:pointer;padding:0}.am-description-section,.am-related-section{margin-top:56px}.am-section-heading{display:flex;align-items:center;gap:24px;text-align:center;margin:0 0 28px}.am-section-heading span{height:2px;background:#252529;flex:1;opacity:.9}.am-section-heading h2{font:800 clamp(20px,1.5vw,27px)/1.1 inherit;margin:0;color:#252529;letter-spacing:-.015em;text-transform:uppercase;white-space:nowrap}.am-description-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:64px;background:#fafafa;padding:42px 46px}.am-description-content{font-size:16px;line-height:1.55;color:#39393d}.am-description-content h3{font-size:21px;margin:0 0 16px;font-weight:800;color:#26262a}.am-description-content p:first-of-type{margin-top:0}.am-attributes-table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}.am-attributes-table th,.am-attributes-table td{padding:13px 17px;border-bottom:2px solid #f1f1f1;text-align:left}.am-attributes-table th{width:47%;font-weight:800;color:#37373b}.am-attributes-table td{color:#58585d}.am-related-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.am-related-card{border:1px solid #dedde0;border-radius:12px;overflow:hidden;background:#fff;transition:transform .2s ease,box-shadow .2s ease}.am-related-card:hover{transform:translateY(-3px);box-shadow:0 9px 25px rgba(0,0,0,.08)}.am-related-image{display:flex;align-items:center;justify-content:center;height:210px;padding:13px;background:#fff}.am-related-image img{width:100%;height:100%;object-fit:contain}.am-related-content{padding:13px 14px 15px}.am-related-name{display:block;color:#252529;font-size:14px;font-weight:700;line-height:1.28;text-decoration:none;min-height:54px}.am-related-stars{min-height:22px;margin-top:5px;color:#f7ad16}.am-related-stars .star-rating{float:none!important;color:#f7ad16;font-size:12px}.am-related-price .price{font-weight:800;color:var(--am-purple);font-size:16px}.am-related-price del{font-size:12px;opacity:.6}.am-related-price ins{text-decoration:none}.am-benefits{background:#f7f7f8;padding:35px 24px;margin-top:10px}.am-benefits-inner{max-width:var(--am-product-width);margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:26px}.am-benefit{display:flex;align-items:center;justify-content:center;gap:11px;text-align:left}.am-benefit-icon{font-size:30px;line-height:1;color:var(--am-purple)}.am-benefit strong{display:block;font-size:13px;line-height:1.15;color:#27272b}.am-benefit span{display:block;color:#616166;font-size:12px;line-height:1.25;margin-top:3px}
@media(max-width:1024px){.am-product-main{gap:28px}.am-description-grid{gap:30px;padding:30px}.am-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.am-benefits-inner{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767px){.am-product-shell{padding:16px 15px 34px}.am-product-main{grid-template-columns:1fr;gap:22px}.am-main-image{min-height:320px}.am-main-image img{max-height:470px}.am-product-title{font-size:29px!important}.am-product-summary{padding:0}.am-add-to-cart-area form.cart{flex-wrap:wrap}.am-add-to-cart-area .quantity{height:50px;min-width:100px}.am-add-to-cart-area .quantity .qty{height:48px!important}.am-add-to-cart-area button.single_add_to_cart_button{min-height:52px!important;min-width:calc(100% - 112px)}.am-description-section,.am-related-section{margin-top:38px}.am-section-heading{gap:12px;margin-bottom:21px}.am-section-heading h2{font-size:18px;white-space:normal}.am-description-grid{grid-template-columns:1fr;padding:24px 18px;gap:25px;margin:0 -15px}.am-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.am-related-image{height:155px}.am-related-content{padding:10px}.am-related-name{font-size:13px;min-height:51px}.am-benefits{padding:28px 15px}.am-benefits-inner{grid-template-columns:1fr;gap:18px}.am-benefit{justify-content:flex-start}.am-thumbnail{width:64px;height:64px}.am-product-actions{margin-top:15px}}
/* Descuentos por volumen */
.am-volume-discounts{margin-top:18px;border:1px solid rgba(93,38,150,.28);border-radius:12px;overflow:hidden;background:#fff}.am-volume-discounts h3{margin:0;padding:13px 16px;background:rgba(93,38,150,.07);font-size:14px;line-height:1.2;font-weight:800;letter-spacing:.01em;color:#2d1548}.am-volume-scroll{overflow:visible;max-width:100%}.am-volume-table{width:100%;max-width:100%;border-collapse:collapse;font-size:14px;min-width:0;table-layout:fixed}.am-volume-table th,.am-volume-table td{padding:11px 12px;border-bottom:1px solid #ebe7ef;text-align:left;vertical-align:middle}.am-volume-table th{background:#faf8fc;color:#4a4352;font-weight:800;font-size:12px}.am-volume-table tbody tr:last-child td{border-bottom:0}.am-volume-table td:last-child{padding-left:20px;padding-right:18px;min-width:118px}.am-volume-table td:nth-child(2) strong{color:var(--am-purple)}.am-volume-table .am-volume-unit-price{font-weight:800;color:#24202a;white-space:nowrap}.am-volume-add{border:0!important;border-radius:7px!important;background:var(--am-purple)!important;color:#fff!important;font-weight:800!important;padding:10px 16px!important;line-height:1!important;white-space:nowrap;margin:0 2px 0 4px}.am-volume-add:hover{background:var(--am-purple-dark)!important}.am-volume-add.is-loading{opacity:.65;pointer-events:none}.am-volume-note,.am-volume-variation-message{margin:0;padding:10px 14px 12px;color:#665f6d;font-size:12px;line-height:1.35}.am-volume-variation-message{display:none}.am-volume-discounts.is-variable .am-volume-variation-message{display:block}.am-volume-discounts.is-variable .am-volume-note{display:none}
@media(max-width:767px){.am-volume-discounts{margin-top:15px}.am-volume-table th,.am-volume-table td{padding:10px}.am-volume-table{font-size:13px}.am-volume-discounts h3{font-size:13px}}
/* Entrega estimada y ajuste del botón de volumen */
.am-delivery-estimate{display:flex;align-items:center;gap:8px;margin:0 0 10px;color:#357a3b;font-size:15px;line-height:1.35;font-weight:700}.am-delivery-estimate strong{font-weight:800}.am-delivery-estimate-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#45ad54;color:#fff;font-size:12px;font-weight:900;flex:0 0 18px}.am-volume-table td:last-child{width:142px;padding-left:22px!important;padding-right:22px!important;text-align:center}.am-volume-add{display:inline-flex!important;align-items:center;justify-content:center;min-width:98px;margin:0 auto!important}
@media(max-width:767px){.am-delivery-estimate{font-size:14px;margin-bottom:9px}.am-volume-table td:last-child{width:126px;padding-left:16px!important;padding-right:16px!important}.am-volume-add{min-width:88px}}

/* Entrega estimada y prueba social */
.am-social-proof{display:inline-flex;align-items:center;gap:9px;margin:12px 0 16px;padding:7px 12px;border:2px solid var(--am-purple);border-radius:13px;color:#4b4b50;font-size:18px;font-weight:700;line-height:1.05;background:#fff}.am-social-proof strong{color:var(--am-purple);font-weight:800}.am-social-proof-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:6px;background:var(--am-purple);color:#fff;font-size:0;position:relative}.am-social-proof-icon:before{content:'🛍';font-size:19px;line-height:1}.am-delivery-estimate{display:flex;align-items:center;gap:16px;margin:15px 0 17px;padding:20px 24px;border-radius:20px;background:var(--am-purple);color:#fff;font-size:19px;font-weight:700;line-height:1.18;box-shadow:0 7px 18px rgba(93,38,150,.14)}.am-delivery-estimate strong{color:#fff;font-weight:850}.am-delivery-estimate-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 46px;border-radius:50%;background:#fff;color:var(--am-purple);font-size:30px;font-weight:800;line-height:1}.am-delivery-estimate+.am-product-ref{margin-top:4px}
@media(max-width:767px){.am-social-proof{font-size:15px;margin:10px 0 13px;padding:6px 10px}.am-social-proof-icon{width:27px;height:27px}.am-social-proof-icon:before{font-size:17px}.am-delivery-estimate{margin:12px 0 15px;padding:16px 17px;border-radius:16px;font-size:17px;gap:13px}.am-delivery-estimate-icon{width:40px;height:40px;flex-basis:40px;font-size:25px}.am-volume-table td:last-child{padding-left:14px;padding-right:14px;min-width:104px}.am-volume-add{padding:10px 13px!important;margin-left:2px}}


/* v1.4.0 — avisos compactos y precio principal destacado */
body.single-product .am-product-price .price,
body.single-product .am-product-price .woocommerce-Price-amount,
body.single-product .am-product-price ins .woocommerce-Price-amount,
body.single-product .am-product-price > .price {
  color: var(--am-purple) !important;
  font-size: clamp(36px, 3vw, 46px) !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
}
body.single-product .am-product-price del,
body.single-product .am-product-price del .woocommerce-Price-amount {
  font-size: 17px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}
body.single-product .am-product-price ins { text-decoration: none !important; }

/* Reducimos el tamaño de los avisos de entrega y compra reciente. */
body.single-product .am-social-proof {
  gap: 6px !important;
  margin: 8px 0 10px !important;
  padding: 4px 8px !important;
  border-width: 1px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
}
body.single-product .am-social-proof-icon {
  width: 21px !important;
  height: 21px !important;
  border-radius: 5px !important;
}
body.single-product .am-social-proof-icon:before { font-size: 13px !important; }
body.single-product .am-delivery-estimate {
  gap: 9px !important;
  margin: 9px 0 11px !important;
  padding: 10px 13px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}
body.single-product .am-delivery-estimate-icon {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  font-size: 18px !important;
}
@media(max-width:767px){
  body.single-product .am-product-price .price,
  body.single-product .am-product-price .woocommerce-Price-amount,
  body.single-product .am-product-price ins .woocommerce-Price-amount,
  body.single-product .am-product-price > .price { font-size: 34px !important; }
  body.single-product .am-social-proof { font-size: 12px !important; padding: 4px 7px !important; }
  body.single-product .am-social-proof-icon { width: 20px !important; height: 20px !important; }
  body.single-product .am-delivery-estimate { font-size: 13px !important; padding: 9px 11px !important; gap: 8px !important; }
  body.single-product .am-delivery-estimate-icon { width: 26px !important; height: 26px !important; flex-basis: 26px !important; font-size: 17px !important; }
}


/* Corrección responsive: la tabla de volumen nunca debe crear desplazamiento horizontal. */
html,body{overflow-x:hidden}
@media(max-width:767px){
  body.single-product .am-product-shell,
  body.single-product .am-product-main,
  body.single-product .am-product-left,
  body.single-product .am-product-right,
  body.single-product .am-product-summary,
  body.single-product .am-volume-discounts{max-width:100%!important;min-width:0!important}
  body.single-product .am-volume-discounts{margin-top:15px!important;border-radius:12px!important;overflow:hidden!important}
  body.single-product .am-volume-scroll{display:block!important;width:100%!important;max-width:100%!important;overflow:visible!important}
  body.single-product .am-volume-table{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;table-layout:auto!important;border:0!important}
  body.single-product .am-volume-table thead{display:none!important}
  body.single-product .am-volume-table tbody{display:block!important;width:100%!important}
  body.single-product .am-volume-table tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%!important;max-width:100%!important;padding:10px 12px!important;border-bottom:1px solid #ebe7ef!important;box-sizing:border-box!important}
  body.single-product .am-volume-table tbody tr:last-child{border-bottom:0!important}
  body.single-product .am-volume-table td{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:3px!important;width:auto!important;min-width:0!important;max-width:100%!important;padding:7px 8px!important;border:0!important;box-sizing:border-box!important;font-size:13px!important;line-height:1.2!important;overflow-wrap:anywhere!important}
  body.single-product .am-volume-table td:before{content:attr(data-label)!important;display:block!important;color:#625a6b!important;font-size:10px!important;font-weight:800!important;line-height:1.15!important;text-transform:uppercase!important;letter-spacing:.02em!important}
  body.single-product .am-volume-table td:nth-child(3){grid-column:1 / 2!important}
  body.single-product .am-volume-table td:last-child{grid-column:2 / 3!important;padding:7px 8px!important;align-items:stretch!important}
  body.single-product .am-volume-table td:last-child:before{display:none!important}
  body.single-product .am-volume-table .am-volume-unit-price{white-space:normal!important;font-size:16px!important}
  body.single-product .am-volume-add{display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:11px 8px!important;border-radius:999px!important;font-size:13px!important;box-sizing:border-box!important}
  body.single-product .am-volume-note,
  body.single-product .am-volume-variation-message{padding:12px!important;font-size:12px!important;line-height:1.35!important}
}
